- Timestamp:
- 09/09/10 22:19:48 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/casatoolbar.py
r1914 r1921 211 211 text='notation', 212 212 command=self.modify_note) 213 self.bPrev=self._NewButton(master=self,214 text='- page',215 command=self.prev_page)213 #self.bPrev=self._NewButton(master=self, 214 # text='- page', 215 # command=self.prev_page) 216 216 self.bNext=self._NewButton(master=self, 217 217 text='+ page', 218 218 command=self.next_page) 219 219 if os.uname()[0] != 'Darwin': 220 self.bPrev.config(padx=5)220 #self.bPrev.config(padx=5) 221 221 self.bNext.config(padx=5) 222 222 self.bQuit=self._NewButton(master=self, … … 299 299 self.bStat.config(relief='raised', state=Tk.DISABLED) 300 300 self.bSpec.config(relief='raised', state=Tk.DISABLED) 301 self.bPrev.config(state=Tk.DISABLED)301 #self.bPrev.config(state=Tk.DISABLED) 302 302 #self.bNext.config(state=Tk.DISABLED) 303 303 self.button=False … … 312 312 313 313 def enable_prev(self): 314 self.bPrev.config(state=Tk.NORMAL) 314 #self.bPrev.config(state=Tk.NORMAL) 315 pass 315 316 316 317 def disable_prev(self): 317 self.bPrev.config(state=Tk.DISABLED) 318 #self.bPrev.config(state=Tk.DISABLED) 319 pass 318 320 319 321 def delete_bar(self):
Note:
See TracChangeset
for help on using the changeset viewer.