Changeset 450ae05 in sasview
- Timestamp:
- May 11, 2011 10:32:07 AM (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:
- 2b693a2
- Parents:
- b92cbf61
- Location:
- guiframe
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/events.py
ra07e72f r450ae05 16 16 #slicer event 17 17 (SlicerEvent, EVT_SLICER) = wx.lib.newevent.NewEvent() 18 ## event that that destroy a page associate with Data1D removed from the graph19 (RemoveDataEvent, EVT_REMOVE_DATA) = wx.lib.newevent.NewEvent()20 18 ##event that allow to add more that to the same plot 21 19 (AddManyDataEvent, EVT_ADD_MANY_DATA) = wx.lib.newevent.NewEvent() -
guiframe/local_perspectives/plotting/Plotter1D.py
rad1e49c r450ae05 26 26 from sans.guiframe.events import NewPlotEvent 27 27 from sans.guiframe.events import SlicerEvent 28 from sans.guiframe.events import RemoveDataEvent29 28 from sans.guiframe.events import PanelOnFocusEvent 30 29 from sans.guiframe.events import EVT_NEW_LOADED_DATA … … 180 179 self.graph.render(self) 181 180 self.subplot.figure.canvas.draw_idle() 182 event = RemoveDataEvent(data=data)183 wx.PostEvent(self.parent, event)184 181 if len(self.graph.plottables) == 0: 185 182 #onRemove: graph is empty must be the panel must be destroyed
Note: See TracChangeset
for help on using the changeset viewer.