Package grc.Actions


Functions

def get_action_from_name

Variables

string APPLICATION_INITIALIZE = 'app init'
string APPLICATION_QUIT = 'app quit'
string PARAM_MODIFY = 'param modify'
string BLOCK_MOVE = 'block move'
string BLOCK_ROTATE_LEFT = 'block rotate left'
string BLOCK_ROTATE_RIGHT = 'block rotate right'
string BLOCK_PARAM_MODIFY = 'block param modify'
string BLOCK_INC_TYPE = 'block increment type'
string BLOCK_DEC_TYPE = 'block decrement type'
string BLOCK_ENABLE = 'block enable'
string BLOCK_DISABLE = 'block disable'
string BLOCK_CUT = 'block cut'
string BLOCK_COPY = 'block copy'
string BLOCK_PASTE = 'block paste'
string PORT_CONTROLLER_INC = 'port controller increment'
string PORT_CONTROLLER_DEC = 'port controller decrement'
string ELEMENT_CREATE = 'element create'
string ELEMENT_DELETE = 'element delete'
string ELEMENT_SELECT = 'element select'
string NOTHING_SELECT = 'nothing select'
string FLOW_GRAPH_OPEN = 'flow graph open'
string FLOW_GRAPH_UNDO = 'flow graph undo'
string FLOW_GRAPH_REDO = 'flow graph redo'
string FLOW_GRAPH_SAVE = 'flow graph save'
string FLOW_GRAPH_SAVE_AS = 'flow graph save as'
string FLOW_GRAPH_CLOSE = 'flow graph close'
string FLOW_GRAPH_NEW = 'flow graph new'
string FLOW_GRAPH_GEN = 'flow graph gen'
string FLOW_GRAPH_EXEC = 'flow graph exec'
string FLOW_GRAPH_KILL = 'flow graph kill'
string FLOW_GRAPH_SCREEN_CAPTURE = 'flow graph screen capture'
string ABOUT_WINDOW_DISPLAY = 'about window display'
string HOTKEYS_WINDOW_DISPLAY = 'hotkeys window display'
string PREFS_WINDOW_DISPLAY = 'prefs window display'
tuple ACTIONS_LIST
tuple ACTIONS_DICT = dict((action.get_name(), action) for action in ACTIONS_LIST)


Function Documentation

def grc.Actions.get_action_from_name (   action_name  ) 

Retrieve the action from the action list. Search the list and find an action with said name.

Parameters:
action_name the action name(string)
Exceptions:
KeyError bad action name
Returns:
a gtk action object

Definition at line 98 of file Actions.py.


Variable Documentation

string grc::Actions.ABOUT_WINDOW_DISPLAY = 'about window display' [static]

Definition at line 62 of file Actions.py.

tuple grc::Actions.ACTIONS_DICT = dict((action.get_name(), action) for action in ACTIONS_LIST) [static]

Definition at line 96 of file Actions.py.

tuple grc::Actions.ACTIONS_LIST [static]

Initial value:

(
        gtk.Action(FLOW_GRAPH_NEW, '_New', 'Create a new flow graph', 'gtk-new'),
        gtk.Action(FLOW_GRAPH_OPEN, '_Open', 'Open an existing flow graph', 'gtk-open'),
        gtk.Action(FLOW_GRAPH_SAVE, '_Save', 'Save the current flow graph', 'gtk-save'),
        gtk.Action(FLOW_GRAPH_SAVE_AS, 'Save _As', 'Save the current flow graph as...', 'gtk-save-as'),
        gtk.Action(FLOW_GRAPH_CLOSE, '_Close', 'Close the current flow graph', 'gtk-close'),
        gtk.Action(APPLICATION_QUIT, '_Quit', 'Quit program', 'gtk-quit'),
        gtk.Action(FLOW_GRAPH_UNDO, '_Undo', 'Undo a change to the flow graph', 'gtk-undo'),
        gtk.Action(FLOW_GRAPH_REDO, '_Redo', 'Redo a change to the flow graph', 'gtk-redo'),
        gtk.Action(ELEMENT_DELETE, '_Delete', 'Delete the selected blocks', 'gtk-delete'),
        gtk.Action(BLOCK_ROTATE_LEFT, 'Rotate _Left', 'Rotate the selected blocks 90 degrees', 'gtk-go-back'),
        gtk.Action(BLOCK_ROTATE_RIGHT, 'Rotate _Right', 'Rotate the selected blocks -90 degrees', 'gtk-go-forward'),
        gtk.Action(BLOCK_PARAM_MODIFY, '_Properties', 'Modify params for the selected block', 'gtk-properties'),
        gtk.Action(BLOCK_ENABLE, 'E_nable', 'Enable the selected blocks', 'gtk-connect'),
        gtk.Action(BLOCK_DISABLE, 'D_isable', 'Disable the selected blocks', 'gtk-disconnect'),
        gtk.Action(BLOCK_CUT, 'Cu_t', 'Cut', 'gtk-cut'),
        gtk.Action(BLOCK_COPY, '_Copy', 'Copy', 'gtk-copy'),
        gtk.Action(BLOCK_PASTE, '_Paste', 'Paste', 'gtk-paste'),
        gtk.Action(PREFS_WINDOW_DISPLAY, '_Preferences', 'Configure Preferences', 'gtk-preferences'),
        gtk.Action(ABOUT_WINDOW_DISPLAY, '_About', 'About this program', 'gtk-about'),
        gtk.Action(HOTKEYS_WINDOW_DISPLAY, '_HotKeys', 'Hot Keys', 'gtk-info'),
        gtk.Action(FLOW_GRAPH_GEN, '_Generate', 'Generate the flow graph', 'gtk-convert'),
        gtk.Action(FLOW_GRAPH_EXEC, '_Execute', 'Execute the flow graph', 'gtk-execute'),
        gtk.Action(FLOW_GRAPH_KILL, '_Kill', 'Kill the flow graph', 'gtk-stop'),
        gtk.Action(FLOW_GRAPH_SCREEN_CAPTURE, 'S_creen Capture', 'Create a screen capture of the flow graph', 'gtk-print'),
)

Definition at line 69 of file Actions.py.

string grc::Actions.APPLICATION_INITIALIZE = 'app init' [static]

Definition at line 31 of file Actions.py.

string grc::Actions.APPLICATION_QUIT = 'app quit' [static]

Definition at line 32 of file Actions.py.

string grc::Actions.BLOCK_COPY = 'block copy' [static]

Definition at line 43 of file Actions.py.

string grc::Actions.BLOCK_CUT = 'block cut' [static]

Definition at line 42 of file Actions.py.

string grc::Actions.BLOCK_DEC_TYPE = 'block decrement type' [static]

Definition at line 39 of file Actions.py.

string grc::Actions.BLOCK_DISABLE = 'block disable' [static]

Definition at line 41 of file Actions.py.

string grc::Actions.BLOCK_ENABLE = 'block enable' [static]

Definition at line 40 of file Actions.py.

string grc::Actions.BLOCK_INC_TYPE = 'block increment type' [static]

Definition at line 38 of file Actions.py.

string grc::Actions.BLOCK_MOVE = 'block move' [static]

Definition at line 34 of file Actions.py.

string grc::Actions.BLOCK_PARAM_MODIFY = 'block param modify' [static]

Definition at line 37 of file Actions.py.

string grc::Actions.BLOCK_PASTE = 'block paste' [static]

Definition at line 44 of file Actions.py.

string grc::Actions.BLOCK_ROTATE_LEFT = 'block rotate left' [static]

Definition at line 35 of file Actions.py.

string grc::Actions.BLOCK_ROTATE_RIGHT = 'block rotate right' [static]

Definition at line 36 of file Actions.py.

string grc::Actions.ELEMENT_CREATE = 'element create' [static]

Definition at line 47 of file Actions.py.

string grc::Actions.ELEMENT_DELETE = 'element delete' [static]

Definition at line 48 of file Actions.py.

string grc::Actions.ELEMENT_SELECT = 'element select' [static]

Definition at line 49 of file Actions.py.

string grc::Actions.FLOW_GRAPH_CLOSE = 'flow graph close' [static]

Definition at line 56 of file Actions.py.

string grc::Actions.FLOW_GRAPH_EXEC = 'flow graph exec' [static]

Definition at line 59 of file Actions.py.

string grc::Actions.FLOW_GRAPH_GEN = 'flow graph gen' [static]

Definition at line 58 of file Actions.py.

string grc::Actions.FLOW_GRAPH_KILL = 'flow graph kill' [static]

Definition at line 60 of file Actions.py.

string grc::Actions.FLOW_GRAPH_NEW = 'flow graph new' [static]

Definition at line 57 of file Actions.py.

string grc::Actions.FLOW_GRAPH_OPEN = 'flow graph open' [static]

Definition at line 51 of file Actions.py.

string grc::Actions.FLOW_GRAPH_REDO = 'flow graph redo' [static]

Definition at line 53 of file Actions.py.

string grc::Actions.FLOW_GRAPH_SAVE = 'flow graph save' [static]

Definition at line 54 of file Actions.py.

string grc::Actions.FLOW_GRAPH_SAVE_AS = 'flow graph save as' [static]

Definition at line 55 of file Actions.py.

string grc::Actions.FLOW_GRAPH_SCREEN_CAPTURE = 'flow graph screen capture' [static]

Definition at line 61 of file Actions.py.

string grc::Actions.FLOW_GRAPH_UNDO = 'flow graph undo' [static]

Definition at line 52 of file Actions.py.

string grc::Actions.HOTKEYS_WINDOW_DISPLAY = 'hotkeys window display' [static]

Definition at line 63 of file Actions.py.

string grc::Actions.NOTHING_SELECT = 'nothing select' [static]

Definition at line 50 of file Actions.py.

string grc::Actions.PARAM_MODIFY = 'param modify' [static]

Definition at line 33 of file Actions.py.

string grc::Actions.PORT_CONTROLLER_DEC = 'port controller decrement' [static]

Definition at line 46 of file Actions.py.

string grc::Actions.PORT_CONTROLLER_INC = 'port controller increment' [static]

Definition at line 45 of file Actions.py.

string grc::Actions.PREFS_WINDOW_DISPLAY = 'prefs window display' [static]

Definition at line 64 of file Actions.py.


Generated on Sat Aug 23 02:00:11 2008 for GNU Radio Companion by  doxygen 1.5.4