(self)
return self.code == curses.BUTTON1_CLICKED
True if code is BUTTON1_CLICKED
True if code is BUTTON1_CLICKED
True if code is BUTTON1_CLICKED
def button1clicked(self):
        """True if code is BUTTON1_CLICKED"""

        return self.code == curses.BUTTON1_CLICKED
def button1clicked ( self ) : return self . code == curses . BUTTON1_CLICKED