コード例 #1
0
def vp_start_gui():
    '''Starting point when module is the main routine.'''
    global val, w, root
    root = Tk()
    root.title('RaschiettoManager')
    geom = "600x450+458+173"
    root.geometry(geom)
    w = RaschiettoManager(root)
    manager_gui_support.init(root, w)
    root.mainloop()
コード例 #2
0
def vp_start_gui():
    '''Starting point when module is the main routine.'''
    global val, w, root
    root = Tk()
    root.title('RaschiettoManager')
    geom = "600x450+458+173"
    root.geometry(geom)
    w = RaschiettoManager (root)
    manager_gui_support.init(root, w)
    root.mainloop()
コード例 #3
0
def create_RaschiettoManager(root, param=None):
    '''Starting point when module is imported by another program.'''
    global w, w_win, rt
    rt = root
    w = Toplevel(root)
    w.title('RaschiettoManager')
    geom = "600x450+458+173"
    w.geometry(geom)
    w_win = RaschiettoManager(w)
    manager_gui_support.init(w, w_win, param)
    return w_win
コード例 #4
0
def create_RaschiettoManager(root, param=None):
    '''Starting point when module is imported by another program.'''
    global w, w_win, rt
    rt = root
    w = Toplevel (root)
    w.title('RaschiettoManager')
    geom = "600x450+458+173"
    w.geometry(geom)
    w_win = RaschiettoManager (w)
    manager_gui_support.init(w, w_win, param)
    return w_win