def __init__(self, label="", is_pressed=False, on_press=None):
        TwoStateController.__init__(self, is_pressed=is_pressed, on_press=on_press)
        Viewer.__init__(self)

        self.label = label

        # graphics
        self._label = None
        self._button = None
    def __init__(self, label="", is_pressed=False, on_press=None):
        TwoStateController.__init__(self,
                                    is_pressed=is_pressed,
                                    on_press=on_press)
        Viewer.__init__(self)

        self.label = label

        # graphics
        self._label = None
        self._button = None
 def delete(self):
     TwoStateController.delete(self)
     Viewer.delete(self)
 def delete(self):
     TwoStateController.delete(self)
     Viewer.delete(self)