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 = 368
  MENU_FILE_CLOSE = 369
  MENU_FILE_CLOSE_ALL = 370
  MENU_FILE_OPEN = 371
  MENU_FILE_SAVE = 372
  MENU_FILE_SAVE_AS = 373
  MENU_FILE_EXPORT_BMRB = 374
  MENU_FILE_EXIT = 375
  MENU_VIEW_CONTROLLER = 376
  MENU_VIEW_SPIN_VIEW = 377
  MENU_VIEW_RESULTS = 378
  MENU_VIEW_PIPE_EDIT = 379
  MENU_VIEW_PROMPT = 380
  MENU_TOOLS_FORMAT = 381
  MENU_TOOLS_TEST_SUITE = 382
  MENU_TOOLS_TEST_SUITE_ALL = 383
  MENU_TOOLS_TEST_SUITE_SYS = 384
  MENU_TOOLS_TEST_SUITE_UNIT = 385
  MENU_TOOLS_TEST_SUITE_GUI = 386
  MENU_TOOLS_TEST_SUITE_VERIFICATION = 387
  MENU_TOOLS_SYS_INFO = 388
  MENU_HELP_MANUAL = 389
  MENU_HELP_MAIL = 390
  MENU_HELP_REFS = 391
  MENU_HELP_GPL = 392
  MENU_HELP_ABOUT = 393
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.