The Python GTK+ 3 Tutorial
2016-01-19 17:25
806 查看
The Python GTK+ 3 Tutorial
Release: | 3.4 |
---|---|
Date: | January 19, 2016 |
Copyright: | GNU Free Documentation License 1.3 with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts |
Prior to working through this tutorial, it is recommended that you have a reasonable grasp of the Python programming language. GUI programming introduces new problems compared to interacting with
the standard output (console / terminal). It is necessary for you to know how to create and run Python files, understand basic interpreter errors, and work with strings, integers, floats and Boolean values. For the more advanced widgets in this tutorial, good
knowledge of lists and tuples will be needed.
Although this tutorial describes the most important classes and methods within GTK+ 3, it is not supposed to serve as an API reference. Please refer to the GTK+
3 Reference Manual for a detailed description of the API.
Contents:
1. Installation
1.1.
Dependencies
1.2.
Prebuilt Packages
1.3.
Installing From Source
2. Getting Started
2.1.
Simple Example
2.2.
Extended Example
3. Basics
3.1.
Main loop and Signals
3.2. Properties
4. How to Deal With Strings
4.1.
Definitions
4.2. Python
2
4.3. Python
3
4.4. References
5. Layout Containers
5.1. Boxes
5.2. Grid
5.3. Table
5.4. ListBox
5.5.
Stack and StackSwitcher
5.6. HeaderBar
5.7. FlowBox
5.8. Notebook
6. Label
6.1. Example
7. Entry
7.1. Example
8. Button Widgets
8.1.
Button
8.2.
ToggleButton
8.3.
CheckButton
8.4.
RadioButton
8.5.
LinkButton
8.6.
SpinButton
8.7.
Switch
9. ProgressBar
9.1.
Example
10. Spinner
10.1. Example
11. Tree and List Widgets
11.1.
The Model
11.2. The
View
11.3.
The Selection
11.4. Sorting
11.5.
Filtering
12. CellRenderers
12.1.
CellRendererText
12.2.
CellRendererToggle
12.3.
CellRendererPixbuf
12.4.
CellRendererCombo
12.5.
CellRendererProgress
12.6.
CellRendererSpin
13. ComboBox
13.1. Example
14. IconView
14.1. Example
15. Multiline Text Editor
15.1. The
View
15.2.
The Model
15.3. Tags
15.4. Example
16. Menus
16.1. Actions
16.2. UI
Manager
16.3. Example
17. Dialogs
17.1.
Custom Dialogs
17.2.
MessageDialog
17.3.
FileChooserDialog
18. Clipboard
18.1. Example
19. Drag and Drop
19.1.
Target Entries
19.2.
Drag Source Signals
19.3.
Drag Destination Signals
19.4.
Example
20. Glade and Gtk.Builder
20.1.
Creating and loading the .glade file
20.2.
Accessing widgets
20.3.
Connecting Signals
20.4. Example
21. Objects
21.1.
Inherit from GObject.GObject
21.2.
Signals
21.3.
Properties
21.4. API
Indices and tables
Search PageNext
相关文章推荐
- mac上python使用
- Python输出字符奇数位置
- Python中使用Queue和Condition进行线程同步的方法
- python (2)xpath与定向爬虫
- IDAPython 让你的生活更滋润 – Part 3 and Part 4
- Python字符串相关函数
- 关于DOTA2排名前5战队惯用英雄分析(二)
- IDAPython 让你的生活更滋润 part1 and part2
- python argparse介绍
- 关于DOTA2排名前5战队惯用英雄分析
- Examples Generating Excel Documents Using Python’s xlwt
- 转 python全局变量
- Python-Sublime Text3 激活码
- Python字典 (dict)
- 简单总结Python中序列与字典的相同和不同之处
- 自学Python九 爬虫实战二(美图福利)
- python, web 以及 后台开发
- python 多线程的通俗易懂的博客
- 举例讲解如何在Python编程中进行迭代和遍历
- python废话一:python的优势