📜  tkinter allign - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:31.714000             🧑  作者: Mango

代码示例1
from Tkinter import *        #      N=North
root = Tk()                    #   W=West E=East
                            #     S = South
example = Label(root, text="Hello World!")    
example.grid(row=1, column=1, sticky=W)