def vp_start_gui(): '''Starting point when module is the main routine.''' global val, w, root root = Tk() main_support.set_Tk_var() top = Data_Mining_Beta_Version(root) main_support.init(root, top) root.mainloop()
def vp_start_gui(): '''Starting point when module is the main routine.''' global val, w, root root = tk.Tk() main_support.set_Tk_var() top = mainTop (root) main_support.init(root, top) root.mainloop()
def create_Data_Mining_Beta_Version(root, *args, **kwargs): '''Starting point when module is imported by another program.''' global w, w_win, rt rt = root w = Toplevel(root) main_support.set_Tk_var() top = Data_Mining_Beta_Version(w) main_support.init(w, top, *args, **kwargs) return (w, top)
def vp_start_gui(): '''Starting point when module is the main routine.''' global val, w, sroot sroot = tk.Tk() sroot.eval('tk::PlaceWindow . center') main_support.set_Tk_var() top = Toplevel1(sroot) main_support.init(sroot, top) sroot.mainloop()
def vp_start_gui(): '''Starting point when module is the main routine.''' global val, w, root root = tk.Tk() #root.wm_attributes('-type', 'splash') main_support.set_Tk_var() top = Toplevel1(root) main_support.init(root, top) root.mainloop()
def create_mainTop(rt, *args, **kwargs): '''Starting point when module is imported by another module. Correct form of call: 'create_mainTop(root, *args, **kwargs)' .''' global w, w_win, root #rt = root root = rt w = tk.Toplevel (root) main_support.set_Tk_var() top = mainTop (w) main_support.init(w, top, *args, **kwargs) return (w, top)