def __init__(self,
              option_name,
              button_text="",
              is_selected=False,
              parent=None):
     Option.__init__(self, option_name, parent)
     Button.__init__(self, label=button_text, is_pressed=is_selected)
Example #2
0
 def __init__(self, text, is_pressed=False, on_press=None):
     Button.__init__(self, text, is_pressed, on_press)
     HighlightMixin.__init__(self)
Example #3
0
 def __init__(self, text, is_pressed=False, on_press=None):
     Button.__init__(self, text, is_pressed, on_press)
     FocusMixin.__init__(self)
 def __init__(self, text, is_pressed=False, on_press=None):
     Button.__init__(self, text, is_pressed, on_press)
     HighlightMixin.__init__(self)
Example #5
0
 def __init__(self, option_name, button_text="", is_selected=False, parent=None):
     Option.__init__(self, option_name, parent)
     Button.__init__(self, label=button_text, is_pressed=is_selected)