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 = wx.NewId()
  MENU_FILE_CLOSE = wx.NewId()
  MENU_FILE_CLOSE_ALL = wx.NewId()
  MENU_FILE_OPEN = wx.NewId()
  MENU_FILE_SAVE = wx.NewId()
  MENU_FILE_SAVE_AS = wx.NewId()
  MENU_FILE_EXPORT_BMRB = wx.NewId()
  MENU_FILE_EXIT = wx.NewId()
  MENU_VIEW_CONTROLLER = wx.NewId()
  MENU_VIEW_SPIN_VIEW = wx.NewId()
  MENU_VIEW_RESULTS = wx.NewId()
  MENU_VIEW_PIPE_EDIT = wx.NewId()
  MENU_VIEW_PROMPT = wx.NewId()
  MENU_TOOLS_FORMAT = wx.NewId()
  MENU_TOOLS_TEST_SUITE = wx.NewId()
  MENU_TOOLS_TEST_SUITE_ALL = wx.NewId()
  MENU_TOOLS_TEST_SUITE_SYS = wx.NewId()
  MENU_TOOLS_TEST_SUITE_UNIT = wx.NewId()
  MENU_TOOLS_TEST_SUITE_GUI = wx.NewId()
  MENU_TOOLS_SYS_INFO = wx.NewId()
  MENU_HELP_MANUAL = wx.NewId()
  MENU_HELP_MAIL = wx.NewId()
  MENU_HELP_REFS = wx.NewId()
  MENU_HELP_GPL = wx.NewId()
  MENU_HELP_ABOUT = wx.NewId()
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.