Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  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 __buildPresentList(self):
        self.present_wid = sat_widgets.GenericList([],option_type = sat_widgets.ClickableText, on_click=self._presentClicked)
        return self.present_wid
 
    def __appendPresentPanel(self):