コード例 #1
0
def vp_start_gui():
    '''Starting point when module is the main routine.'''
    global val, w, root
    root = Tk()
    top = Main (root)
    main_support.init(root, top)
    root.mainloop()
コード例 #2
0
def start_gui():
    '''Starting point when module is the main routine.'''
    global val, w, root
    root = Tk()
    top = main_support.MainGUI (root)
    main_support.init(root, top)
    root.mainloop()
コード例 #3
0
def vp_start_gui():
    '''Starting point when module is the main routine.'''
    global val, w, root
    root = Tk()
    top = New_Toplevel_1(root)
    main_support.init(root, top)
    root.mainloop()
コード例 #4
0
ファイル: main.py プロジェクト: gaith7/Recommendation
def create_New_Toplevel_1(root, *args, **kwargs):
    global w, w_win, rt
    rt = root
    w = Toplevel(root)
    top = New_Toplevel_1(w)
    main_support.init(w, top, *args, **kwargs)
    return (w, top)
コード例 #5
0
def vp_start_gui():
    '''Starting point when module is the main routine.'''
    global val, w, root
    root = tk.Tk()
    main_support.set_Tk_var()
    top = mainTop (root)
    main_support.init(root, top)
    root.mainloop()
コード例 #6
0
def create_Main(root, *args, **kwargs):
    '''Starting point when module is imported by another program.'''
    global w, w_win, rt
    rt = root
    w = Toplevel (root)
    top = Main (w)
    main_support.init(w, top, *args, **kwargs)
    return (w, top)
コード例 #7
0
def create_PSVImgTools(root, *args, **kwargs):
    '''Starting point when module is imported by another program.'''
    global w, w_win, rt
    rt = root
    w = Toplevel(root)
    top = PSVImgTools(w)
    main_support.init(w, top, *args, **kwargs)
    return (w, top)
コード例 #8
0
ファイル: main.py プロジェクト: fighteral/ML-Data_Analysis
def vp_start_gui():
    '''Starting point when module is the main routine.'''
    global val, w, root
    root = Tk()
    main_support.set_Tk_var()
    top = Data_Mining_Beta_Version(root)
    main_support.init(root, top)
    root.mainloop()
コード例 #9
0
def vp_start_gui():
    '''Starting point when module is the main routine.
       This class configures and populates the toplevel window'''
    global val, w, root
    root = Tk()
    top = Main (root)
    main_support.init(root, top)
    root.mainloop()
コード例 #10
0
def vp_start_gui():
    '''Starting point when module is the main routine.'''
    global val, w, sroot
    sroot = tk.Tk()
    sroot.eval('tk::PlaceWindow . center')
    main_support.set_Tk_var()
    top = Toplevel1(sroot)
    main_support.init(sroot, top)
    sroot.mainloop()
コード例 #11
0
def vp_start_gui():
    global val, w, root
    global prog_location
    prog_call = sys.argv[0]
    prog_location = os.path.split(prog_call)[0]
    root = tk.Tk()
    top = Toplevel1(root)
    main_support.init(root, top)
    root.mainloop()
コード例 #12
0
ファイル: main.py プロジェクト: wuyou33/PMM
def create_Main(root):
    '''Starting point when module is imported by another program.'''
    global w, w_win
    w = Toplevel(root)
    w.title('Main')
    w.geometry('600x450+918+173')
    w_win = Main(w)
    main_support.init(w, w_win)
    return w_win
コード例 #13
0
ファイル: main.py プロジェクト: wuyou33/PMM
def vp_start_gui():
    '''Starting point when module is the main routine.'''
    global val, w, root
    root = Tk()
    root.title('Main')
    root.geometry('600x450+650+150')
    w = Main(root)
    main_support.init(root, w)
    root.mainloop()
コード例 #14
0
ファイル: main.py プロジェクト: fighteral/ML-Data_Analysis
def create_Data_Mining_Beta_Version(root, *args, **kwargs):
    '''Starting point when module is imported by another program.'''
    global w, w_win, rt
    rt = root
    w = Toplevel(root)
    main_support.set_Tk_var()
    top = Data_Mining_Beta_Version(w)
    main_support.init(w, top, *args, **kwargs)
    return (w, top)
コード例 #15
0
ファイル: main.py プロジェクト: FrauBluher/PMSM
def create_Main (root):
    '''Starting point when module is imported by another program.'''
    global w, w_win
    w = Toplevel (root)
    w.title('Main')
    w.geometry('600x450+918+173')
    w_win = Main (w)
    main_support.init(w, w_win)
    return w_win
コード例 #16
0
ファイル: main.py プロジェクト: FrauBluher/PMSM
def vp_start_gui():
    '''Starting point when module is the main routine.'''
    global val, w, root
    root = Tk()
    root.title('Main')
    root.geometry('600x450+918+173')
    w = Main (root)
    main_support.init(root, w)
    root.mainloop()
コード例 #17
0
ファイル: main.py プロジェクト: FrauBluher/PMSM
def create_Main (root, param=None):
    '''Starting point when module is imported by another program.'''
    global w, w_win, rt
    rt = root
    w = Toplevel (root)
    w.title('Main')
    w.geometry('600x450+650+150')
    w_win = Main (w)
    main_support.init(w, w_win, param)
    return w_win
コード例 #18
0
def vp_start_gui():
    '''Starting point when module is the main routine.'''
    global val, w, root
    root = tk.Tk()
    #root.wm_attributes('-type', 'splash')

    main_support.set_Tk_var()
    top = Toplevel1(root)
    main_support.init(root, top)
    root.mainloop()
コード例 #19
0
def vp_start_gui():
    '''Starting point when module is the main routine.'''
    global val, w, root
    root = Tk()
    if sys.platform.__contains__(
            "win") and not sys.platform.__contains__("darwin"):
        root.iconbitmap(bitmap=defs.getWorkingDir() + '\icon.ico')
    top = PSVImgTools(root)
    main_support.init(root, top)
    root.mainloop()
コード例 #20
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)
    top = Toplevel1(w)
    main_support.init(w, top, *args, **kwargs)
    return (w, top)
コード例 #21
0
ファイル: main.py プロジェクト: levanquoc/design-gui-for-AGV
def vp_start_gui():
    '''Starting point when module is the main routine.'''
    global val, w, root
    global prog_location
    prog_call = sys.argv[0]
    prog_location = os.path.split(prog_call)[0]
    root = tk.Tk()
    top = Toplevel1(root)
    main_support.init(root, top)
    root.mainloop()
コード例 #22
0
ファイル: main.py プロジェクト: wuyou33/PMM
def create_Main(root, param=None):
    '''Starting point when module is imported by another program.'''
    global w, w_win, rt
    rt = root
    w = Toplevel(root)
    w.title('Main')
    w.geometry('600x450+650+150')
    w_win = Main(w)
    main_support.init(w, w_win, param)
    return w_win
コード例 #23
0
ファイル: main.py プロジェクト: GT-ZhangAcer/GakataCheat
def vp_start_gui():
    '''Starting point when module is the main routine.'''
    global val, w, root, top
    root = tk.Tk()
    root.iconbitmap('ico.ico')
    top = Toplevel1(root)
    main_support.init(root, top)

    top.Button2.bind('<Button-1>', about)
    top.Button1.bind("<Button-1>", (lambda x: start(top)))
    root.mainloop()
コード例 #24
0
def create_Toplevel1(rt, *args, **kwargs):
    global w, w_win, root
    global prog_location
    prog_call = sys.argv[0]
    prog_location = os.path.split(prog_call)[0]
    # rt = root
    root = rt
    w = tk.Toplevel(root)
    top = Toplevel1(w)
    main_support.init(w, top, *args, **kwargs)
    return (w, top)
コード例 #25
0
ファイル: main.py プロジェクト: levanquoc/design-gui-for-AGV
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
    global prog_location
    prog_call = sys.argv[0]
    prog_location = os.path.split(prog_call)[0]
    #rt = root
    root = rt
    w = tk.Toplevel(root)
    top = Toplevel1(w)
    main_support.init(w, top, *args, **kwargs)
    return (w, top)
コード例 #26
0
ファイル: main.py プロジェクト: gaith7/Recommendation
def vp_start_gui():
    global val, w, root
    root = Tk()
    top = New_Toplevel_1(root)
    main_support.init(root, top)
    root.mainloop()