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