def vp_start_gui():
    '''Starting point when module is the main routine.'''
    global val, w, root
    root = Tk()
    top = Toplevel (root)
    prototype2_support.init(root, top)
    root.mainloop()
Exemplo n.º 2
0
def vp_start_gui():
    '''Starting point when module is the main routine.'''
    global val, w, root
    root = Tk()
    top = Toplevel(root)
    prototype2_support.init(root, top)
    root.mainloop()
def create_Toplevel(root, *args, **kwargs):
    '''Starting point when module is imported by another program.'''
    global w, w_win, rt
    rt = root
    w = Toplevel (root)
    top = Toplevel (w)
    prototype2_support.init(w, top, *args, **kwargs)
    return (w, top)
Exemplo n.º 4
0
def create_Toplevel(root, *args, **kwargs):
    '''Starting point when module is imported by another program.'''
    global w, w_win, rt
    rt = root
    w = Toplevel(root)
    top = Toplevel(w)
    prototype2_support.init(w, top, *args, **kwargs)
    return (w, top)