Changeset bf4402c3 in sasview for guiframe/gui_manager.py
- Timestamp:
- Jan 31, 2011 2:04:51 PM (13 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- cbf22e5
- Parents:
- 8994b6b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/gui_manager.py
r6db811e rbf4402c3 104 104 self._help_menu = None 105 105 self._tool_menu = None 106 self._plugin_menu_list = [] 106 107 ## Find plug-ins 107 108 # Modify this so that we can specify the directory to look into … … 112 113 ## List of panels 113 114 self.panels = {} 114 115 ## Next available ID for wx gui events116 #TODO: No longer used - remove all calls to this117 self.next_id = 20000118 115 119 116 # Default locations … … 143 140 Store reference to the last panel on focus 144 141 """ 145 print "set_panel_on_focus", event.panel146 142 self.panel_on_focus = event.panel 147 143 if self.panel_on_focus is not None and self._data_panel is not None: … … 515 511 for item in self.plugins: 516 512 if item != self._plotting_plugin: 517 for ( self.next_id,menu, name) in \518 item.populate_menu(self .next_id, self):513 for (menu, name) in \ 514 item.populate_menu(self): 519 515 self._menubar.Append(menu, name) 520 516 … … 567 563 self._window_menu = wx.Menu() 568 564 if self._plotting_plugin is not None: 569 for (self.next_id, menu, name) in \ 570 self._plotting_plugin.populate_menu(self.next_id, self): 565 for (menu, name) in self._plotting_plugin.populate_menu(self): 571 566 self._window_menu.AppendSubMenu(menu, name) 572 567 self._window_menu.AppendSeparator()
Note: See TracChangeset
for help on using the changeset viewer.