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
 
update_menus(self, event)
Update the menus dependent on the relax state.
source code
Class Variables [hide private]
  MENU_FILE_NEW = 335
  MENU_FILE_CLOSE = 336
  MENU_FILE_CLOSE_ALL = 337
  MENU_FILE_OPEN = 338
  MENU_FILE_SAVE = 339
  MENU_FILE_SAVE_AS = 340
  MENU_FILE_EXPORT_BMRB = 341
  MENU_FILE_EXIT = 342
  MENU_VIEW_CONTROLLER = 343
  MENU_VIEW_SPIN_VIEW = 344
  MENU_VIEW_RESULTS = 345
  MENU_VIEW_PIPE_EDIT = 346
  MENU_VIEW_PROMPT = 347
  MENU_TOOLS_FORMAT = 348
  MENU_TOOLS_TEST_SUITE = 349
  MENU_TOOLS_TEST_SUITE_ALL = 350
  MENU_TOOLS_TEST_SUITE_SYS = 351
  MENU_TOOLS_TEST_SUITE_UNIT = 352
  MENU_TOOLS_TEST_SUITE_GUI = 353
  MENU_TOOLS_SYS_INFO = 354
  MENU_HELP_MANUAL = 355
  MENU_HELP_MAIL = 356
  MENU_HELP_REFS = 357
  MENU_HELP_GPL = 358
  MENU_HELP_ABOUT = 359
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.