Exemplo n.º 1
0
 def description_dialog(self, screen):
     from uix.dialogs.label_dialog import LabelDialog
     text = screen.message
     def callback(text):
         screen.message = text
     d = LabelDialog(_('Enter description'), text, callback)
     d.open()
Exemplo n.º 2
0
 def description_dialog(self, screen):
     from uix.dialogs.label_dialog import LabelDialog
     text = screen.message
     def callback(text):
         screen.message = text
     d = LabelDialog(_('Enter description'), text, callback)
     d.open()
Exemplo n.º 3
0
 def create_wallet_dialog(self, l):
     from uix.dialogs.label_dialog import LabelDialog
     def f(text):
         if text:
             l.text = text
     d = LabelDialog(_('Enter wallet name'), '', f)
     d.open()
Exemplo n.º 4
0
    def create_wallet_dialog(self, l):
        from uix.dialogs.label_dialog import LabelDialog

        def f(text):
            if text:
                l.text = text

        d = LabelDialog(_('Enter wallet name'), '', f)
        d.open()