(self, widget)
get the text entered in Gtk.Entry
get the text entered in Gtk.Entry
get the text entered in Gtk . Entry
def _on_entry_activated (self, widget):
        # pylint: disable-msg=W0613
        """get the text entered in Gtk.Entry"""
        entry = self._entry.get_text ()
        label = self._label.get_text ()
        if entry == '':
            self._custom = False
            self.set_text (self._autotext)
        elif entry != label:
            self._custom = True
            self._label.set_text (entry)
        self._entry_to_label (None, None)
def _on_entry_activated ( self , widget ) : # pylint: disable-msg=W0613 entry = self . _entry . get_text ( ) label = self . _label . get_text ( ) if entry == '' : self . _custom = False self . set_text ( self . _autotext ) elif entry != label : self . _custom = True self . _label . set_text ( entry ) self . _entry_to_label ( None , None )