コード例 #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)
コード例 #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()
コード例 #3
0
ファイル: test.py プロジェクト: RxHmxAL/Cashier-Apps
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)
コード例 #4
0
ファイル: test.py プロジェクト: RxHmxAL/Cashier-Apps
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()