コード例 #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