- Timestamp:
- 05/17/11 18:14:58 (14 years ago)
- Location:
- trunk/python
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/asaplotgui.py
r2149 r2170 37 37 # Simply instantiating this is enough to get a working toolbar. 38 38 self.figmgr = FigureManagerTkAgg(self.canvas, 1, self.window) 39 self. window.wm_title('ASAP Plotter - Tk')39 self._set_window_title('ASAP Plotter - Tk') 40 40 41 41 self.events = {'button_press':None, … … 84 84 """ 85 85 self.window.wm_withdraw() 86 87 def _set_window_title(self,title): 88 # Set title to main window title bar 89 self.window.wm_title(title) -
trunk/python/asaplotgui_qt4.py
r2152 r2170 34 34 self.figmgr = FigureManagerQTAgg(self.canvas, 1) 35 35 self.window = self.figmgr.window 36 self. window.setWindowTitle('ASAP Plotter - Qt4')36 self._set_window_title('ASAP Plotter - Qt4') 37 37 # register this plot to matplotlib 38 38 _pylab_helpers.Gcf.set_active(self.figmgr) … … 100 100 """ 101 101 self.window.hide() 102 103 def _set_window_title(self,title): 104 # Set title to main window title bar 105 self.window.setWindowTitle(title) -
trunk/python/customgui_base.py
r2155 r2170 4 4 from matplotlib.patches import Rectangle 5 5 from asap.parameters import rcParams 6 from asap import scantable 6 7 from asap._asap import stmath 7 8 -
trunk/python/customgui_tkagg.py
r2155 r2170 605 605 def select_region(self): 606 606 if not self.figmgr.toolbar.mode == '' or not self.button: return 607 self.figmgr.toolbar.set_message('select re ctangle regions')607 self.figmgr.toolbar.set_message('select regions: click at start and end channels') 608 608 if self.mode == 'region': 609 609 self.bRegion.config(relief='raised') … … 621 621 def select_panel(self): 622 622 if not self.figmgr.toolbar.mode == '' or not self.button: return 623 self.figmgr.toolbar.set_message('select panels')623 self.figmgr.toolbar.set_message('select spectra: click on subplots') 624 624 if self.mode == 'panel': 625 625 self.bPanel.config(relief='raised')
Note:
See TracChangeset
for help on using the changeset viewer.