Package gui :: Module menu :: Class Menu
[hide private]
[frames] | no frames]

Class Menu

source code

The menu bar GUI class.

Instance Methods [hide private]
 
__init__(self, gui)
Build the menu bar.
source code
 
_create_menu(self, menu, entries)
Build the menu.
source code
 
_licence(self, event)
Show the GPL licence.
source code
 
_sys_info(self, event)
Show the full system information using the sys_info user function.
source code
 
_user_functions(self)
Build the user function sub-menu.
source code
 
update_menus(self, event)
Update the menus dependent on the relax state.
source code
Class Variables [hide private]
  MENU_FILE_NEW = 102
  MENU_FILE_CLOSE = 103
  MENU_FILE_CLOSE_ALL = 104
  MENU_FILE_OPEN = 105
  MENU_FILE_SAVE = 106
  MENU_FILE_SAVE_AS = 107
  MENU_FILE_EXIT = 108
  MENU_VIEW_CONTROLLER = 109
  MENU_VIEW_SPIN_VIEW = 110
  MENU_VIEW_RESULTS = 111
  MENU_VIEW_PIPE_EDIT = 112
  MENU_VIEW_PROMPT = 113
  MENU_TOOLS_FORMAT = 114
  MENU_TOOLS_TEST_SUITE = 115
  MENU_TOOLS_TEST_SUITE_ALL = 116
  MENU_TOOLS_TEST_SUITE_SYS = 117
  MENU_TOOLS_TEST_SUITE_UNIT = 118
  MENU_TOOLS_TEST_SUITE_GUI = 119
  MENU_TOOLS_SYS_INFO = 120
  MENU_HELP_MANUAL = 121
  MENU_HELP_MAIL = 122
  MENU_HELP_REFS = 123
  MENU_HELP_GPL = 124
  MENU_HELP_ABOUT_GUI = 125
  MENU_HELP_ABOUT = 126
Method Details [hide private]

_licence(self, event)

source code 

Show the GPL licence.

Parameters:
  • event (wx event) - The wx event.

_sys_info(self, event)

source code 

Show the full system information using the sys_info user function.

Parameters:
  • event (wx event) - The wx event.

update_menus(self, event)

source code 

Update the menus dependent on the relax state.

Parameters:
  • event (wx event) - The wx event.