Exemple #1
0
def create_SwipeSense_Product_Functional_(root, *args, **kwargs):
    '''Starting point when module is imported by another program.'''
    global w, w_win, rt
    rt = root
    w = Toplevel(root)
    test_support.set_Tk_var()
    top = SwipeSense_Product_Functional_(w)
    test_support.init(w, top, *args, **kwargs)
    return (w, top)
Exemple #2
0
def vp_start_gui():
    '''Starting point when module is the main routine.'''
    global val, w, root
    root = Tk()
    test_support.set_Tk_var()
    top = SwipeSense_Product_Functional_(root)
    test_support.init(root, top)
    top.update_clock()
    root.mainloop()
Exemple #3
0
def create_Toplevel1(rt, *args, **kwargs):
    '''Starting point when module is imported by another module.
       Correct form of call: 'create_Toplevel1(root, *args, **kwargs)' .'''
    global w, w_win, root
    #rt = root
    root = rt
    w = tk.Toplevel(root)
    test_support.set_Tk_var()
    top = Toplevel1(w)
    test_support.init(w, top, *args, **kwargs)
    return (w, top)
Exemple #4
0
def vp_start_gui():
    '''Starting point when module is the main routine.'''
    global val, w, root
    root = tk.Tk()

    style = ThemedStyle(root)
    style.set_theme('breeze')
    test_support.set_Tk_var()
    top = Toplevel1(root)
    test_support.init(root, top)
    root.mainloop()