📌  相关文章
📜  制作小部件跨度窗口宽度 tkinter - Python 代码示例

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

代码示例1
import tkinter
import tkinter.ttk

win = tkinter.Tk()
win.geometry('600x600')

frame = tkinter.Frame(win, bg='red', height=300)
frame.grid(row=0, column=0, sticky='ew')
win.grid_columnconfigure(0,weight=1)

win.mainloop()