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)
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)
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)