- Timestamp:
- Apr 27, 2011 12:02:02 PM (14 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:
- ecfcef6
- Parents:
- 61ffd1e
- Location:
- guiframe
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/gui_manager.py
rdb6ce6c r56d5562 631 631 self._mgr.RestoreMaximizedPane() 632 632 # Register for showing/hiding the panel 633 wx.EVT_MENU(self, ID, self. _on_view)633 wx.EVT_MENU(self, ID, self.on_view) 634 634 if p not in self.plot_panels.values(): 635 635 self.plot_panels[ID] = p … … 851 851 panel.window_caption, 852 852 "Show %s window" % panel.window_caption) 853 wx.EVT_MENU(self, int(item), self. _on_view)853 wx.EVT_MENU(self, int(item), self.on_view) 854 854 self._menubar.Append(self._window_menu, '&Window') 855 855 """ … … 1015 1015 self.sb.set_status(event=evt) 1016 1016 1017 def _on_view(self, evt):1017 def on_view(self, evt): 1018 1018 """ 1019 1019 A panel was selected to be shown. If it's not already -
guiframe/local_perspectives/plotting/plotting.py
rd264f0da r56d5562 294 294 295 295 if self.menu.IsChecked(event_id): 296 self.parent. _on_view(event)296 self.parent.on_view(event) 297 297 self.menu.Check(event_id, True) 298 298 else:
Note: See TracChangeset
for help on using the changeset viewer.