Changeset 30ccad1 in sasview for sansguiframe/src/sans
- Timestamp:
- Sep 29, 2011 10:17:08 AM (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:
- 67cf696
- Parents:
- 62258ee
- Location:
- sansguiframe/src/sans/guiframe
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/gui_manager.py
r2e9d14c r30ccad1 160 160 IS_WIN = True 161 161 CLOSE_SHOW = True 162 TIME_FACTOR = 5 162 163 if sys.platform.count("win32")==0: 163 164 IS_WIN = False 165 TIME_FACTOR = 5 164 166 if int(wx.__version__.split('.')[0]) == 2: 165 167 if int(wx.__version__.split('.')[1]) < 9: … … 273 275 self._idle_count = 0 274 276 self.schedule_full_draw_list = [] 275 self.idletimer = wx.CallLater( 1, self._onDrawIdle)277 self.idletimer = wx.CallLater(TIME_FACTOR, self._onDrawIdle) 276 278 277 279 self.batch_frame = GridFrame(parent=self) … … 1524 1526 self.on_set_plot_focus(self.panels[panel_id]) 1525 1527 self.show_panel(evt.GetId(), 'on') 1526 wx.CallLater(5 , self.set_schedule(True))1528 wx.CallLater(5*TIME_FACTOR, self.set_schedule(True)) 1527 1529 self.set_plot_unfocus() 1528 1530 … … 2927 2929 """ 2928 2930 # restart idle 2929 self.idletimer.Restart(55 , *args, **kwargs)2931 self.idletimer.Restart(55*TIME_FACTOR, *args, **kwargs) 2930 2932 2931 2933 -
sansguiframe/src/sans/guiframe/local_perspectives/plotting/Plotter1D.py
r5f15492 r30ccad1 559 559 sizedial = SizeDialog(None, -1, 'Change Marker Size') 560 560 if sizedial.ShowModal() == wx.ID_OK: 561 label = sizedial.getText() 561 try: 562 label = sizedial.getText() 563 selected_plot.markersize = int(label) 564 self._check_zoom_plot() 565 except: 566 msg = 'Symbol Size: Got an invalid Value.' 567 wx.PostEvent( self.parent, 568 StatusEvent(status= msg, info='error')) 562 569 sizedial.Destroy() 563 570 564 selected_plot.markersize = int(label)565 self._check_zoom_plot()566 #self._onEVT_FUNC_PROPERTY()567 ## Set the view scale for all plots568 569 ## render the graph570 #self.graph.render(self)571 #self.subplot.figure.canvas.draw_idle()572 571 573 572
Note: See TracChangeset
for help on using the changeset viewer.