(self, widget, event)
Handle keypresses on the entry widget
Handle keypresses on the entry widget
Handle keypresses on the entry widget
def groupentry_keypress(self, widget, event):
        """Handle keypresses on the entry widget"""
        key = Gdk.keyval_name(event.keyval)
        if key == 'Escape':
            self.groupentry_cancel(None, None)
def groupentry_keypress ( self , widget , event ) : key = Gdk . keyval_name ( event . keyval ) if key == 'Escape' : self . groupentry_cancel ( None , None )