摘要:
import tkinterfrom tkinter import ttkwin = tkinter.Tk()win.title("sunck")win.geometry("600x400+200+20")#表格tree = ttk.Treeview(win)tree.pack()#定义列tree[ 阅读全文
摘要:
import tkinterwin = tkinter.Tk()win.title("sunck")win.geometry("400x400+200+20")'''框架控件在屏幕上显示一个矩形区域,多作为容器控件'''frm = tkinter.Frame(win)frm.pack()#leftf 阅读全文
摘要:
import tkinterfrom tkinter import ttkwin = tkinter.Tk()win.title("sunck")win.geometry("400x400+200+20")#绑定变量cv = tkinter.StringVar()com = ttk.Combobox 阅读全文