Пример #1
0
 def entry_dialog(self,
                  msg,
                  command=lambda: None,
                  on_cancel=lambda: None,
                  command_label=None):
     uu.entry_dialog(self.tk, self.frame, msg, command, on_cancel,
                     command_label)
Пример #2
0
def ask_pat(self, fun, command_label=None):
    global the_ui
    uu.entry_dialog(the_ui.tk,
                    self,
                    "Pattern:",
                    command=lambda s: do_ask_pat(fun, s),
                    command_label=command_label)
Пример #3
0
Файл: tk_ui.py Проект: odedp/ivy
 def entry_dialog(self, msg, command=lambda: None, on_cancel=lambda: None, command_label=None):
     uu.entry_dialog(self.tk, self.frame, msg, command, on_cancel, command_label)
Пример #4
0
def ask_pat(self,fun,command_label=None):
    global the_ui
    uu.entry_dialog(the_ui.tk,self,"Pattern:",command=lambda s: do_ask_pat(fun,s),command_label=command_label)