Пример #1
0
def vp_start_gui():
    '''Starting point when module is the main routine.'''
    global val, w, root
    root = Tk()
    top = New_Toplevel_1 (root)
    popup_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)
    top = New_Toplevel_1 (w)
    popup_support.init(w, top, *args, **kwargs)
    return (w, top)
Пример #3
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()
    top = New_Toplevel_1 (root)
    popup_support.init(root, top)
    root.mainloop()
Пример #4
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)
    top = New_Toplevel_1 (w)
    popup_support.init(w, top, *args, **kwargs)
    return (w, top)