示例#1
0
def vp_start_gui():
    '''Starting point when module is the main routine.'''
    global val, w, root
    root = tk.Tk()
    top = Vrex(root)
    vrex_support.init(root, top)
    root.mainloop()
示例#2
0
def create_Vrex(root, *args, **kwargs):
    '''Starting point when module is imported by another program.'''
    global w, w_win, rt
    rt = root
    w = tk.Toplevel(root)
    top = Vrex(w)
    vrex_support.init(w, top, *args, **kwargs)
    return (w, top)
示例#3
0
def create_Vrex_for_Python(root, *args, **kwargs):
    '''Starting point when module is imported by another program.'''
    global w, w_win, rt
    rt = root
    w = Toplevel (root)
    top = Vrex_for_Python (w)
    vrex_support.init(w, top, *args, **kwargs)
    return (w, top)
示例#4
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 = Vrex_for_Python (root)
    vrex_support.init(root, top)
    root.mainloop()
示例#5
0
def vp_start_gui():
    '''Starting point when module is the main routine.'''
    global val, w, root
    root = Tk()
    root.title('Vrex_for_Python')
    root.geometry('609x605+617+155')
    w = Vrex_for_Python(root)
    vrex_support.init(root, w)
    root.mainloop()
示例#6
0
文件: vrex.py 项目: FrauBluher/PMSM
def vp_start_gui():
    '''Starting point when module is the main routine.'''
    global val, w, root
    root = Tk()
    root.title('Vrex_for_Python')
    root.geometry('609x605+617+155')
    w = Vrex_for_Python (root)
    vrex_support.init(root, w)
    root.mainloop()
示例#7
0
def create_Vrex_for_Python(root, param=None):
    '''Starting point when module is imported by another program.'''
    global w, w_win, rt
    rt = root
    w = Toplevel(root)
    w.title('Vrex_for_Python')
    w.geometry('609x605+617+155')
    w_win = Vrex_for_Python(w)
    vrex_support.init(w, w_win, param)
    return w_win
示例#8
0
文件: vrex.py 项目: FrauBluher/PMSM
def create_Vrex_for_Python (root, param=None):
    '''Starting point when module is imported by another program.'''
    global w, w_win, rt
    rt = root
    w = Toplevel (root)
    w.title('Vrex_for_Python')
    w.geometry('609x605+617+155')
    w_win = Vrex_for_Python (w)
    vrex_support.init(w, w_win, param)
    return w_win