Reworked actions api and actions objects:
authorJosh Blum <josh@joshknows.com>
Sun, 13 Sep 2009 09:14:27 +0000 (02:14 -0700)
committerJosh Blum <josh@joshknows.com>
Sun, 13 Sep 2009 09:14:27 +0000 (02:14 -0700)
commit91a83e6f1fda6483bfd4b449a1ef7903a00af0ab
treec51fb1268b03ced1be78f7498e47432900aa8bf1
parent9dd47b6732c9d6a94fc0e15717d7332fc6c8270f
Reworked actions api and actions objects:
Created standardized Action object for all gui actions.
Actions module constants are actual Action objects (not strings).
Keypresses, labels, tooltips, stock icons, etc all associate in the Action constructor.
Usage of the action's signaling call () eliminated the need for a reference to handle_states.
grc/gui/ActionHandler.py
grc/gui/Actions.py
grc/gui/Bars.py
grc/gui/FlowGraph.py
grc/gui/MainWindow.py
grc/gui/NotebookPage.py
grc/gui/StateCache.py