コード例 #1
0
ファイル: notepad.py プロジェクト: max2055/Python
def create_Notepads_managment(root, *args, **kwargs):
    '''Starting point when module is imported by another program.'''
    global w, w_win, rt
    rt = root
    w = Toplevel(root)
    top = Notepads_managment(w)
    notepad_support.init(w, top, *args, **kwargs)
    return (w, top)
コード例 #2
0
ファイル: notepad.py プロジェクト: SSPL/Python
def create_Notepads_managment(root, *args, **kwargs):
    '''Starting point when module is imported by another program.'''
    global w, w_win, rt
    rt = root
    w = Toplevel (root)
    top = Notepads_managment (w)
    notepad_support.init(w, top, *args, **kwargs)
    return (w, top)
コード例 #3
0
ファイル: notepad.py プロジェクト: max2055/Python
def vp_start_gui():
    '''Starting point when module is the main routine.'''
    global val, w, root
    root = Tk()
    root.resizable(False, False)
    top = Notepads_managment(root)
    notepad_support.init(root, top)
    root.mainloop()
コード例 #4
0
ファイル: notepad.py プロジェクト: SSPL/Python
def vp_start_gui():
    '''Starting point when module is the main routine.'''
    global val, w, root
    root = Tk()
    root.resizable(False,False)
    top = Notepads_managment (root)
    notepad_support.init(root, top)
    root.mainloop()