PyGTK Tutorial

Andrew Steele

16 September 2013


Table of Contents

1. Introduction
2. Getting Started
2.1. Hello World
3. Packing Theory
4. Signal Theory
5. GTK Main Loop
6. Window
7. Boxes
8. Table
9. Label
10. Entry
11. Button Widgets
11.1. Button
11.2. ToggleButton
11.3. CheckButton
11.4. RadioButton
11.5. SpinButton
11.6. LinkButton
12. Image
13. Arrow
14. Calendar
15. Ruler
16. Progress Bar
17. Spinner
18. InfoBar
19. Separator
20. Alignment
21. Expander
22. Frame Widgets
22.1. Frame
22.2. Aspect Frame
22.3. Common Frame
23. Notebook
24. Pane
25. Button Box
26. Fixed
27. Layout
28. EventBox
29. HandleBox
30. Adjustment
31. Scale
32. Scrolled Window
33. Scrollbar
34. Viewport
35. ListStore
36. TreeStore
37. ComboBox
38. ComboBoxEntry
39. EntryBuffer
40. Entry Completion
41. TextView Construction
41.1. TextView
41.2. TextBuffer
41.3. TextIter
41.4. TextMark
41.5. TextTag
41.6. TextTagTable
41.7. TextView Examples
42. TreeView Construction
42.1. TreeView
42.2. TreeViewColumn
42.3. TreeSelection
43. CellRenderer Widgets
43.1. CellRendererText
43.2. CellRendererToggle
43.3. CellRendererPixbuf
43.4. CellRendererCombo
43.5. CellRendererProgress
43.6. CellRendererSpinner
43.7. CellRendererSpin
43.8. CellRendererAccel
44. CellView
45. Clipboard
46. File Selection Widgets
46.1. FileChooserWidget
46.2. FileChooserDialog
46.3. FileChooserButton
46.4. FileChooser Common Methods
47. Font Selection Widgets
47.1. FontSelection
47.2. FontSelectionDialog
47.3. FontButton
48. Color Selection Widgets
48.1. ColorSelection
48.2. ColorSelectionDialog
48.3. ColorButton
49. HSV
50. RecentChooser Widgets
50.1. RecentManager
50.2. RecentInfo
50.3. RecentFilter
50.4. RecentChooserWidget
50.5. RecentChooserDialog
50.6. RecentChooserMenu
50.7. RecentChooser
51. FileFilter
52. Scale Button
53. Volume Button
54. Menu Widgets
54.1. Menu
54.2. MenuBar
54.3. MenuItem
54.4. ImageMenuItem
54.5. CheckMenuItem
54.6. RadioMenuItem
54.7. SeparatorMenuItem
54.8. TearoffMenuItem
54.9. Menu Examples
54.9.1. Application Menu
54.9.2. Context Menu
55. Toolbar
56. ToolItem Widgets
56.1. ToolButton
56.2. ToggleToolButton
56.3. RadioToolButton
56.4. MenuToolButton
56.5. SeparatorToolItem
56.6. General ToolItem Methods
57. ToolPalette
58. ToolItemGroup
59. Statusbar
60. StatusIcon
61. Tooltip
61.1. Basic Tooltip
61.2. Advanced Tooltip
62. IconView
63. Dialog
64. Message Dialog
65. About Dialog
66. Assistant
67. SizeGroup
68. Action Objects
68.1. Action
68.2. ToggleAction
68.3. RadioAction
68.4. ActionGroup
69. UIManager
70. Plug & Socket
70.1. Plug
70.2. Socket
70.3. Example
71. Drawing Area
72. Curve
73. Gamma Curve
74. Input Dialog
A. Common Methods
B. Stock Images
C. Deprecated & Unavailable Widgets