コード例 #1
0
def vp_start_gui():
    '''Starting point when module is the main routine.'''
    global val, w, root
    root = Tk()
    root.title('Diff_Eq_Solver')
    root.geometry('800x600+305+102')
    GUI_Layout_1_support.set_Tk_var()
    w = Diff_Eq_Solver (root)
    GUI_Layout_1_support.init(root, w)
    root.mainloop()
コード例 #2
0
def create_Diff_Eq_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('Diff_Eq_Solver')
    w.geometry('800x600+305+102')
    GUI_Layout_1_support.set_Tk_var()
    w_win = Diff_Eq_Solver (w)
    GUI_Layout_1_support.init(w, w_win, param)
    return w_win