Did I find the right examples for you? yes no

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/s/a/sat-0.4.1/frontends/src/primitivus/status.py   sat(Download)
    def onStatusClick(self, sender=None):
        pop_up_widget = sat_widgets.InputDialog(_('Set your status'), _('New status'), default_txt=self.status.get_text(),
                                                cancel_cb=lambda dummy: self.host.removePopUp, ok_cb=self.onChange)
        self.host.showPopUp(pop_up_widget)
 

src/s/a/sat-0.4.1/frontends/src/primitivus/profile_manager.py   sat(Download)
from sat.core.i18n import _
import urwid
from urwid_satext.sat_widgets import AdvancedEdit,Password,List,InputDialog,ConfirmDialog,Alert,FocusFrame
from sat.tools.jid import JID
 
    def onNewProfile(self, e):
        pop_up_widget = InputDialog(_("New profile"), _("Please enter a new profile name"), cancel_cb=self.cancelDialog, ok_cb=self.newProfile)
        self.host.showPopUp(pop_up_widget)
 
    def onDeleteProfile(self, e):