Example #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()
Example #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()
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()
Example #4
0
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)
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()
Example #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)
Example #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)
Example #8
0
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()
Example #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()
Example #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()
Example #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()
Example #12
0
File: main.py Project: 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
Example #13
0
File: main.py Project: 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()
Example #14
0
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)
Example #15
0
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
Example #16
0
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()
Example #17
0
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
Example #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()
Example #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()
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)
Example #21
0
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()
Example #22
0
File: main.py Project: 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
Example #23
0
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()
Example #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)
Example #25
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
    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)
Example #26
0
def vp_start_gui():
    global val, w, root
    root = Tk()
    top = New_Toplevel_1(root)
    main_support.init(root, top)
    root.mainloop()