首页
学习
活动
专区
圈层
工具
发布
社区首页 >专栏 >python核心编程(GUI编程)

python核心编程(GUI编程)

作者头像
用户5760343
发布于 2022-05-14 14:24:35
发布于 2022-05-14 14:24:35
1.8K0
举报
文章被收录于专栏:sktjsktj

1、Tkinter import Tkinter top=Tkinter.TK() TK控件:

image.png

2、label使用

!/usr/bin/env python

import Tkinter top=Tkinter.TK() label=Tkinter.Label(top,text='aaaa') label.pack() Tkinter.mainloop() 3、button使用

image.png

4、label和button

image.png

5、label、button、scale

image.png

6、便利文件GUI

image.png

image.png

image.png

image.png

image.png

7、GUI模块:Tkinter、Tix、Pmw、wxPython、PyGTK Tix例子

image.png

pmw例子

image.png

wxPython

image.png

PyGTK

image.png

image.png

image.png

TTK

image.png

image.png

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2022-05-13,如有侵权请联系 cloudcommunity@tencent.com 删除
目录
  • !/usr/bin/env python
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档