Tkinter reference: a GUI for Python John W. Shipman 2005-04-10 23:01 Table of Contents 1. What is Tkinter? ...................................................................................................................... 2 2. A minimal application .............................................................................................................. 3 3. Layout management ................................................................................................................ 3 3.1. The .grid() method .................................................................................................... 4 3.2. Other grid management methods ................................................................................... 5 4. Standard attributes .................................................................................................................. 5 4.1. Dimensions ................................................................................................................... 5 4.2. Coordinate system ......................................................................................................... 6 4.3. Colors ........................................................................................................................... 6 4.4. Type fonts ..................................................................................................................... 6 4.5. Anchors ........................................................................................................................ 8 4.6. Relief styles ................................................................................................................... 8 4.7. Bitmaps ........................................................................................................................ 8 4.8. Cursors ......................................................................................................................... 9 4.9. Images ........................................................................................................................ 10 4.10. Geometry strings ....................................................................................................... 10 4.11. Window names .......................................................................................................... 11 5. The Button widget ................................................................................................................ 11 6. The Canvas widget ................................................................................................................ 13 6.1. Canvas concepts .......................................................................................................... 14 6.2. Methods on Canvas objects ......................................................................................... 15 6.3. The canvas arc object ................................................................................................... 19 6.4. The canvas bitmap object ............................................................................................. 20 6.5. The canvas image object ............................................................................................... 20 6.6. The canvas line object .................................................................................................. 20 6.7. The canvas oval object .................................................................................................. 21 6.8. The canvas polygon object ............................................................................................ 22 6.9. The canvas rectangle object .......................................................................................... 23 6.10. The canvas text object ................................................................................................. 23 6.11. The canvas window object .......................................................................................... 24 7. The Checkbutton widget ...................................................................................................... 24 8. The Entry widget .................................................................................................................. 27 8.1. Scrolling an Entry widget ........................................................................................... 30 9. The Frame

pdf文档 Tkinter简明教程

专业资料 > IT/计算机 > 互联网 > 文档预览
82 页 0 下载 309 浏览 0 评论 0 收藏 3.0分
温馨提示:如果当前文档出现乱码或未能正常浏览,请先下载原文档进行浏览。
Tkinter简明教程 第 1 页 Tkinter简明教程 第 2 页 Tkinter简明教程 第 3 页 Tkinter简明教程 第 4 页 Tkinter简明教程 第 5 页
下载文档到电脑,方便使用
还有 77 页可预览,继续阅读
本文档由 cattong2021-07-20 12:10:20上传分享
给文档打分
您好可以输入 255 个字符
网站域名是什么?( 答案:docs123.com )
评论列表
  • 暂时还没有评论,期待您的金玉良言
最新文档