예제 #1
0
def vp_start_gui():
    '''Starting point when module is the main routine.'''
    global val, w, root
    w = Toplevel()
    top = CPU_Information(w)
    cpu_info_support.init(w, top)
    w.mainloop()
예제 #2
0
def vp_start_gui():
    '''Starting point when module is the main routine.'''
    global val, w, root
    root = Tk()
    top = CPU_Information (root)
    cpu_info_support.init(root, top)
    root.mainloop()
예제 #3
0
def create_CPU_Information(root, *args, **kwargs):
    '''Starting point when module is imported by another program.'''
    global w, w_win, rt
    rt = root
    w = Toplevel (root)
    top = CPU_Information (w)
    cpu_info_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 = CPU_Information (root)
    cpu_info_support.init(root, top)
    root.mainloop()
예제 #5
0
def create_CPU_Information(root, *args, **kwargs):
    '''Starting point when module is imported by another program.'''
    global w, w_win, rt
    rt = root
    w = Toplevel(root)
    top = CPU_Information(w)
    cpu_info_support.init(w, top, *args, **kwargs)
    return (w, top)
예제 #6
0
파일: cpu_info.py 프로젝트: FrauBluher/PMSM
def vp_start_gui():
    '''Starting point when module is the main routine.'''
    global val, w, root
    root = Tk()
    root.title('CPU_Information')
    root.geometry('498x433+1309+473')
    w = CPU_Information (root)
    cpu_info_support.init(root, w)
    root.mainloop()
예제 #7
0
def vp_start_gui():
    '''Starting point when module is the main routine.'''
    global val, w, root
    root = Tk()
    root.title('CPU_Information')
    root.geometry('498x433+1309+473')
    w = CPU_Information(root)
    cpu_info_support.init(root, w)
    root.mainloop()
예제 #8
0
파일: cpu_info.py 프로젝트: FrauBluher/PMSM
def create_CPU_Information (root, param=None):
    '''Starting point when module is imported by another program.'''
    global w, w_win, rt
    rt = root
    w = Toplevel (root)
    w.title('CPU_Information')
    w.geometry('498x433+1309+473')
    w_win = CPU_Information (w)
    cpu_info_support.init(w, w_win, param)
    return w_win
예제 #9
0
def create_CPU_Information(root, param=None):
    '''Starting point when module is imported by another program.'''
    global w, w_win, rt
    rt = root
    w = Toplevel(root)
    w.title('CPU_Information')
    w.geometry('498x433+1309+473')
    w_win = CPU_Information(w)
    cpu_info_support.init(w, w_win, param)
    return w_win