Пример #1
0
def vp_start_gui():
    '''Starting point when module is the main routine.'''
    global val, w, root
    root = Tk()
    standard_support.set_Tk_var()
    top = New_Toplevel_1(root)
    standard_support.init(root, top)
    root.mainloop()
Пример #2
0
def create_New_Toplevel_1(root, *args, **kwargs):
    '''Starting point when module is imported by another program.'''
    global w, w_win, rt
    rt = root
    w = Toplevel(root)
    standard_support.set_Tk_var()
    top = New_Toplevel_1(w)
    standard_support.init(w, top, *args, **kwargs)
    return (w, top)
Пример #3
0
def create_New_Toplevel_1(root, *args, **kwargs):
    '''Starting point when module is imported by another program.'''
    global w, w_win, rt
    rt = root
    w = Toplevel (root)
    standard_support.set_Tk_var()
    top = New_Toplevel_1 (w)
    standard_support.init(w, top, *args, **kwargs)
    return (w, top)
Пример #4
0
def vp_start_gui():
    '''Starting point when module is the main routine.
       This class configures and populates the toplevel window'''
    global val, w, root
    root = Tk()
    standard_support.set_Tk_var()
    top = New_Toplevel_1 (root)
    standard_support.init(root, top)
    root.mainloop()
Пример #5
0
def vp_start_gui():
    '''Starting point when module is the main routine.'''
    global val, w, root
    root = Tk()
    root.title('New_Toplevel_1')
    root.geometry('600x716+650+150')
    standard_support.set_Tk_var()
    w = New_Toplevel_1 (root)
    standard_support.init(root, w)
    root.mainloop()
Пример #6
0
def vp_start_gui():
    '''Starting point when module is the main routine.'''
    global val, w, root
    root = Tk()
    root.title('New_Toplevel_1')
    root.geometry('600x716+650+150')
    standard_support.set_Tk_var()
    w = New_Toplevel_1(root)
    standard_support.init(root, w)
    root.mainloop()
Пример #7
0
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')
    w.geometry('600x716+650+150')
    standard_support.set_Tk_var()
    w_win = New_Toplevel_1 (w)
    standard_support.init(w, w_win, param)
    return w_win
Пример #8
0
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')
    w.geometry('600x716+650+150')
    standard_support.set_Tk_var()
    w_win = New_Toplevel_1(w)
    standard_support.init(w, w_win, param)
    return w_win