Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/s/a/sat-0.4.1/frontends/src/primitivus/status.py   sat(Download)
    def onPresenceClick(self, sender=None):
        options = [commonConst.PRESENCE[presence] for presence in commonConst.PRESENCE]
        list_widget = sat_widgets.GenericList(options=options, option_type=sat_widgets.ClickableText, on_click=self.onChange)
        decorated = sat_widgets.LabelLine(list_widget, sat_widgets.SurroundedText(_('Set your presence')))
        self.host.showPopUp(decorated)

src/s/a/sat-0.4.1/frontends/src/primitivus/chat.py   sat(Download)
    def __getDecoration(self, widget):
        return sat_widgets.LabelLine(widget, self.__getSurrendedText())
 
    def __getSurrendedText(self):
        """Get the text to be displayed as the dialog title."""

src/s/a/sat-0.4.1/frontends/src/primitivus/xmlui.py   sat(Download)
 
        self._dest = show_type
        decorated = sat_widgets.LabelLine(self, sat_widgets.SurroundedText(self.title or ''))
        if show_type == 'popup':
            self.host.showPopUp(decorated, valign=valign)

src/s/a/sat-0.4.1/frontends/src/primitivus/contact_list.py   sat(Download)
        self.host.status_bar = StatusBar(host)
        self.frame = urwid.Frame(self.__buildList(), None, self.host.status_bar)
        self.main_widget = sat_widgets.LabelLine(self.frame, sat_widgets.SurroundedText(_("Contacts")))
        urwid.WidgetWrap.__init__(self, self.main_widget)
        if on_click: