This file is indexed.

/usr/share/doc/python-gtk2-tutorial/html/index.html is in python-gtk2-tutorial 2.4-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>PyGTK 2.0 Tutorial</title><meta name="generator" content="DocBook XSL Stylesheets V1.65.1"><meta name="description" content="This tutorial describes the use of the Python PyGTK module."><link rel="home" href="index.html" title="PyGTK 2.0 Tutorial"><link rel="next" href="ch-Introduction.html" title="Chapter 1. Introduction"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">PyGTK 2.0 Tutorial</th></tr><tr><td width="20%" align="left"> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ch-Introduction.html">Next</a></td></tr></table><hr></div><div class="book" lang="en"><div class="titlepage"><div><div><h1 class="title"><a name="pygtk-tut"></a>PyGTK 2.0 Tutorial</h1></div><div><div class="authorgroup"><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="surname">Finlay</span></h3></div></div></div><div><p class="releaseinfo">Version 2.4</p></div><div><p class="pubdate">April 13, 2005</p></div><div><div class="revhistory"><table border="1" width="100%" summary="Revision history"><tr><th align="left" valign="top" colspan="2"><b>Revision History</b></th></tr><tr><td align="left">Revision 2.4</td><td align="left">April 13, 2005</td></tr><tr><td align="left" colspan="2">Update example programs</td></tr><tr><td align="left">Revision 2.3</td><td align="left">December 24, 2004</td></tr><tr><td align="left" colspan="2">Add more PyGTK 2.4 widgets</td></tr><tr><td align="left">Revision 2.2</td><td align="left">August 3, 2004</td></tr><tr><td align="left" colspan="2">Add new PyGTK 2.2 and some PyGTK 2.4 widgets</td></tr><tr><td align="left">Revision 2.1</td><td align="left">July 6, 2004</td></tr><tr><td align="left" colspan="2">More TreeView</td></tr><tr><td align="left">Revision 2.0</td><td align="left">May 24, 2004</td></tr><tr><td align="left" colspan="2">First release for PyGTK 2.0</td></tr></table></div></div><div><div class="abstract"><p class="title"><b>Abstract</b></p><p>This tutorial describes the use of the Python PyGTK module.</p></div></div></div><div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="chapter"><a href="ch-Introduction.html">1. Introduction</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch-Introduction.html#sec-ExploringPygtk">1.1. Exploring PyGTK</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch-GettingStarted.html">2. Getting Started</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch-GettingStarted.html#sec-HelloWorld">2.1. Hello World in PyGTK</a></span></dt><dt><span class="sect1"><a href="sec-TheoryOfSignalsAndCallbacks.html">2.2. Theory of Signals and Callbacks</a></span></dt><dt><span class="sect1"><a href="sec-Events.html">2.3. Events</a></span></dt><dt><span class="sect1"><a href="sec-SteppingThroughHelloWorld.html">2.4. Stepping Through Hello World</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch-MovingOn.html">3. Moving On</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch-MovingOn.html#sec-MoreOnSignalHandlers">3.1. More on Signal Handlers</a></span></dt><dt><span class="sect1"><a href="sec-UpgradedHelloWorld.html">3.2. An Upgraded Hello World</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch-PackingWidgets.html">4. Packing Widgets</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch-PackingWidgets.html#sec-TheoryOfPackingBoxes">4.1. Theory of Packing Boxes</a></span></dt><dt><span class="sect1"><a href="sec-DetailsOfBoxes.html">4.2. Details of Boxes</a></span></dt><dt><span class="sect1"><a href="sec-PackingDemonstrationProgram.html">4.3. Packing Demonstration Program</a></span></dt><dt><span class="sect1"><a href="sec-PackingUsingTables.html">4.4. Packing Using Tables</a></span></dt><dt><span class="sect1"><a href="sec-TablePackingExample.html">4.5. Table Packing Example</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch-WidgetOverview.html">5. Widget Overview</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch-WidgetOverview.html#sec-WidgetHierarchy">5.1. Widget Hierarchy</a></span></dt><dt><span class="sect1"><a href="sec-WidgetsWithoutWindows.html">5.2. Widgets Without Windows</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch-ButtonWidget.html">6. The Button Widget</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch-ButtonWidget.html#sec-NormalButtons">6.1. Normal Buttons</a></span></dt><dt><span class="sect1"><a href="sec-ToggleButtons.html">6.2. Toggle Buttons</a></span></dt><dt><span class="sect1"><a href="sec-CheckButtons.html">6.3. Check Buttons</a></span></dt><dt><span class="sect1"><a href="sec-RadioButtons.html">6.4. Radio Buttons</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch-Adjustments.html">7. Adjustments</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch-Adjustments.html#sec-CreatingAnAdjustment">7.1. Creating an Adjustment</a></span></dt><dt><span class="sect1"><a href="sec-UsingAdjustmentsTheEasyWay.html">7.2. Using Adjustments the Easy Way</a></span></dt><dt><span class="sect1"><a href="sec-AdjustmentInternals.html">7.3. Adjustment Internals</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch-RangeWidgets.html">8. Range Widgets</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch-RangeWidgets.html#sec-ScrollbarWidgets">8.1. Scrollbar Widgets</a></span></dt><dt><span class="sect1"><a href="sec-ScaleWidgets.html">8.2. Scale Widgets</a></span></dt><dd><dl><dt><span class="sect2"><a href="sec-ScaleWidgets.html#id3049331">8.2.1. Creating a Scale Widget</a></span></dt><dt><span class="sect2"><a href="sec-ScaleWidgets.html#id3049384">8.2.2. 	Methods and Signals (well, methods, at least)</a></span></dt></dl></dd><dt><span class="sect1"><a href="sec-CommonRangeMethods.html">8.3. Common Range Methods</a></span></dt><dd><dl><dt><span class="sect2"><a href="sec-CommonRangeMethods.html#id3060169">8.3.1. Setting the Update Policy</a></span></dt><dt><span class="sect2"><a href="sec-CommonRangeMethods.html#id3060239">8.3.2. Getting and Setting Adjustments</a></span></dt></dl></dd><dt><span class="sect1"><a href="sec-KeyAndMouseBindings.html">8.4. Key and Mouse Bindings</a></span></dt><dt><span class="sect1"><a href="sec-RangeWidgetEample.html">8.5. Range Widget Example</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch-MiscellaneousWidgets.html">9. Miscellaneous Widgets</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch-MiscellaneousWidgets.html#sec-Labels">9.1. Labels</a></span></dt><dt><span class="sect1"><a href="sec-Arrows.html">9.2. Arrows</a></span></dt><dt><span class="sect1"><a href="sec-TooltipsObject.html">9.3. The Tooltips Object</a></span></dt><dt><span class="sect1"><a href="sec-ProgressBars.html">9.4. Progress Bars</a></span></dt><dt><span class="sect1"><a href="sec-Dialogs.html">9.5. Dialogs</a></span></dt><dt><span class="sect1"><a href="sec-Images.html">9.6. Images</a></span></dt><dd><dl><dt><span class="sect2"><a href="sec-Images.html#id3109973">9.6.1. Pixmaps</a></span></dt></dl></dd><dt><span class="sect1"><a href="sec-Rulers.html">9.7. Rulers</a></span></dt><dt><span class="sect1"><a href="sec-Statusbars.html">9.8. Statusbars</a></span></dt><dt><span class="sect1"><a href="sec-TextEntries.html">9.9. Text Entries</a></span></dt><dt><span class="sect1"><a href="sec-SpinButtons.html">9.10. Spin Buttons</a></span></dt><dt><span class="sect1"><a href="sec-ComboWidget.html">9.11. Combo Widget</a></span></dt><dt><span class="sect1"><a href="sec-Calendar.html">9.12. Calendar</a></span></dt><dt><span class="sect1"><a href="sec-ColorSelection.html">9.13. Color Selection</a></span></dt><dt><span class="sect1"><a href="sec-FileSelections.html">9.14. File Selections</a></span></dt><dt><span class="sect1"><a href="sec-FontSelectionDialog.html">9.15. Font Selection Dialog</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch-ContainerWidgets.html">10. Container Widgets</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch-ContainerWidgets.html#sec-EventBox">10.1. The EventBox</a></span></dt><dt><span class="sect1"><a href="sec-Alignment.html">10.2. The Alignment widget</a></span></dt><dt><span class="sect1"><a href="sec-Fixed.html">10.3. Fixed Container</a></span></dt><dt><span class="sect1"><a href="sec-Layout.html">10.4. Layout Container</a></span></dt><dt><span class="sect1"><a href="sec-Frames.html">10.5. Frames</a></span></dt><dt><span class="sect1"><a href="sec-AspectFrames.html">10.6. Aspect Frames</a></span></dt><dt><span class="sect1"><a href="sec-PanedWindowWidgets.html">10.7. Paned Window Widgets</a></span></dt><dt><span class="sect1"><a href="sec-Viewports.html">10.8. Viewports</a></span></dt><dt><span class="sect1"><a href="sec-ScrolledWindows.html">10.9. Scrolled Windows</a></span></dt><dt><span class="sect1"><a href="sec-ButtonBoxes.html">10.10. Button Boxes</a></span></dt><dt><span class="sect1"><a href="sec-Toolbar.html">10.11. Toolbar</a></span></dt><dt><span class="sect1"><a href="sec-Notebooks.html">10.12. Notebooks</a></span></dt><dt><span class="sect1"><a href="sec-PlugsAndSockets.html">10.13. Plugs and Sockets</a></span></dt><dd><dl><dt><span class="sect2"><a href="sec-PlugsAndSockets.html#id3114722">10.13.1. Plugs</a></span></dt><dt><span class="sect2"><a href="sec-PlugsAndSockets.html#id3114847">10.13.2. Sockets</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="ch-MenuWidget.html">11. Menu Widget</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch-MenuWidget.html#sec-ManualMenuCreation">11.1. Manual Menu Creation</a></span></dt><dt><span class="sect1"><a href="sec-ManualMenuExample.html">11.2. Manual Menu Example</a></span></dt><dt><span class="sect1"><a href="sec-UsingItemFactory.html">11.3. Using ItemFactory</a></span></dt><dt><span class="sect1"><a href="sec-ItemFactoryExample.html">11.4. Item Factory Example</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch-DrawingArea.html">12. Drawing Area</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch-DrawingArea.html#sec-GraphicsContext">12.1. Graphics Context</a></span></dt><dt><span class="sect1"><a href="sec-DrawingMethods.html">12.2. Drawing Methods</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch-TextViewWidget.html">13. TextView Widget</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch-TextViewWidget.html#sec-TextViewOverview">13.1. TextView Overview</a></span></dt><dt><span class="sect1"><a href="sec-TextViews.html">13.2. TextViews</a></span></dt><dt><span class="sect1"><a href="sec-TextBuffers.html">13.3. Text Buffers</a></span></dt><dd><dl><dt><span class="sect2"><a href="sec-TextBuffers.html#id3108401">13.3.1. TextBuffer Status Information</a></span></dt><dt><span class="sect2"><a href="sec-TextBuffers.html#id3108455">13.3.2. Creating TextIters</a></span></dt><dt><span class="sect2"><a href="sec-TextBuffers.html#id3121630">13.3.3. Text Insertion, Retrieval and Deletion</a></span></dt><dt><span class="sect2"><a href="sec-TextBuffers.html#id3122000">13.3.4. TextMarks</a></span></dt><dt><span class="sect2"><a href="sec-TextBuffers.html#id3122216">13.3.5. Creating and Applying TextTags</a></span></dt><dt><span class="sect2"><a href="sec-TextBuffers.html#id3122398">13.3.6. Inserting Images and Widgets</a></span></dt></dl></dd><dt><span class="sect1"><a href="sec-TextIters.html">13.4. Text Iters</a></span></dt><dd><dl><dt><span class="sect2"><a href="sec-TextIters.html#id3122662">13.4.1. TextIter Attributes</a></span></dt><dt><span class="sect2"><a href="sec-TextIters.html#id3122704">13.4.2. Text Attributes at a TextIter</a></span></dt><dt><span class="sect2"><a href="sec-TextIters.html#id3123006">13.4.3. Copying a TextIter</a></span></dt><dt><span class="sect2"><a href="sec-TextIters.html#id3123025">13.4.4. Retrieving Text and Objects</a></span></dt><dt><span class="sect2"><a href="sec-TextIters.html#id3123068">13.4.5. Checking Conditions at a TextIter</a></span></dt><dt><span class="sect2"><a href="sec-TextIters.html#id3123315">13.4.6. Checking Location in Text</a></span></dt><dt><span class="sect2"><a href="sec-TextIters.html#id3123413">13.4.7. Moving Through Text</a></span></dt><dt><span class="sect2"><a href="sec-TextIters.html#id3123547">13.4.8. Moving to a Specific Location</a></span></dt><dt><span class="sect2"><a href="sec-TextIters.html#id3123641">13.4.9. Searching in Text</a></span></dt></dl></dd><dt><span class="sect1"><a href="sec-TextMarks.html">13.5. Text Marks</a></span></dt><dt><span class="sect1"><a href="sec-TextTagsAndTextTagTables.html">13.6. Text Tags and Tag Tables</a></span></dt><dd><dl><dt><span class="sect2"><a href="sec-TextTagsAndTextTagTables.html#sec-TextTags">13.6.1. Text Tags</a></span></dt><dt><span class="sect2"><a href="sec-TextTagsAndTextTagTables.html#sec-TextTagTables">13.6.2. Text Tag Tables</a></span></dt></dl></dd><dt><span class="sect1"><a href="sec-TextViewExample.html">13.7. A TextView Example</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch-TreeViewWidget.html">14. Tree View Widget</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch-TreeViewWidget.html#sec-TreeViewOverview">14.1. Overview</a></span></dt><dt><span class="sect1"><a href="sec-TreeModelInterface.html">14.2. The TreeModel Interface and Data Stores</a></span></dt><dd><dl><dt><span class="sect2"><a href="sec-TreeModelInterface.html#sec-TreeModelIntroduction">14.2.1. Introduction</a></span></dt><dt><span class="sect2"><a href="sec-TreeModelInterface.html#sec-CreatingTreeStoreAndListStore">14.2.2. Creating TreeStore and ListStore Objects</a></span></dt><dt><span class="sect2"><a href="sec-TreeModelInterface.html#sec-ReferringToTreeModelRows">14.2.3. Referring to TreeModel Rows</a></span></dt><dt><span class="sect2"><a href="sec-TreeModelInterface.html#sec-AddingStoreRows">14.2.4. Adding Rows</a></span></dt><dt><span class="sect2"><a href="sec-TreeModelInterface.html#sec-RemovingStoreRows">14.2.5. Removing Rows</a></span></dt><dt><span class="sect2"><a href="sec-TreeModelInterface.html#sec-ManagingRowData">14.2.6. Managing Row Data</a></span></dt><dt><span class="sect2"><a href="sec-TreeModelInterface.html#sec-PythonProtocolSupport">14.2.7. Python Protocol Support</a></span></dt><dt><span class="sect2"><a href="sec-TreeModelInterface.html#sec-TreeModelSignals">14.2.8. TreeModel Signals</a></span></dt><dt><span class="sect2"><a href="sec-TreeModelInterface.html#sec-SortingTreeModelRows">14.2.9. Sorting TreeModel Rows</a></span></dt></dl></dd><dt><span class="sect1"><a href="sec-TreeViews.html">14.3. TreeViews</a></span></dt><dd><dl><dt><span class="sect2"><a href="sec-TreeViews.html#sec-CreatingTreeView">14.3.1. Creating a TreeView</a></span></dt><dt><span class="sect2"><a href="sec-TreeViews.html#sec-TreeViewModelAccess">14.3.2. Getting and Setting the TreeView Model</a></span></dt><dt><span class="sect2"><a href="sec-TreeViews.html#sec-TreeViewProperties">14.3.3. Setting TreeView Properties</a></span></dt></dl></dd><dt><span class="sect1"><a href="sec-CellRenderers.html">14.4. CellRenderers</a></span></dt><dd><dl><dt><span class="sect2"><a href="sec-CellRenderers.html#sec-CellRendererOverview">14.4.1. Overview</a></span></dt><dt><span class="sect2"><a href="sec-CellRenderers.html#sec-CellRendererTypes">14.4.2. CellRenderer Types</a></span></dt><dt><span class="sect2"><a href="sec-CellRenderers.html#sec-CellRendererProperties">14.4.3. CellRenderer Properties</a></span></dt><dt><span class="sect2"><a href="sec-CellRenderers.html#sec-CellRendererAttributes">14.4.4. CellRenderer Attributes</a></span></dt><dt><span class="sect2"><a href="sec-CellRenderers.html#sec-CellDataFunction">14.4.5. Cell Data Function</a></span></dt><dt><span class="sect2"><a href="sec-CellRenderers.html#sec-CellRendererTextMarkup">14.4.6. CellRendererText Markup</a></span></dt><dt><span class="sect2"><a href="sec-CellRenderers.html#EditableTextCells">14.4.7. Editable Text Cells</a></span></dt><dt><span class="sect2"><a href="sec-CellRenderers.html#sec-ActivatableToggleCells">14.4.8. Activatable Toggle Cells</a></span></dt><dt><span class="sect2"><a href="sec-CellRenderers.html#sec-EditableActivatableProgram">14.4.9. Editable and Activatable Cell Example Program</a></span></dt></dl></dd><dt><span class="sect1"><a href="sec-TreeViewColumns.html">14.5. TreeViewColumns</a></span></dt><dd><dl><dt><span class="sect2"><a href="sec-TreeViewColumns.html#sec-CreatingTreeViewColumns">14.5.1. Creating TreeViewColumns</a></span></dt><dt><span class="sect2"><a href="sec-TreeViewColumns.html#sec-ManagingCellRenderers">14.5.2. Managing CellRenderers</a></span></dt></dl></dd><dt><span class="sect1"><a href="sec-ManipulatingTreeViews.html">14.6. Manipulating TreeViews</a></span></dt><dd><dl><dt><span class="sect2"><a href="sec-ManipulatingTreeViews.html#sec-ManagingColumns">14.6.1. Managing Columns</a></span></dt><dt><span class="sect2"><a href="sec-ManipulatingTreeViews.html#sec-ExpandCollapseChildRows">14.6.2. Expanding and Collapsing Child Rows</a></span></dt></dl></dd><dt><span class="sect1"><a href="sec-TreeViewSignals.html">14.7. TreeView Signals</a></span></dt><dt><span class="sect1"><a href="sec-TreeSelections.html">14.8. TreeSelections</a></span></dt><dd><dl><dt><span class="sect2"><a href="sec-TreeSelections.html#sec-GettingTheTreeSelection">14.8.1. Getting the TreeSelection</a></span></dt><dt><span class="sect2"><a href="sec-TreeSelections.html#sec-TreeSelectionMode">14.8.2. TreeSelection Modes</a></span></dt><dt><span class="sect2"><a href="sec-TreeSelections.html#sec-RetrievingTheTreeSelection">14.8.3. Retrieving the Selection</a></span></dt><dt><span class="sect2"><a href="sec-TreeSelections.html#sec-TreeSelectionFunction">14.8.4. Using a TreeSelection Function</a></span></dt><dt><span class="sect2"><a href="sec-TreeSelections.html#sec-SelectingAndUnselectingRows">14.8.5. Selecting and Unselecting Rows</a></span></dt></dl></dd><dt><span class="sect1"><a href="sec-TreeViewDragAndDrop.html">14.9. TreeView Drag and Drop</a></span></dt><dd><dl><dt><span class="sect2"><a href="sec-TreeViewDragAndDrop.html#DragDropReordering">14.9.1. Drag and Drop Reordering</a></span></dt><dt><span class="sect2"><a href="sec-TreeViewDragAndDrop.html#sec-ExternalDragDrop">14.9.2. External Drag and Drop</a></span></dt><dt><span class="sect2"><a href="sec-TreeViewDragAndDrop.html#sec-TreeViewDnDExample">14.9.3. TreeView Drag and Drop Example</a></span></dt></dl></dd><dt><span class="sect1"><a href="sec-TreeModelSortAndTreeModelFilter.html">14.10. TreeModelSort and TreeModelFilter</a></span></dt><dd><dl><dt><span class="sect2"><a href="sec-TreeModelSortAndTreeModelFilter.html#sec-TreeModelSort">14.10.1. TreeModelSort</a></span></dt><dt><span class="sect2"><a href="sec-TreeModelSortAndTreeModelFilter.html#sec-TreeModelFilter">14.10.2. TreeModelFilter</a></span></dt></dl></dd><dt><span class="sect1"><a href="sec-GenericTreeModel.html">14.11. The Generic TreeModel</a></span></dt><dd><dl><dt><span class="sect2"><a href="sec-GenericTreeModel.html#sec-GenericTreeModelOverview">14.11.1. GenericTreeModel Overview</a></span></dt><dt><span class="sect2"><a href="sec-GenericTreeModel.html#sec-GenericTreeModelInterface">14.11.2. The GenericTreeModel Interface</a></span></dt><dt><span class="sect2"><a href="sec-GenericTreeModel.html#sec-AddRemoveGenericTreeModelRows">14.11.3. Adding and Removing Rows</a></span></dt><dt><span class="sect2"><a href="sec-GenericTreeModel.html#sec-GenericTreeModelMemoryManagement">14.11.4. Memory Management</a></span></dt><dt><span class="sect2"><a href="sec-GenericTreeModel.html#sec-OtherInterfaces">14.11.5. Other Interfaces</a></span></dt><dt><span class="sect2"><a href="sec-GenericTreeModel.html#sec-ApplyingGenericTreeModel">14.11.6. Applying The GenericTreeModel</a></span></dt></dl></dd><dt><span class="sect1"><a href="sec-GenericCellRenderer.html">14.12. The Generic CellRenderer</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch-NewInPyGTK2.2.html">15. New Widgets in PyGTK 2.2</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch-NewInPyGTK2.2.html#sec-Clipboards">15.1. Clipboards</a></span></dt><dd><dl><dt><span class="sect2"><a href="ch-NewInPyGTK2.2.html#sec-CreatingClipboard">15.1.1. Creating A Clipboard</a></span></dt><dt><span class="sect2"><a href="ch-NewInPyGTK2.2.html#sec-UsingClipboards">15.1.2. Using Clipboards with Entry, Spinbutton and TextView</a></span></dt><dt><span class="sect2"><a href="ch-NewInPyGTK2.2.html#sec-SettingClipboardData">15.1.3. Setting Data on a Clipboard</a></span></dt><dt><span class="sect2"><a href="ch-NewInPyGTK2.2.html#sec-RetrievingClipboardContents">15.1.4. Retrieving the Clipboard Contents</a></span></dt><dt><span class="sect2"><a href="ch-NewInPyGTK2.2.html#sec-ClipboardExample">15.1.5. A Clipboard Example</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="ch-NewInPyGTK2.4.html">16. New Widgets in PyGTK 2.4</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch-NewInPyGTK2.4.html#sec-ActionsAndActionGroups">16.1. The Action and ActionGroup Objects</a></span></dt><dd><dl><dt><span class="sect2"><a href="ch-NewInPyGTK2.4.html#sec-Actions">16.1.1. Actions</a></span></dt><dt><span class="sect2"><a href="ch-NewInPyGTK2.4.html#sec-ActionGroups">16.1.2. ActionGroups</a></span></dt></dl></dd><dt><span class="sect1"><a href="sec-ComboBoxAndComboboxEntry.html">16.2. ComboBox and ComboBoxEntry Widgets</a></span></dt><dd><dl><dt><span class="sect2"><a href="sec-ComboBoxAndComboboxEntry.html#sec-ComboBox">16.2.1. ComboBox Widgets</a></span></dt><dt><span class="sect2"><a href="sec-ComboBoxAndComboboxEntry.html#sec-ComboBoxEntry">16.2.2. ComboBoxEntry Widgets</a></span></dt></dl></dd><dt><span class="sect1"><a href="sec-ColorButtonAndFontButton.html">16.3. ColorButton and FontButton Widgets</a></span></dt><dd><dl><dt><span class="sect2"><a href="sec-ColorButtonAndFontButton.html#sec-ColorButton">16.3.1. ColorButton Widgets</a></span></dt><dt><span class="sect2"><a href="sec-ColorButtonAndFontButton.html#sec-FontButton">16.3.2. FontButton Widgets</a></span></dt></dl></dd><dt><span class="sect1"><a href="sec-EntryCompletion.html">16.4. EntryCompletion Objects</a></span></dt><dt><span class="sect1"><a href="sec-ExpanderWidget.html">16.5. Expander Widgets</a></span></dt><dt><span class="sect1"><a href="sec-FileChoosers.html">16.6. File Selections using FileChooser-based Widgets</a></span></dt><dt><span class="sect1"><a href="sec-UIManager.html">16.7. The UIManager</a></span></dt><dd><dl><dt><span class="sect2"><a href="sec-UIManager.html#sec-UIManagerOverview">16.7.1. Overview</a></span></dt><dt><span class="sect2"><a href="sec-UIManager.html#sec-CreatingUIManager">16.7.2. Creating a UIManager</a></span></dt><dt><span class="sect2"><a href="sec-UIManager.html#sec-AddRemoveActionGroups">16.7.3. Adding and Removing ActionGroups</a></span></dt><dt><span class="sect2"><a href="sec-UIManager.html#sec-UIDescriptions">16.7.4. UI Descriptions</a></span></dt><dt><span class="sect2"><a href="sec-UIManager.html#sec-AddRemoveUIDescriptions">16.7.5. Adding and Removing UI Descriptions</a></span></dt><dt><span class="sect2"><a href="sec-UIManager.html#sec-AccessingUIWidgets">16.7.6. Accessing UI Widgets</a></span></dt><dt><span class="sect2"><a href="sec-UIManager.html#sec-SimpleUIManagerExample">16.7.7. A Simple UIManager Example</a></span></dt><dt><span class="sect2"><a href="sec-UIManager.html#sec-MergingUIDescriptions">16.7.8. Merging UI Descriptions</a></span></dt><dt><span class="sect2"><a href="sec-UIManager.html#sec-UIManagerSignals">16.7.9. UIManager Signals</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="ch-UndocumentedWidgets.html">17. Undocumented Widgets</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch-UndocumentedWidgets.html#sec-AccelLabel">17.1. Accel Label</a></span></dt><dt><span class="sect1"><a href="sec-OptionMenu.html">17.2. Option Menu</a></span></dt><dt><span class="sect1"><a href="sec-MenuItems.html">17.3. Menu Items</a></span></dt><dd><dl><dt><span class="sect2"><a href="sec-MenuItems.html#id3064019">17.3.1. Check Menu Item</a></span></dt><dt><span class="sect2"><a href="sec-MenuItems.html#id3167234">17.3.2. Radio Menu Item</a></span></dt><dt><span class="sect2"><a href="sec-MenuItems.html#id3167246">17.3.3. Separator Menu Item</a></span></dt><dt><span class="sect2"><a href="sec-MenuItems.html#id3161016">17.3.4. Tearoff Menu Item</a></span></dt></dl></dd><dt><span class="sect1"><a href="sec-Curves.html">17.4. Curves</a></span></dt><dt><span class="sect1"><a href="sec-MessageDialog.html">17.5. Message Dialog</a></span></dt><dt><span class="sect1"><a href="sec-GammaCurve.html">17.6. Gamma Curve</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch-SettingWidgetAttributes.html">18. Setting Widget Attributes</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch-SettingWidgetAttributes.html#sec-WidgetFlagMethods">18.1. Widget Flag Methods</a></span></dt><dt><span class="sect1"><a href="sec-WidgetDisplayMethods.html">18.2. Widget Display Methods</a></span></dt><dt><span class="sect1"><a href="sec-WidgetAccelerators.html">18.3. Widget Accelerators</a></span></dt><dt><span class="sect1"><a href="sec-WidgetNameMethods.html">18.4. Widget Name Methods</a></span></dt><dt><span class="sect1"><a href="sec-WidgetStyles.html">18.5. Widget Styles</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch-TimeoutsIOAndIdleFunctions.html">19. Timeouts, IO and Idle Functions</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch-TimeoutsIOAndIdleFunctions.html#sec-Timeouts">19.1. Timeouts</a></span></dt><dt><span class="sect1"><a href="sec-MonitoringIO.html">19.2. Monitoring IO</a></span></dt><dt><span class="sect1"><a href="sec-IdleFunctions.html">19.3. Idle Functions</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch-AdvancedEventAndSignalHandling.html">20. Advanced Event and Signal Handling</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch-AdvancedEventAndSignalHandling.html#sec-SignalMethods">20.1. Signal Methods</a></span></dt><dd><dl><dt><span class="sect2"><a href="ch-AdvancedEventAndSignalHandling.html#id3053812">20.1.1. Connecting and Disconnecting Signal Handlers</a></span></dt><dt><span class="sect2"><a href="ch-AdvancedEventAndSignalHandling.html#id3158752">20.1.2. Blocking and Unblocking Signal Handlers</a></span></dt><dt><span class="sect2"><a href="ch-AdvancedEventAndSignalHandling.html#id3136768">20.1.3. Emitting and Stopping Signals</a></span></dt></dl></dd><dt><span class="sect1"><a href="sec-SignalEmissionAndPropagation.html">20.2. Signal Emission and Propagation</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch-ManagingSelections.html">21. Managing Selections</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch-ManagingSelections.html#sec-SelectionOverview">21.1. Selection Overview</a></span></dt><dt><span class="sect1"><a href="sec-RetrievingTheSelection.html">21.2. Retrieving the Selection</a></span></dt><dt><span class="sect1"><a href="sec-SupplyingTheSelection.html">21.3. Supplying the Selection</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch-DragAndDrop.html">22. Drag-and-drop (DND)</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch-DragAndDrop.html#sec-DNDOverview">22.1. DND Overview</a></span></dt><dt><span class="sect1"><a href="sec-DNDProperties.html">22.2. DND Properties</a></span></dt><dt><span class="sect1"><a href="sec-DNDMethods.html">22.3. DND Methods</a></span></dt><dd><dl><dt><span class="sect2"><a href="sec-DNDMethods.html#id3154462">22.3.1. Setting Up the Source Widget</a></span></dt><dt><span class="sect2"><a href="sec-DNDMethods.html#sec-SignalsOnSourceWidget">22.3.2. Signals On the Source Widget</a></span></dt><dt><span class="sect2"><a href="sec-DNDMethods.html#sec-SettingUpDestinationWidget">22.3.3. Setting Up a Destination Widget</a></span></dt><dt><span class="sect2"><a href="sec-DNDMethods.html#sec-SignalsOnDestinationWidget">22.3.4. Signals On the Destination Widget</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="ch-GtkRcFiles.html">23. GTK's rc Files</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch-GtkRcFiles.html#sec-FunctionsForRcFiles">23.1. Functions For rc Files</a></span></dt><dt><span class="sect1"><a href="sec-GTKRcFileFormat.html">23.2. GTK's rc File Format</a></span></dt><dt><span class="sect1"><a href="sec-ExampleRcFile.html">23.3. Example rc file</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch-Scribble.html">24. Scribble, A Simple Example Drawing Program</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch-Scribble.html#sec-ScribbleOverview">24.1. Scribble Overview</a></span></dt><dt><span class="sect1"><a href="sec-EventHandling.html">24.2. Event Handling</a></span></dt><dd><dl><dt><span class="sect2"><a href="sec-EventHandling.html#id3096656">24.2.1. Scribble - Event Handling</a></span></dt></dl></dd><dt><span class="sect1"><a href="sec-DrawingAreaWidgetAndDrawing.html">24.3. The DrawingArea Widget, And Drawing</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch-TipsForWritingPyGTKApplications.html">25. Tips For Writing PyGTK Applications</a></span></dt><dt><span class="chapter"><a href="ch-Contributing.html">26. Contributing</a></span></dt><dt><span class="chapter"><a href="ch-Credits.html">27. Credits</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch-Credits.html#sec-PyGTKCredits">27.1. PyGTK Credits</a></span></dt><dt><span class="sect1"><a href="sec-OriginalGTK+Credits.html">27.2. Original GTK+ Credits</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch-Copyright.html">28. Tutorial Copyright and Permissions Notice</a></span></dt><dt><span class="appendix"><a href="app-GtkSignals.html">A. GTK Signals</a></span></dt><dd><dl><dt><span class="sect1"><a href="app-GtkSignals.html#sec-GtkObject">A.1. GtkObject</a></span></dt><dt><span class="sect1"><a href="sec-GtkWidget.html">A.2. GtkWidget</a></span></dt><dt><span class="sect1"><a href="sec-GtkData.html">A.3. GtkData</a></span></dt><dt><span class="sect1"><a href="sec-GtkContainer.html">A.4. GtkContainer</a></span></dt><dt><span class="sect1"><a href="sec-GtkCalendar.html">A.5. GtkCalendar</a></span></dt><dt><span class="sect1"><a href="sec-GtkEditable.html">A.6. GtkEditable</a></span></dt><dt><span class="sect1"><a href="sec-GtkNotebook.html">A.7. GtkNotebook</a></span></dt><dt><span class="sect1"><a href="sec-GtkList.html">A.8. GtkList</a></span></dt><dt><span class="sect1"><a href="sec-GtkMenuShell.html">A.9. GtkMenuShell</a></span></dt><dt><span class="sect1"><a href="sec-GtkToolbar.html">A.10. GtkToolbar</a></span></dt><dt><span class="sect1"><a href="sec-GtkButton.html">A.11. GtkButton</a></span></dt><dt><span class="sect1"><a href="sec-GtkItem.html">A.12. GtkItem</a></span></dt><dt><span class="sect1"><a href="sec-GtkWindow.html">A.13. GtkWindow</a></span></dt><dt><span class="sect1"><a href="sec-GtkHandleBox.html">A.14. GtkHandleBox</a></span></dt><dt><span class="sect1"><a href="sec-GtkToggleButton.html">A.15. GtkToggleButton</a></span></dt><dt><span class="sect1"><a href="sec-GtkMenuItem.html">A.16. GtkMenuItem</a></span></dt><dt><span class="sect1"><a href="sec-GtkCheckMenuItem.html">A.17. GtkCheckMenuItem</a></span></dt><dt><span class="sect1"><a href="sec-GtkInputDialog.html">A.18. GtkInputDialog</a></span></dt><dt><span class="sect1"><a href="sec-GtkColorSelection.html">A.19. GtkColorSelection</a></span></dt><dt><span class="sect1"><a href="sec-GtkStatusBar.html">A.20. GtkStatusBar</a></span></dt><dt><span class="sect1"><a href="sec-GtkCurve.html">A.21. GtkCurve</a></span></dt><dt><span class="sect1"><a href="sec-GtkAdjustment.html">A.22. GtkAdjustment</a></span></dt></dl></dd><dt><span class="appendix"><a href="app-CodeExamples.html">B. Code Examples</a></span></dt><dd><dl><dt><span class="sect1"><a href="app-CodeExamples.html#sec-scribblesimple.py">B.1. scribblesimple.py</a></span></dt></dl></dd><dt><span class="appendix"><a href="pygtk-tut-changelog.html">C. ChangeLog</a></span></dt></dl></div><div class="list-of-figures"><p><b>List of Figures</b></p><dl><dt>2.1. <a href="ch-GettingStarted.html#basefig">Simple PyGTK Window</a></dt><dt>2.2. <a href="ch-GettingStarted.html#helloworldfig">Hello World Example Program</a></dt><dt>3.1. <a href="sec-UpgradedHelloWorld.html#helloworld2fig">Upgraded Hello World Example</a></dt><dt>4.1. <a href="sec-DetailsOfBoxes.html#packbox1fig">Packing: Five Variations</a></dt><dt>4.2. <a href="sec-DetailsOfBoxes.html#packbox2fig">Packing with Spacing and Padding</a></dt><dt>4.3. <a href="sec-DetailsOfBoxes.html#packbox3fig">Packing with pack_end()</a></dt><dt>4.4. <a href="sec-TablePackingExample.html#tablefig">Packing using a Table</a></dt><dt>6.1. <a href="ch-ButtonWidget.html#buttonfig">Button with Pixmap and Label</a></dt><dt>6.2. <a href="sec-ToggleButtons.html#togglefig">Toggle Button Example</a></dt><dt>6.3. <a href="sec-CheckButtons.html#checkbuttonfig">Check Button Example</a></dt><dt>6.4. <a href="sec-RadioButtons.html#radiobuttonfig">Radio Buttons Example</a></dt><dt>8.1. <a href="sec-RangeWidgetEample.html#rangefig">Range Widgets Example</a></dt><dt>9.1. <a href="ch-MiscellaneousWidgets.html#labelexamplesfig">Label Examples</a></dt><dt>9.2. <a href="sec-Arrows.html#arrowsfig">Arrows Buttons Examples</a></dt><dt>9.3. <a href="sec-TooltipsObject.html#tooltipsfig">Tooltips Example</a></dt><dt>9.4. <a href="sec-ProgressBars.html#progressbarfig">ProgressBar Example</a></dt><dt>9.5. <a href="sec-Images.html#imagesfig">Example Images in Buttons</a></dt><dt>9.6. <a href="sec-Images.html#pixmapfig">Pixmap in a Button Example</a></dt><dt>9.7. <a href="sec-Images.html#wheelbarrowfig">Wheelbarrow Example Shaped Window</a></dt><dt>9.8. <a href="sec-Rulers.html#rulersfig">Rulers Example</a></dt><dt>9.9. <a href="sec-Statusbars.html#statusbarfig">Statusbar Example</a></dt><dt>9.10. <a href="sec-TextEntries.html#entryfig">Entry Example</a></dt><dt>9.11. <a href="sec-SpinButtons.html#spingbuttonfig">Spin Button Example</a></dt><dt>9.12. <a href="sec-Calendar.html#calendarfig">Calendar Example</a></dt><dt>9.13. <a href="sec-ColorSelection.html#colorselfig">Color Selection Dialog Example</a></dt><dt>9.14. <a href="sec-FileSelections.html#fileselfig">File Selection Example</a></dt><dt>9.15. <a href="sec-FontSelectionDialog.html#fontselfig">Font Selection Dialog</a></dt><dt>10.1. <a href="ch-ContainerWidgets.html#eventboxfig">Event Box Example</a></dt><dt>10.2. <a href="sec-Fixed.html#fixedfig">Fixed Example</a></dt><dt>10.3. <a href="sec-Layout.html#layoutfig">Layout Example</a></dt><dt>10.4. <a href="sec-Frames.html#framefig">Frame Example</a></dt><dt>10.5. <a href="sec-AspectFrames.html#aspectframefig">Aspect Frame Example</a></dt><dt>10.6. <a href="sec-PanedWindowWidgets.html#panedfig">Paned Example</a></dt><dt>10.7. <a href="sec-ScrolledWindows.html#scrolledwin">Scrolled Window Example</a></dt><dt>10.8. <a href="sec-Toolbar.html#toolbarfig">Toolbar Example</a></dt><dt>10.9. <a href="sec-Notebooks.html#notebookfig">Notebook Example</a></dt><dt>11.1. <a href="sec-ManualMenuExample.html#menufig">Menu Example</a></dt><dt>11.2. <a href="sec-ItemFactoryExample.html#itemfactoryfig">Item Factory Example</a></dt><dt>12.1. <a href="sec-DrawingMethods.html#drawingareafig">Drawing Area Example</a></dt><dt>13.1. <a href="sec-TextViews.html#textviewbasicfig">Basic TextView Example</a></dt><dt>13.2. <a href="sec-TextViewExample.html#testtextfig">TextView Example</a></dt><dt>14.1. <a href="ch-TreeViewWidget.html#basictreeviewfig">Basic TreeView Example Program</a></dt><dt>14.2. <a href="sec-CellRenderers.html#treeviewcolumnfig">TreeViewColumns with CellRenderers</a></dt><dt>14.3. <a href="sec-CellRenderers.html#celldatafuncfig">CellRenderer Data Function</a></dt><dt>14.4. <a href="sec-CellRenderers.html#filelistingfig">File Listing Example Using Cell Data Functions</a></dt><dt>14.5. <a href="sec-CellRenderers.html#celltextmarkupfig">CellRendererText Markup</a></dt><dt>14.6. <a href="sec-CellRenderers.html#cellrendererfig">Editable and Activatable Cells</a></dt><dt>14.7. <a href="sec-ManipulatingTreeViews.html#treeviewcolumn1expanderfig">Expander Arrow in Second Column</a></dt><dt>14.8. <a href="sec-TreeViewDragAndDrop.html#treeviewdndfig">TreeView Drag and Drop Example</a></dt><dt>14.9. <a href="sec-TreeModelSortAndTreeModelFilter.html#treemodelsortfig">TreeModelSort Example</a></dt><dt>14.10. <a href="sec-TreeModelSortAndTreeModelFilter.html#treemodelfilterfig">TreeModelFilter Visibility Example</a></dt><dt>14.11. <a href="sec-GenericTreeModel.html#filelistinggtmfig">Generic TreeModel Example Program</a></dt><dt>15.1. <a href="ch-NewInPyGTK2.2.html#clipboardfig">Clipboard Example Program</a></dt><dt>16.1. <a href="ch-NewInPyGTK2.4.html#simpleactionfig">Simple Action Example</a></dt><dt>16.2. <a href="ch-NewInPyGTK2.4.html#basicactionfig">Basic Action Example</a></dt><dt>16.3. <a href="ch-NewInPyGTK2.4.html#actionsfig">Actions Example</a></dt><dt>16.4. <a href="ch-NewInPyGTK2.4.html#actiongroupfig">ActionGroup Example</a></dt><dt>16.5. <a href="sec-ComboBoxAndComboboxEntry.html#comboboxbasicfig">Basic ComboBox</a></dt><dt>16.6. <a href="sec-ComboBoxAndComboboxEntry.html#comboboxwrapfig">ComboBox with Wrapped Layout</a></dt><dt>16.7. <a href="sec-ComboBoxAndComboboxEntry.html#comboboxentrybasicfig">Basic ComboBoxEntry</a></dt><dt>16.8. <a href="sec-ColorButtonAndFontButton.html#colorbuttonfig">ColorButton Example</a></dt><dt>16.9. <a href="sec-ColorButtonAndFontButton.html#fontbuttonfig">FontButton Example</a></dt><dt>16.10. <a href="sec-EntryCompletion.html#entrycompletionfig">EntryCompletion</a></dt><dt>16.11. <a href="sec-ExpanderWidget.html#expanderfig">Expander Widget</a></dt><dt>16.12. <a href="sec-FileChoosers.html#filechooserfig">File Selection Example</a></dt><dt>16.13. <a href="sec-UIManager.html#uimanagerfig">Simple UIManager Example</a></dt><dt>16.14. <a href="sec-UIManager.html#uimergefig">UIMerge Example</a></dt><dt>21.1. <a href="sec-RetrievingTheSelection.html#getselectionfig">Get Selection Example</a></dt><dt>21.2. <a href="sec-SupplyingTheSelection.html#setselectionfig">Set Selection Example</a></dt><dt>22.1. <a href="sec-DNDMethods.html#dragndropfig">Drag and Drop Example</a></dt><dt>24.1. <a href="ch-Scribble.html#scribblesimplefig">Scribble Drawing Program Example</a></dt><dt>24.2. <a href="sec-EventHandling.html#simplescribblefig">Simple Scribble Example</a></dt></dl></div><div class="list-of-tables"><p><b>List of Tables</b></p><dl><dt>22.1. <a href="sec-DNDMethods.html#id3084387">Source Widget Signals</a></dt><dt>22.2. <a href="sec-DNDMethods.html#id3088434">Destination Widget Signals</a></dt></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ch-Introduction.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"> </td><td width="40%" align="right" valign="top"> Chapter 1. Introduction</td></tr></table></div></body></html>