def vp_start_gui(): '''Starting point when module is the main routine.''' global val, w, root root = Tk() root.title('Login | SAT') geom = "507x314+65+217" root.geometry(geom) w = Login (root) Login_Screen_support.init(root, w) root.mainloop()
def create_Login(root, param=None): '''Starting point when module is imported by another program.''' global w, w_win, rt rt = root w = Toplevel (root) w.title('Login') geom = "507x314+65+217" w.geometry(geom) w_win = Login (w) Login_Screen_support.init(w, w_win, param) return w_win