示例#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()
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)
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
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
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