Package teamwork :: Package widgets :: Package PsychGUI :: Module RadioBox
[hide private]
[frames] | no frames]

Source Code for Module teamwork.widgets.PsychGUI.RadioBox

 1  from Tkinter import * 
 2  import Pmw 
 3   
4 -class Rbox(Pmw.RadioSelect):
5
6 - def disable(self):
7 for index in range(self.numbuttons()): 8 self.button(index).configure(state=DISABLED)
9
10 - def enable(self):
11 for index in range(self.numbuttons()): 12 self.button(index).configure(state=NORMAL)
13