Changeset 2174 for trunk/python
- Timestamp:
- 05/18/11 15:09:53 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/customgui_tkagg.py
r2172 r2174 598 598 def modify_note(self): 599 599 if not self.figmgr.toolbar.mode == '': return 600 self.figmgr.toolbar.set_message('text: select a position/text')601 600 if self.mode == 'note': 602 601 self.bNote.config(relief='raised') … … 604 603 self.spec_show() 605 604 return 605 self.figmgr.toolbar.set_message('text: select a position/text') 606 606 self.bNote.config(relief='sunken') 607 607 self.bRegion.config(relief='raised') … … 613 613 def select_region(self): 614 614 if not self.figmgr.toolbar.mode == '' or not self.button: return 615 self.figmgr.toolbar.set_message('select regions: click at start and end channels')616 615 if self.mode == 'region': 617 616 self.bRegion.config(relief='raised') … … 619 618 self.spec_show() 620 619 return 620 self.figmgr.toolbar.set_message('select regions: click at start and end channels') 621 621 self.bNote.config(relief='raised') 622 622 self.bRegion.config(relief='sunken') … … 629 629 def select_panel(self): 630 630 if not self.figmgr.toolbar.mode == '' or not self.button: return 631 self.figmgr.toolbar.set_message('select spectra: click on subplots')632 631 if self.mode == 'panel': 633 632 self.bPanel.config(relief='raised') … … 635 634 self.spec_show() 636 635 return 636 self.figmgr.toolbar.set_message('select spectra: click on subplots') 637 637 self.bNote.config(relief='raised') 638 638 self.bRegion.config(relief='raised')
Note:
See TracChangeset
for help on using the changeset viewer.