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 = 343
  MENU_FILE_CLOSE = 344
  MENU_FILE_CLOSE_ALL = 345
  MENU_FILE_OPEN = 346
  MENU_FILE_SAVE = 347
  MENU_FILE_SAVE_AS = 348
  MENU_FILE_EXPORT_BMRB = 349
  MENU_FILE_EXIT = 350
  MENU_VIEW_CONTROLLER = 351
  MENU_VIEW_SPIN_VIEW = 352
  MENU_VIEW_RESULTS = 353
  MENU_VIEW_PIPE_EDIT = 354
  MENU_VIEW_PROMPT = 355
  MENU_TOOLS_FORMAT = 356
  MENU_TOOLS_TEST_SUITE = 357
  MENU_TOOLS_TEST_SUITE_ALL = 358
  MENU_TOOLS_TEST_SUITE_SYS = 359
  MENU_TOOLS_TEST_SUITE_UNIT = 360
  MENU_TOOLS_TEST_SUITE_GUI = 361
  MENU_TOOLS_SYS_INFO = 362
  MENU_HELP_MANUAL = 363
  MENU_HELP_MAIL = 364
  MENU_HELP_REFS = 365
  MENU_HELP_GPL = 366
  MENU_HELP_ABOUT = 367
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.