(self, widget, event)
handle keypressed in Gtk.Entry
handle keypressed in Gtk.Entry
handle keypressed in Gtk . Entry
def _on_entry_keypress (self, widget, event):
        # pylint: disable-msg=W0613
        """handle keypressed in Gtk.Entry"""
        key = Gdk.keyval_name (event.keyval)
        if key == 'Escape':
            self._entry_to_label (None, None)
def _on_entry_keypress ( self , widget , event ) : # pylint: disable-msg=W0613 key = Gdk . keyval_name ( event . keyval ) if key == 'Escape' : self . _entry_to_label ( None , None )