def vp_start_gui(): '''Starting point when module is the main routine.''' global val, w, root root = Tk() root.title('再要你命3默写考试') geom = "600x450+701+296" root.geometry(geom) w = New_Toplevel_1 (root) ZYNM3k_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('再要你命3默写程序2.0') geom = "600x450+667+322" root.geometry(geom) w = New_Toplevel_1(root) ZYNM3k_support.init(root, w) root.mainloop()
def create_New_Toplevel_1(root, param=None): '''Starting point when module is imported by another program.''' global w, w_win, rt rt = root w = Toplevel (root) w.title('New_Toplevel_1') geom = "600x450+701+296" w.geometry(geom) w_win = New_Toplevel_1 (w) ZYNM3k_support.init(w, w_win, param) return w_win
def create_New_Toplevel_1(root, param=None): '''Starting point when module is imported by another program.''' global w, w_win, rt rt = root w = Toplevel(root) w.title('再要你命3默写程序2.0') geom = "600x450+667+322" w.geometry(geom) w_win = New_Toplevel_1(w) ZYNM3k_support.init(w, w_win, param) return w_win