def vp_start_gui(): '''Starting point when module is the main routine.''' global val, w, root root = Tk() top = New_Toplevel(root) test1_support.init(root, top) root.mainloop()
def vp_start_gui(): '''Starting point when module is the main routine.''' global val, w, root root = Tk() top = New_Toplevel_1 (root) test1_support.init(root, top) root.mainloop()
def create_New_Toplevel(root, *args, **kwargs): '''Starting point when module is imported by another program.''' global w, w_win, rt rt = root w = Toplevel(root) top = New_Toplevel(w) test1_support.init(w, top, *args, **kwargs) return (w, top)
def vp_start_gui(): '''Starting point when module is the main routine.''' global val, w, root root = tk.Tk() test1_support.set_Tk_var() top = Student(root) test1_support.init(root, top) root.mainloop()
def create_New_Toplevel_1(root, *args, **kwargs): '''Starting point when module is imported by another program.''' global w, w_win, rt rt = root w = Toplevel (root) top = New_Toplevel_1 (w) test1_support.init(w, top, *args, **kwargs) return (w, top)
def create_Student(root, *args, **kwargs): '''Starting point when module is imported by another program.''' global w, w_win, rt rt = root w = tk.Toplevel(root) test1_support.set_Tk_var() top = Student(w) test1_support.init(w, top, *args, **kwargs) return (w, top)