Exemplo n.º 1
0
def create_AP_PPT(root, param=None):
    '''Starting point when module is imported by another program.'''
    global w, w_win, rt
    rt = root
    w = Toplevel (root)
    w.title('AP_PPT')
    geom = "601x447+259+271"
    w.geometry(geom)
    AP_support.set_Tk_var()
    w_win = AP_PPT (w)
    AP_support.init(w, w_win, param)
    return w_win
Exemplo n.º 2
0
def vp_start_gui():
    '''Starting point when module is the main routine.'''
    global val, w, root
    root = Tk()
    root.title('AP_PPT')
    geom = "601x447+259+271"
    root.geometry(geom)
    AP_support.set_Tk_var()
    w = AP_PPT (root)
    AP_support.init(root, w)
    root.after(10,  lambda: AP_support.EventLoop())
    root.mainloop()