Changeset 63c7d85d in sasview
- Timestamp:
- May 12, 2009 9:35:26 AM (16 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:
- 848a2ef
- Parents:
- 1debb29
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/gui_manager.py
rf706f393 r63c7d85d 232 232 # Register to status events 233 233 self.Bind(EVT_STATUS, self._on_status_event) 234 #TODO: The following does not belong in gui_manager, it belong in the application code. 235 self.Bind(EVT_SLICER_PARS_UPDATE, self._onEVT_SLICER_PANEL) 236 237 238 def _onEVT_SLICER_PANEL(self, event): 239 """ 240 receive and event telling to update a panel with a name starting with 241 event.panel_name. this method update slicer panel for a given interactor. 242 @param event: contains type of slicer , paramaters for updating the panel 243 and panel_name to find the slicer 's panel concerned. 244 """ 245 for item in self.panels: 246 if self.panels[item].window_caption.startswith(event.panel_name): 247 self.panels[item].set_slicer(event.type, event.params) 248 self._mgr.Update() 249 break 234 250 235 251 236 def build_gui(self):
Note: See TracChangeset
for help on using the changeset viewer.