def vp_start_gui(): '''Starting point when module is the main routine.''' global val, w, root root = Tk() root.title('ComportConfig') root.geometry('295x163+633+117') # ComportConfig_support.set_Tk_var() w = ComportConfig (root) comportconfig_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('ComportConfig') root.geometry('295x163+633+117') # ComportConfig_support.set_Tk_var() w = ComportConfig(root) comportconfig_support.init(root, w) root.mainloop()
def create_ComportConfig(root, param=None): '''Starting point when module is imported by another program.''' global w, w_win, rt rt = root w = Toplevel (root) w.title('ComportConfig') w.geometry('295x163+633+117') # comportconfig_support.set_Tk_var() w_win = ComportConfig (w) comportconfig_support.init(w, w_win, param) return w_win
def create_ComportConfig(root, param=None): '''Starting point when module is imported by another program.''' global w, w_win, rt rt = root w = Toplevel(root) w.title('ComportConfig') w.geometry('295x163+633+117') # comportconfig_support.set_Tk_var() w_win = ComportConfig(w) comportconfig_support.init(w, w_win, param) return w_win