def vp_start_gui(): '''Starting point when module is the main routine.''' global val, w, root root = Tk() top = Complex_Example(root) complex_support.init(root, top) root.mainloop()
def create_Complex_Example(root, *args, **kwargs): '''Starting point when module is imported by another program.''' global w, w_win, rt rt = root w = Toplevel(root) top = Complex_Example(w) complex_support.init(w, top, *args, **kwargs) return (w, top)
def create_Complex_example(root, *args, **kwargs): '''Starting point when module is imported by another program.''' global w, w_win, rt rt = root w = Toplevel (root) complex_support.set_Tk_var() top = Complex_example (w) complex_support.init(w, top, *args, **kwargs) return (w, top)
def vp_start_gui(): '''Starting point when module is the main routine. This class configures and populates the toplevel window''' global val, w, root root = Tk() complex_support.set_Tk_var() top = Complex_example (root) complex_support.init(root, top) root.mainloop()
def create_Complex_example (root): '''Starting point when module is imported by another program.''' global w, w_win w = Toplevel (root) w.title('Complex_example') w.geometry('600x478+650+150') complex_support.set_Tk_var() w_win = Complex_example (w) complex_support.init(w, w_win) return w_win
def create_Complex_example(root): '''Starting point when module is imported by another program.''' global w, w_win w = Toplevel(root) w.title('Complex_example') w.geometry('600x478+650+150') complex_support.set_Tk_var() w_win = Complex_example(w) complex_support.init(w, w_win) return w_win
def vp_start_gui(): '''Starting point when module is the main routine.''' global val, w, root root = Tk() root.title('Complex_example') root.geometry('600x478+650+150') complex_support.set_Tk_var() #set_Tk_var() w = Complex_example (root) complex_support.init(root, w) root.mainloop()
def vp_start_gui(): '''Starting point when module is the main routine.''' global val, w, root root = Tk() root.title('Complex_example') root.geometry('600x478+650+150') complex_support.set_Tk_var() #set_Tk_var() w = Complex_example(root) complex_support.init(root, w) root.mainloop()