python之GUI(tkinter、ttk)编程学习笔记(自用)

Tkinter是python的默认GUI库python 1.Button 按钮:相似标签,但提供额外的功能c++ # 鼠标左键<Button-1> # 鼠标右键<Button-3> # 鼠标中键<Button-2> # <Double-Button-2>鼠标中建双击 # <Triple-Button-1>鼠标左键三击 2.Label 标签:用来显示文字或图片,有表格布局、相对布局、绝对布局 (1)
相关文章
相关标签/搜索