|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /usr/share/gtk-doc/html/gtk/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>GtkTree</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
<link rel="start" href="index.html" title="GTK+ Reference Manual">
<link rel="up" href="DeprecatedObjects.html" title="Deprecated">
<link rel="prev" href="GtkTipsQuery.html" title="GtkTipsQuery">
<link rel="next" href="GtkTreeItem.html" title="GtkTreeItem">
<meta name="generator" content="GTK-Doc V1.6 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="gtk.html" title="Part I. GTK+ Overview">
<link rel="part" href="gtkbase.html" title="Part II. GTK+ Core Reference">
<link rel="part" href="gtkobjects.html" title="Part III. GTK+ Widgets and Objects">
<link rel="chapter" href="ch01.html" title="Object Hierarchy">
<link rel="chapter" href="ch02.html" title="Widget Gallery">
<link rel="chapter" href="WindowWidgets.html" title="Windows">
<link rel="chapter" href="DisplayWidgets.html" title="Display Widgets">
<link rel="chapter" href="ButtonWidgets.html" title="Buttons and Toggles">
<link rel="chapter" href="NumericEntry.html" title="Numeric/Text Data Entry">
<link rel="chapter" href="TextWidgetObjects.html" title="Multiline Text Editor">
<link rel="chapter" href="TreeWidgetObjects.html" title="Tree, List and Icon Grid Widgets">
<link rel="chapter" href="MenusAndCombos.html" title="Menus, Combo Box, Toolbar">
<link rel="chapter" href="Actions.html" title="Action-based menus and toolbars">
<link rel="chapter" href="SelectorWidgets.html" title="Selectors (File/Font/Color/Input Devices)">
<link rel="chapter" href="LayoutContainers.html" title="Layout Containers">
<link rel="chapter" href="Ornaments.html" title="Ornaments">
<link rel="chapter" href="ScrollingWidgets.html" title="Scrolling">
<link rel="chapter" href="Printing.html" title="Printing">
<link rel="chapter" href="MiscObjects.html" title="Miscellaneous">
<link rel="chapter" href="AbstractObjects.html" title="Abstract Base Classes">
<link rel="chapter" href="PlugSocket.html" title="Cross-process Embedding">
<link rel="chapter" href="SpecialObjects.html" title="Special-purpose features">
<link rel="chapter" href="RecentDocuments.html" title="Recently Used Documents">
<link rel="chapter" href="DeprecatedObjects.html" title="Deprecated">
<link rel="part" href="migrating.html" title="Part IV. Migrating from Previous Versions of GTK+">
<link rel="chapter" href="gtk-migrating-checklist.html" title="Migration Checklist">
<link rel="chapter" href="gtk-migrating-GtkFileChooser.html" title="Migrating from GtkFileSelection to GtkFileChooser">
<link rel="chapter" href="gtk-migrating-GtkAction.html" title="Migrating from old menu and toolbar systems to GtkAction">
<link rel="chapter" href="gtk-migrating-GtkComboBox.html" title="Migrating from GtkOptionMenu and GtkCombo to GtkComboBox and
GtkComboBoxEntry">
<link rel="chapter" href="gtk-migrating-GtkIconView.html" title="Migrating from GnomeIconList to GtkIconView">
<link rel="chapter" href="gtk-migrating-GtkAboutDialog.html" title="Migrating from GnomeAbout to GtkAboutDialog">
<link rel="chapter" href="gtk-migrating-GtkColorButton.html" title="Migrating from GnomeColorPicker to GtkColorButton">
<link rel="chapter" href="gtk-migrating-GtkAssistant.html" title="Migrating from GnomeDruid to GtkAssistant">
<link rel="chapter" href="gtk-migrating-GtkRecentChooser.html" title="Migrating from EggRecent to GtkRecentChooser">
<link rel="chapter" href="gtk-migrating-GtkLinkButton.html" title="Migrating from GnomeHRef to GtkLinkButton">
<link rel="part" href="pt05.html" title="Part V. GTK+ Tools">
<link rel="glossary" href="glossary.html" title="Glossary">
<link rel="index" href="ix01.html" title="Index">
<link rel="index" href="ix02.html" title="Index of deprecated symbols">
<link rel="index" href="ix03.html" title="Index of new symbols in 2.2">
<link rel="index" href="ix04.html" title="Index of new symbols in 2.4">
<link rel="index" href="ix05.html" title="Index of new symbols in 2.6">
<link rel="index" href="ix06.html" title="Index of new symbols in 2.8">
<link rel="index" href="ix07.html" title="Index of new symbols in 2.10">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="GtkTipsQuery.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="DeprecatedObjects.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GTK+ Reference Manual</th>
<td><a accesskey="n" href="GtkTreeItem.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id3938733" class="shortcut">Top</a>
 | 
<a href="#id3939446" class="shortcut">Description</a>
 | 
<a href="#id3939241" class="shortcut">Object Hierarchy</a>
 | 
<a href="#id3939295" class="shortcut">Implemented Interfaces</a>
 | 
<a href="#id3939318" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GtkTree"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id3938733"></a><span class="refentrytitle">GtkTree</span>
</h2>
<p>GtkTree — A tree widget</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">
#include <gtk/gtk.h>
<a href="GtkTree.html#GtkTree-struct">GtkTree</a>;
#define <a href="GtkTree.html#GTK-IS-ROOT-TREE:CAPS">GTK_IS_ROOT_TREE</a> (obj)
#define <a href="GtkTree.html#GTK-TREE-ROOT-TREE:CAPS">GTK_TREE_ROOT_TREE</a> (obj)
#define <a href="GtkTree.html#GTK-TREE-SELECTION-OLD:CAPS">GTK_TREE_SELECTION_OLD</a> (obj)
enum <a href="GtkTree.html#GtkTreeViewMode">GtkTreeViewMode</a>;
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>* <a href="GtkTree.html#gtk-tree-new">gtk_tree_new</a> (void);
void <a href="GtkTree.html#gtk-tree-append">gtk_tree_append</a> (<a href="GtkTree.html" title="GtkTree">GtkTree</a> *tree,
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *tree_item);
void <a href="GtkTree.html#gtk-tree-prepend">gtk_tree_prepend</a> (<a href="GtkTree.html" title="GtkTree">GtkTree</a> *tree,
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *tree_item);
void <a href="GtkTree.html#gtk-tree-insert">gtk_tree_insert</a> (<a href="GtkTree.html" title="GtkTree">GtkTree</a> *tree,
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *tree_item,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> position);
void <a href="GtkTree.html#gtk-tree-remove-items">gtk_tree_remove_items</a> (<a href="GtkTree.html" title="GtkTree">GtkTree</a> *tree,
<a
href="../glib/glib-Doubly-Linked-Lists.html#GList"
>GList</a> *items);
void <a href="GtkTree.html#gtk-tree-clear-items">gtk_tree_clear_items</a> (<a href="GtkTree.html" title="GtkTree">GtkTree</a> *tree,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> start,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> end);
void <a href="GtkTree.html#gtk-tree-select-item">gtk_tree_select_item</a> (<a href="GtkTree.html" title="GtkTree">GtkTree</a> *tree,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> item);
void <a href="GtkTree.html#gtk-tree-unselect-item">gtk_tree_unselect_item</a> (<a href="GtkTree.html" title="GtkTree">GtkTree</a> *tree,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> item);
void <a href="GtkTree.html#gtk-tree-select-child">gtk_tree_select_child</a> (<a href="GtkTree.html" title="GtkTree">GtkTree</a> *tree,
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *tree_item);
void <a href="GtkTree.html#gtk-tree-unselect-child">gtk_tree_unselect_child</a> (<a href="GtkTree.html" title="GtkTree">GtkTree</a> *tree,
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *tree_item);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> <a href="GtkTree.html#gtk-tree-child-position">gtk_tree_child_position</a> (<a href="GtkTree.html" title="GtkTree">GtkTree</a> *tree,
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child);
void <a href="GtkTree.html#gtk-tree-set-selection-mode">gtk_tree_set_selection_mode</a> (<a href="GtkTree.html" title="GtkTree">GtkTree</a> *tree,
<a href="gtk-Standard-Enumerations.html#GtkSelectionMode">GtkSelectionMode</a> mode);
void <a href="GtkTree.html#gtk-tree-set-view-mode">gtk_tree_set_view_mode</a> (<a href="GtkTree.html" title="GtkTree">GtkTree</a> *tree,
<a href="GtkTree.html#GtkTreeViewMode">GtkTreeViewMode</a> mode);
void <a href="GtkTree.html#gtk-tree-set-view-lines">gtk_tree_set_view_lines</a> (<a href="GtkTree.html" title="GtkTree">GtkTree</a> *tree,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> flag);
void <a href="GtkTree.html#gtk-tree-remove-item">gtk_tree_remove_item</a> (<a href="GtkTree.html" title="GtkTree">GtkTree</a> *tree,
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3939241"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a href="GtkObject.html" title="GtkObject">GtkObject</a>
+----<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
+----<a href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
+----GtkTree
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3939295"></a><h2>Implemented Interfaces</h2>
<p>
GtkTree implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id3939318"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GtkTree.html#GtkTree-select-child">select-child</a>"
void user_function (<a href="GtkTree.html" title="GtkTree">GtkTree</a> *tree,
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run first
"<a href="GtkTree.html#GtkTree-selection-changed">selection-changed</a>"
void user_function (<a href="GtkTree.html" title="GtkTree">GtkTree</a> *tree,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run first
"<a href="GtkTree.html#GtkTree-unselect-child">unselect-child</a>"
void user_function (<a href="GtkTree.html" title="GtkTree">GtkTree</a> *tree,
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run first
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3939446"></a><h2>Description</h2>
<p>
</p>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p>
<a href="GtkTree.html" title="GtkTree"><span class="type">GtkTree</span></a> is deprecated and unsupported. It is known to be
buggy. To use it, you must define the symbol <code class="literal">GTK_ENABLE_BROKEN</code>
prior to including the GTK+ header files. Use <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> instead.
</p>
</div>
<p>
The <a href="GtkTree.html" title="GtkTree"><span class="type">GtkTree</span></a> widget is a container that shows users a list of items, in a tree format complete with branches and leafnodes. Branches can be expanded to show their child items, or collapsed to hide them.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id3939508"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id3939518"></a><h3>
<a name="GtkTree-struct"></a>GtkTree</h3>
<a class="indexterm" name="id3939530"></a><pre class="programlisting">typedef struct _GtkTree GtkTree;</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GtkTree</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
<pre class="programlisting">
struct _GtkTree
{
GtkContainer container;
GList *children;
GtkTree* root_tree; /* owner of selection list */
GtkWidget* tree_owner;
GList *selection;
guint level;
guint indent_value;
guint current_indent;
guint selection_mode : 2;
guint view_mode : 1;
guint view_line : 1;
};
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3939568"></a><h3>
<a name="GTK-IS-ROOT-TREE:CAPS"></a>GTK_IS_ROOT_TREE()</h3>
<a class="indexterm" name="id3939584"></a><pre class="programlisting">#define GTK_IS_ROOT_TREE(obj) ((GtkObject*) GTK_TREE(obj)->root_tree == (GtkObject*)obj)
</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GTK_IS_ROOT_TREE</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
A macro that returns a boolean value which indicates if <em class="parameter"><code>obj</code></em> is a root tree or not.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>obj</code></em> :</span></td>
<td>A pointer to the <a href="GtkTree.html" title="GtkTree"><span class="type">GtkTree</span></a>. <em class="parameter"><code>obj</code></em> will accept any pointer, but if the pointer does not point to a <a href="GtkTree.html" title="GtkTree"><span class="type">GtkTree</span></a>, the results are undefined.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3939661"></a><h3>
<a name="GTK-TREE-ROOT-TREE:CAPS"></a>GTK_TREE_ROOT_TREE()</h3>
<a class="indexterm" name="id3939677"></a><pre class="programlisting">#define GTK_TREE_ROOT_TREE(obj) (GTK_TREE(obj)->root_tree ? GTK_TREE(obj)->root_tree : GTK_TREE(obj))
</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GTK_TREE_ROOT_TREE</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
A macro that returns the root tree of <em class="parameter"><code>obj</code></em>.
</p>
<p>
If <em class="parameter"><code>obj</code></em> is already a root tree, <em class="parameter"><code>obj</code></em> is cast to <a href="GtkTree.html" title="GtkTree"><span class="type">GtkTree</span></a> and returned.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>obj</code></em> :</span></td>
<td>A pointer to the <a href="GtkTree.html" title="GtkTree"><span class="type">GtkTree</span></a>. <em class="parameter"><code>obj</code></em> will accept any pointer, but if the pointer does not point to a <a href="GtkTree.html" title="GtkTree"><span class="type">GtkTree</span></a>, the results are undefined.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3939779"></a><h3>
<a name="GTK-TREE-SELECTION-OLD:CAPS"></a>GTK_TREE_SELECTION_OLD()</h3>
<a class="indexterm" name="id3939794"></a><pre class="programlisting">#define GTK_TREE_SELECTION_OLD(obj) (GTK_TREE_ROOT_TREE(obj)->selection)
</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GTK_TREE_SELECTION_OLD</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>obj</code></em> :</span></td>
<td>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3939842"></a><h3>
<a name="GtkTreeViewMode"></a>enum GtkTreeViewMode</h3>
<a class="indexterm" name="id3939857"></a><pre class="programlisting">typedef enum
{
GTK_TREE_VIEW_LINE, /* default view mode */
GTK_TREE_VIEW_ITEM
} GtkTreeViewMode;
</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GtkTreeViewMode</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3939886"></a><h3>
<a name="gtk-tree-new"></a>gtk_tree_new ()</h3>
<a class="indexterm" name="id3939901"></a><pre class="programlisting"><a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>* gtk_tree_new (void);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_tree_new</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Creates a new <a href="GtkTree.html" title="GtkTree"><span class="type">GtkTree</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td>A pointer to the newly allocated widget.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3939958"></a><h3>
<a name="gtk-tree-append"></a>gtk_tree_append ()</h3>
<a class="indexterm" name="id3939973"></a><pre class="programlisting">void gtk_tree_append (<a href="GtkTree.html" title="GtkTree">GtkTree</a> *tree,
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *tree_item);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_tree_append</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Adds the <a href="GtkTreeItem.html" title="GtkTreeItem"><span class="type">GtkTreeItem</span></a> in <em class="parameter"><code>tree_item</code></em> to the end of the items in <em class="parameter"><code>tree</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree</code></em> :</span></td>
<td>A pointer to a <a href="GtkTree.html" title="GtkTree"><span class="type">GtkTree</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_item</code></em> :</span></td>
<td>A pointer to the <a href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that is to be appended to the tree.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3940091"></a><h3>
<a name="gtk-tree-prepend"></a>gtk_tree_prepend ()</h3>
<a class="indexterm" name="id3940106"></a><pre class="programlisting">void gtk_tree_prepend (<a href="GtkTree.html" title="GtkTree">GtkTree</a> *tree,
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *tree_item);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_tree_prepend</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Adds the <a href="GtkTreeItem.html" title="GtkTreeItem"><span class="type">GtkTreeItem</span></a> in <em class="parameter"><code>tree_item</code></em> to the start of the items in <em class="parameter"><code>tree</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree</code></em> :</span></td>
<td>A pointer to a <a href="GtkTree.html" title="GtkTree"><span class="type">GtkTree</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_item</code></em> :</span></td>
<td>A pointer to the <a href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that is to be prepended to the tree.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3940223"></a><h3>
<a name="gtk-tree-insert"></a>gtk_tree_insert ()</h3>
<a class="indexterm" name="id3940238"></a><pre class="programlisting">void gtk_tree_insert (<a href="GtkTree.html" title="GtkTree">GtkTree</a> *tree,
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *tree_item,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> position);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_tree_insert</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Adds the <a href="GtkTreeItem.html" title="GtkTreeItem"><span class="type">GtkTreeItem</span></a> in <em class="parameter"><code>tree_item</code></em> to the list of items in <em class="parameter"><code>tree</code></em> at the position indicated by <em class="parameter"><code>position</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree</code></em> :</span></td>
<td>A pointer to a <a href="GtkTree.html" title="GtkTree"><span class="type">GtkTree</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_item</code></em> :</span></td>
<td>A pointer to the <a href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that is to be added to the tree.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>position</code></em> :</span></td>
<td>A <a
href="../glib/glib-Basic-Types.html#gint"
><span class="type">gint</span></a> that indicates the position in the tree, that the <em class="parameter"><code>tree_item</code></em> is to be added at.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3940398"></a><h3>
<a name="gtk-tree-remove-items"></a>gtk_tree_remove_items ()</h3>
<a class="indexterm" name="id3940413"></a><pre class="programlisting">void gtk_tree_remove_items (<a href="GtkTree.html" title="GtkTree">GtkTree</a> *tree,
<a
href="../glib/glib-Doubly-Linked-Lists.html#GList"
>GList</a> *items);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_tree_remove_items</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Removes a list of items from the <a href="GtkTree.html" title="GtkTree"><span class="type">GtkTree</span></a> in <em class="parameter"><code>tree</code></em>.
</p>
<p>
If only one item is to be removed from the <a href="GtkTree.html" title="GtkTree"><span class="type">GtkTree</span></a>, <a href="GtkContainer.html#gtk-container-remove"><code class="function">gtk_container_remove()</code></a> can be used instead.
</p>
<p>
Removing an item from a <a href="GtkTree.html" title="GtkTree"><span class="type">GtkTree</span></a> dereferences the item, and thus usually destroys the item and any subtrees it may contain. If the item is not to be destroyed, use <a
href="../gobject/gobject-The-Base-Object-Type.html#g-object-ref"
><code class="function">g_object_ref()</code></a> before removing it.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree</code></em> :</span></td>
<td>A pointer to a <a href="GtkTree.html" title="GtkTree"><span class="type">GtkTree</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>items</code></em> :</span></td>
<td>A pointer to a <a
href="../glib/glib-Doubly-Linked-Lists.html#GList"
><span class="type">GList</span></a> that contains the items to be removed.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3940572"></a><h3>
<a name="gtk-tree-clear-items"></a>gtk_tree_clear_items ()</h3>
<a class="indexterm" name="id3940588"></a><pre class="programlisting">void gtk_tree_clear_items (<a href="GtkTree.html" title="GtkTree">GtkTree</a> *tree,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> start,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> end);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_tree_clear_items</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Removes the items at positions between <em class="parameter"><code>start</code></em> and <em class="parameter"><code>end</code></em> from the <a href="GtkTree.html" title="GtkTree"><span class="type">GtkTree</span></a> <em class="parameter"><code>tree</code></em>.
</p>
<p>
Removing an item from a <a href="GtkTree.html" title="GtkTree"><span class="type">GtkTree</span></a> dereferences the item, and thus usually destroys the item and any subtrees it may contain. If the item is not to be destroyed, use <a
href="../gobject/gobject-The-Base-Object-Type.html#g-object-ref"
><code class="function">g_object_ref()</code></a> before removing it.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree</code></em> :</span></td>
<td>A pointer to a <a href="GtkTree.html" title="GtkTree"><span class="type">GtkTree</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>start</code></em> :</span></td>
<td>A <a
href="../glib/glib-Basic-Types.html#gint"
><span class="type">gint</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>end</code></em> :</span></td>
<td>A <a
href="../glib/glib-Basic-Types.html#gint"
><span class="type">gint</span></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3940764"></a><h3>
<a name="gtk-tree-select-item"></a>gtk_tree_select_item ()</h3>
<a class="indexterm" name="id3940779"></a><pre class="programlisting">void gtk_tree_select_item (<a href="GtkTree.html" title="GtkTree">GtkTree</a> *tree,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> item);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_tree_select_item</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Emits the <span class="type">select_item</span> signal for the child at position <em class="parameter"><code>item</code></em>, and thus selects it (unless it is unselected in a signal handler).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree</code></em> :</span></td>
<td>A pointer to a <a href="GtkTree.html" title="GtkTree"><span class="type">GtkTree</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>item</code></em> :</span></td>
<td>A <a
href="../glib/glib-Basic-Types.html#gint"
><span class="type">gint</span></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3940892"></a><h3>
<a name="gtk-tree-unselect-item"></a>gtk_tree_unselect_item ()</h3>
<a class="indexterm" name="id3940907"></a><pre class="programlisting">void gtk_tree_unselect_item (<a href="GtkTree.html" title="GtkTree">GtkTree</a> *tree,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> item);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_tree_unselect_item</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Emits the <span class="type">unselect_item</span> for the child at position <em class="parameter"><code>item</code></em>, and thus unselects it.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree</code></em> :</span></td>
<td>A pointer to a <a href="GtkTree.html" title="GtkTree"><span class="type">GtkTree</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>item</code></em> :</span></td>
<td>A <a
href="../glib/glib-Basic-Types.html#gint"
><span class="type">gint</span></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3941020"></a><h3>
<a name="gtk-tree-select-child"></a>gtk_tree_select_child ()</h3>
<a class="indexterm" name="id3941035"></a><pre class="programlisting">void gtk_tree_select_child (<a href="GtkTree.html" title="GtkTree">GtkTree</a> *tree,
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *tree_item);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_tree_select_child</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Emits the <span class="type">select_item</span> signal for the child <em class="parameter"><code>tree_item</code></em>, and thus selects it (unless it is unselected in a signal handler).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree</code></em> :</span></td>
<td>A pointer to a <a href="GtkTree.html" title="GtkTree"><span class="type">GtkTree</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_item</code></em> :</span></td>
<td>A pointer to the <a href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that is to be selected.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3941148"></a><h3>
<a name="gtk-tree-unselect-child"></a>gtk_tree_unselect_child ()</h3>
<a class="indexterm" name="id3941163"></a><pre class="programlisting">void gtk_tree_unselect_child (<a href="GtkTree.html" title="GtkTree">GtkTree</a> *tree,
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *tree_item);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_tree_unselect_child</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Emits the <span class="type">unselect_item</span> signal for the child <em class="parameter"><code>tree_item</code></em>, and thus unselects it.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree</code></em> :</span></td>
<td>A pointer to a <a href="GtkTree.html" title="GtkTree"><span class="type">GtkTree</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_item</code></em> :</span></td>
<td>A pointer to the <a href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that is to be selected.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3941275"></a><h3>
<a name="gtk-tree-child-position"></a>gtk_tree_child_position ()</h3>
<a class="indexterm" name="id3941291"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> gtk_tree_child_position (<a href="GtkTree.html" title="GtkTree">GtkTree</a> *tree,
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_tree_child_position</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Returns the position of <em class="parameter"><code>child</code></em> in the <a href="GtkTree.html" title="GtkTree"><span class="type">GtkTree</span></a> <em class="parameter"><code>tree</code></em>.
</p>
<p>
If <em class="parameter"><code>child</code></em> is not a child of <em class="parameter"><code>tree</code></em>, then -1 is returned.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree</code></em> :</span></td>
<td>A pointer to a <a href="GtkTree.html" title="GtkTree"><span class="type">GtkTree</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>child</code></em> :</span></td>
<td>A pointer to a <a href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td>A <a
href="../glib/glib-Basic-Types.html#gint"
><span class="type">gint</span></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3941441"></a><h3>
<a name="gtk-tree-set-selection-mode"></a>gtk_tree_set_selection_mode ()</h3>
<a class="indexterm" name="id3941457"></a><pre class="programlisting">void gtk_tree_set_selection_mode (<a href="GtkTree.html" title="GtkTree">GtkTree</a> *tree,
<a href="gtk-Standard-Enumerations.html#GtkSelectionMode">GtkSelectionMode</a> mode);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_tree_set_selection_mode</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Sets the selection mode for the <a href="GtkTree.html" title="GtkTree"><span class="type">GtkTree</span></a> <em class="parameter"><code>tree</code></em>.
</p>
<p>
<em class="parameter"><code>mode</code></em> can be one of
</p>
<div class="itemizedlist"><ul type="disc">
<li><p>
<a href="gtk-Standard-Enumerations.html#GTK-SELECTION-SINGLE:CAPS"><code class="literal">GTK_SELECTION_SINGLE</code></a> for when only one item can be selected at a time.
</p></li>
<li><p>
<a href="gtk-Standard-Enumerations.html#GTK-SELECTION-BROWSE:CAPS"><code class="literal">GTK_SELECTION_BROWSE</code></a> for when one item must be selected.
</p></li>
<li><p>
<a href="gtk-Standard-Enumerations.html#GTK-SELECTION-MULTIPLE:CAPS"><code class="literal">GTK_SELECTION_MULTIPLE</code></a> for when many items can be selected at once.
</p></li>
<li><p>
<a href="gtk-Standard-Enumerations.html#GTK-SELECTION-EXTENDED:CAPS"><code class="literal">GTK_SELECTION_EXTENDED</code></a> Reserved for later use.
</p></li>
</ul></div>
<p>
The selection mode is only defined for a root tree, as the root tree "owns" the selection.
</p>
<p>
The default mode is <a href="gtk-Standard-Enumerations.html#GTK-SELECTION-SINGLE:CAPS"><code class="literal">GTK_SELECTION_SINGLE</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree</code></em> :</span></td>
<td>A pointer to a <a href="GtkTree.html" title="GtkTree"><span class="type">GtkTree</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>mode</code></em> :</span></td>
<td>A <a href="gtk-Standard-Enumerations.html#GtkSelectionMode"><span class="type">GtkSelectionMode</span></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3941671"></a><h3>
<a name="gtk-tree-set-view-mode"></a>gtk_tree_set_view_mode ()</h3>
<a class="indexterm" name="id3941687"></a><pre class="programlisting">void gtk_tree_set_view_mode (<a href="GtkTree.html" title="GtkTree">GtkTree</a> *tree,
<a href="GtkTree.html#GtkTreeViewMode">GtkTreeViewMode</a> mode);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_tree_set_view_mode</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Sets the 'viewmode' for the <a href="GtkTree.html" title="GtkTree"><span class="type">GtkTree</span></a> in <em class="parameter"><code>tree</code></em>. The 'viewmode' defines how the tree looks when an item is selected.
</p>
<p>
<em class="parameter"><code>mode</code></em> can be one of:
</p>
<div class="itemizedlist"><ul type="disc">
<li><p>
<code class="literal">GTK_TREE_VIEW_LINE</code> : When an item is selected the entire <a href="GtkTreeItem.html" title="GtkTreeItem"><span class="type">GtkTreeItem</span></a> is highlighted.
</p></li>
<li><p>
<code class="literal">GTK_TREE_VIEW_ITEM</code> : When an item is selected only the selected item's child widget is highlighted.
</p></li>
</ul></div>
<p>
The default mode is <code class="literal">GTK_TREE_VIEW_LINE</code>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree</code></em> :</span></td>
<td>A pointer to a <a href="GtkTree.html" title="GtkTree"><span class="type">GtkTree</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>mode</code></em> :</span></td>
<td>A <a href="GtkTree.html#GtkTreeViewMode"><span class="type">GtkTreeViewMode</span></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3941873"></a><h3>
<a name="gtk-tree-set-view-lines"></a>gtk_tree_set_view_lines ()</h3>
<a class="indexterm" name="id3941888"></a><pre class="programlisting">void gtk_tree_set_view_lines (<a href="GtkTree.html" title="GtkTree">GtkTree</a> *tree,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> flag);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_tree_set_view_lines</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Sets whether or not the connecting lines between branches and children are drawn.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree</code></em> :</span></td>
<td>A pointer to a <a href="GtkTree.html" title="GtkTree"><span class="type">GtkTree</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>flag</code></em> :</span></td>
<td>A <a
href="../glib/glib-Basic-Types.html#guint"
><span class="type">guint</span></a>, indicating <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a>, or <a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3942006"></a><h3>
<a name="gtk-tree-remove-item"></a>gtk_tree_remove_item ()</h3>
<a class="indexterm" name="id3942022"></a><pre class="programlisting">void gtk_tree_remove_item (<a href="GtkTree.html" title="GtkTree">GtkTree</a> *tree,
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_tree_remove_item</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Removes the item <em class="parameter"><code>child</code></em> from the <a href="GtkTree.html" title="GtkTree"><span class="type">GtkTree</span></a> <em class="parameter"><code>tree</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree</code></em> :</span></td>
<td>A pointer to a <a href="GtkTree.html" title="GtkTree"><span class="type">GtkTree</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>child</code></em> :</span></td>
<td>A pointer to the <a href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that is to be removed from the tree.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id3942140"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id3942150"></a><h3>
<a name="GtkTree-select-child"></a>The "select-child" signal</h3>
<a class="indexterm" name="id3942161"></a><pre class="programlisting">void user_function (<a href="GtkTree.html" title="GtkTree">GtkTree</a> *tree,
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run first</pre>
<p>
This signal is emitted by <em class="parameter"><code>tree</code></em> whenever <em class="parameter"><code>widget</code></em> is about to be selected.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree</code></em> :</span></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em> :</span></td>
<td>The child that is about to be selected.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3942264"></a><h3>
<a name="GtkTree-selection-changed"></a>The "selection-changed" signal</h3>
<a class="indexterm" name="id3942275"></a><pre class="programlisting">void user_function (<a href="GtkTree.html" title="GtkTree">GtkTree</a> *tree,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run first</pre>
<p>
This signal is emitted by the root tree whenever the selection changes.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree</code></em> :</span></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3942344"></a><h3>
<a name="GtkTree-unselect-child"></a>The "unselect-child" signal</h3>
<a class="indexterm" name="id3942355"></a><pre class="programlisting">void user_function (<a href="GtkTree.html" title="GtkTree">GtkTree</a> *tree,
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run first</pre>
<p>
This signal is emitted by <em class="parameter"><code>tree</code></em> whenever <em class="parameter"><code>widget</code></em> is about to be unselected.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree</code></em> :</span></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em> :</span></td>
<td>The child that is about to be unselected.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id3942460"></a><h2>See Also</h2>
<p>
<span class="type">GtkTreeList</span> for the items to put into a <a href="GtkTree.html" title="GtkTree"><span class="type">GtkTree</span></a>.
</p>
<p>
<a href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a> for details on how to scroll around a <a href="GtkTree.html" title="GtkTree"><span class="type">GtkTree</span></a>.
</p>
</div>
</div>
</body>
</html>