コード例 #1
0
ファイル: test_end.py プロジェクト: Rasor1911/EESW2015-SAT
def vp_start_gui():
    '''Starting point when module is the main routine.'''
    global val, w, root
    root = Tk()
    top = test_end (root)
    test_end_support.init(root, top)
    root.mainloop()
コード例 #2
0
ファイル: test_end.py プロジェクト: Rasor1911/EESW2015-SAT
def create_test_end(root, *args, **kwargs):
    '''Starting point when module is imported by another program.'''
    global w, w_win, rt
    rt = root
    w = Toplevel (root)
    top = test_end (w)
    test_end_support.init(w, top, *args, **kwargs)
    return (w, top)