def vp_start_gui(): '''Starting point when module is the main routine.''' global val, w, root w = Toplevel() top = CPU_Information(w) cpu_info_support.init(w, top) w.mainloop()
def vp_start_gui(): '''Starting point when module is the main routine.''' global val, w, root root = Tk() top = CPU_Information (root) cpu_info_support.init(root, top) root.mainloop()
def create_CPU_Information(root, *args, **kwargs): '''Starting point when module is imported by another program.''' global w, w_win, rt rt = root w = Toplevel (root) top = CPU_Information (w) cpu_info_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() top = CPU_Information (root) cpu_info_support.init(root, top) root.mainloop()
def create_CPU_Information(root, *args, **kwargs): '''Starting point when module is imported by another program.''' global w, w_win, rt rt = root w = Toplevel(root) top = CPU_Information(w) cpu_info_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() root.title('CPU_Information') root.geometry('498x433+1309+473') w = CPU_Information (root) cpu_info_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('CPU_Information') root.geometry('498x433+1309+473') w = CPU_Information(root) cpu_info_support.init(root, w) root.mainloop()
def create_CPU_Information (root, param=None): '''Starting point when module is imported by another program.''' global w, w_win, rt rt = root w = Toplevel (root) w.title('CPU_Information') w.geometry('498x433+1309+473') w_win = CPU_Information (w) cpu_info_support.init(w, w_win, param) return w_win
def create_CPU_Information(root, param=None): '''Starting point when module is imported by another program.''' global w, w_win, rt rt = root w = Toplevel(root) w.title('CPU_Information') w.geometry('498x433+1309+473') w_win = CPU_Information(w) cpu_info_support.init(w, w_win, param) return w_win