def __init__(self, text=None, group=None): ToggleButton.__init__(self, text) # Group, the RadioButton is attached to. self._group = None # List for attached RadioButtons. self._list = [] if group: group.add_button(self) else: self._list.append(self)
def __init__ (self, text=None, group=None): ToggleButton.__init__ (self, text) # Group, the RadioButton is attached to. self._group = None # List for attached RadioButtons. self._list = [] if group: group.add_button (self) else: self._list.append (self)
def __init__(self, text=None): ToggleButton.__init__(self, text)
def __init__ (self, text=None): ToggleButton.__init__ (self, text)