Changeset 0d9dae8 in sasview for guiframe/local_perspectives/plotting/ring.py
- Timestamp:
- Feb 2, 2009 11:51:27 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:
- 2cf2b87
- Parents:
- 00d083c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/local_perspectives/plotting/ring.py
rffd23b5 r0d9dae8 8 8 9 9 # Debug printout 10 from config import printEVT 10 import math 11 import wx 12 from copy import deepcopy 13 11 14 from BaseInteractor import _BaseInteractor 12 from copy import deepcopy 13 import math 14 15 from Plotter1D import AddPlotEvent 16 import SlicerParameters 17 import wx 15 from sans.guicomm.events import NewPlotEvent, StatusEvent,SlicerParameterEvent,EVT_SLICER_PARS 18 16 19 17 class AnnulusInteractor(_BaseInteractor): … … 43 41 44 42 # Bind to slice parameter events 45 self.base.parent.Bind( SlicerParameters.EVT_SLICER_PARS, self._onEVT_SLICER_PARS)43 self.base.parent.Bind(EVT_SLICER_PARS, self._onEVT_SLICER_PARS) 46 44 47 45 … … 76 74 self.inner_circle.clear() 77 75 #self.base.connect.disconnect() 78 self.base.parent.Unbind( SlicerParameters.EVT_SLICER_PARS)76 self.base.parent.Unbind(EVT_SLICER_PARS) 79 77 80 78 def update(self): … … 170 168 171 169 # Post paramters 172 event = SlicerParameter s.SlicerParameterEvent()170 event = SlicerParameterEvent() 173 171 event.type = self.__class__.__name__ 174 172 event.params = self.get_params()
Note: See TracChangeset
for help on using the changeset viewer.