def vp_start_gui(): '''Starting point when module is the main routine.''' global val, w, root root = Tk() root.title('EDO_Solver') root.geometry('800x600+131+118') w = EDO_Solver (root) v03_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("EDO_Solver") root.geometry("800x600+131+118") w = EDO_Solver(root) v03_support.init(root, w) root.mainloop()
def create_EDO_Solver (root, param=None): '''Starting point when module is imported by another program.''' global w, w_win, rt rt = root w = Toplevel (root) w.title('EDO_Solver') w.geometry('800x600+131+118') w_win = EDO_Solver (w) v03_support.init(w, w_win, param) return w_win
def create_EDO_Solver (root, param=None): '''Starting point when module is imported by another program.''' global w, w_win, rt rt = root w = Toplevel (root) w.title('EDO_Solver') w.geometry('800x600+131+118') ##Main window is not resizable anymore root.resizable(width = FALSE, height= FALSE) w_win = EDO_Solver (w) v03_support.init(w, w_win, param) return w_win