KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/gtk-doc/html/gtk/GtkTreeView.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>GtkTreeView</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="TreeWidgetObjects.html" title="Tree, List and Icon Grid Widgets">
<link rel="prev" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">
<link rel="next" href="gtk-GtkTreeView-drag-and-drop.html" title="GtkTreeView drag-and-drop">
<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&#160;I.&#160;GTK+ Overview">
<link rel="part" href="gtkbase.html" title="Part&#160;II.&#160;GTK+ Core Reference">
<link rel="part" href="gtkobjects.html" title="Part&#160;III.&#160;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&#160;IV.&#160;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&#160;V.&#160;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="GtkTreeViewColumn.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="TreeWidgetObjects.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="gtk-GtkTreeView-drag-and-drop.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="#id3123994" class="shortcut">Top</a>
                  &#160;|&#160;
                  <a href="#id3128435" class="shortcut">Description</a>
                  &#160;|&#160;
                  <a href="#id3127136" class="shortcut">Object Hierarchy</a>
                  &#160;|&#160;
                  <a href="#id3127190" class="shortcut">Implemented Interfaces</a>
                  &#160;|&#160;
                  <a href="#id3127213" class="shortcut">Properties</a>
                  &#160;|&#160;
                  <a href="#id3127539" class="shortcut">Style Properties</a>
                  &#160;|&#160;
                  <a href="#id3127757" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GtkTreeView"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id3123994"></a><span class="refentrytitle">GtkTreeView</span>
</h2>
<p>GtkTreeView &#8212; A widget for displaying both trees and lists</p>
</td>
<td valign="top" align="right"><img src="list-and-tree.png"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">

#include &lt;gtk/gtk.h&gt;


            <a href="GtkTreeView.html#GtkTreeView-struct">GtkTreeView</a>;
enum        <a href="GtkTreeView.html#GtkTreeViewDropPosition">GtkTreeViewDropPosition</a>;
            <a href="GtkTreeView.html#GtkTreeViewPrivate">GtkTreeViewPrivate</a>;
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    (<a href="GtkTreeView.html#GtkTreeViewColumnDropFunc">*GtkTreeViewColumnDropFunc</a>)    (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *column,
                                             <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *prev_column,
                                             <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *next_column,
                                             <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);
void        (<a href="GtkTreeView.html#GtkTreeViewMappingFunc">*GtkTreeViewMappingFunc</a>)       (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> *path,
                                             <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    (<a href="GtkTreeView.html#GtkTreeViewSearchEqualFunc">*GtkTreeViewSearchEqualFunc</a>)   (<a href="GtkTreeModel.html" title="GtkTreeModel">GtkTreeModel</a> *model,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> column,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *key,
                                             <a href="GtkTreeModel.html#GtkTreeIter">GtkTreeIter</a> *iter,
                                             <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> search_data);
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>*  <a href="GtkTreeView.html#gtk-tree-view-new">gtk_tree_view_new</a>               (void);
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>*  <a href="GtkTreeView.html#gtk-tree-view-new-with-model">gtk_tree_view_new_with_model</a>    (<a href="GtkTreeModel.html" title="GtkTreeModel">GtkTreeModel</a> *model);
<a href="GtkTreeModel.html" title="GtkTreeModel">GtkTreeModel</a>* <a href="GtkTreeView.html#gtk-tree-view-get-model">gtk_tree_view_get_model</a>       (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);
void        <a href="GtkTreeView.html#gtk-tree-view-set-model">gtk_tree_view_set_model</a>         (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeModel.html" title="GtkTreeModel">GtkTreeModel</a> *model);
<a href="GtkTreeSelection.html" title="GtkTreeSelection">GtkTreeSelection</a>* <a href="GtkTreeView.html#gtk-tree-view-get-selection">gtk_tree_view_get_selection</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);
<a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a>* <a href="GtkTreeView.html#gtk-tree-view-get-hadjustment">gtk_tree_view_get_hadjustment</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);
void        <a href="GtkTreeView.html#gtk-tree-view-set-hadjustment">gtk_tree_view_set_hadjustment</a>   (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *adjustment);
<a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a>* <a href="GtkTreeView.html#gtk-tree-view-get-vadjustment">gtk_tree_view_get_vadjustment</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);
void        <a href="GtkTreeView.html#gtk-tree-view-set-vadjustment">gtk_tree_view_set_vadjustment</a>   (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *adjustment);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    <a href="GtkTreeView.html#gtk-tree-view-get-headers-visible">gtk_tree_view_get_headers_visible</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);
void        <a href="GtkTreeView.html#gtk-tree-view-set-headers-visible">gtk_tree_view_set_headers_visible</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> headers_visible);
void        <a href="GtkTreeView.html#gtk-tree-view-columns-autosize">gtk_tree_view_columns_autosize</a>  (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    <a href="GtkTreeView.html#gtk-tree-view-get-headers-clickable">gtk_tree_view_get_headers_clickable</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);
void        <a href="GtkTreeView.html#gtk-tree-view-set-headers-clickable">gtk_tree_view_set_headers_clickable</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> setting);
void        <a href="GtkTreeView.html#gtk-tree-view-set-rules-hint">gtk_tree_view_set_rules_hint</a>    (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> setting);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    <a href="GtkTreeView.html#gtk-tree-view-get-rules-hint">gtk_tree_view_get_rules_hint</a>    (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>        <a href="GtkTreeView.html#gtk-tree-view-append-column">gtk_tree_view_append_column</a>     (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *column);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>        <a href="GtkTreeView.html#gtk-tree-view-remove-column">gtk_tree_view_remove_column</a>     (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *column);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>        <a href="GtkTreeView.html#gtk-tree-view-insert-column">gtk_tree_view_insert_column</a>     (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *column,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> position);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>        <a href="GtkTreeView.html#gtk-tree-view-insert-column-with-attributes">gtk_tree_view_insert_column_with_attributes</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> position,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
                                             <a href="GtkCellRenderer.html" title="GtkCellRenderer">GtkCellRenderer</a> *cell,
                                             ...);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>        <a href="GtkTreeView.html#gtk-tree-view-insert-column-with-data-func">gtk_tree_view_insert_column_with_data_func</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> position,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
                                             <a href="GtkCellRenderer.html" title="GtkCellRenderer">GtkCellRenderer</a> *cell,
                                             <a href="GtkTreeViewColumn.html#GtkTreeCellDataFunc">GtkTreeCellDataFunc</a> func,
                                             <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data,
                                             <a
href="../glib/glib-Datasets.html#GDestroyNotify"
>GDestroyNotify</a> dnotify);
<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a>* <a href="GtkTreeView.html#gtk-tree-view-get-column">gtk_tree_view_get_column</a> (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> n);
<a
href="../glib/glib-Doubly-Linked-Lists.html#GList"
>GList</a>*      <a href="GtkTreeView.html#gtk-tree-view-get-columns">gtk_tree_view_get_columns</a>       (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);
void        <a href="GtkTreeView.html#gtk-tree-view-move-column-after">gtk_tree_view_move_column_after</a> (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *column,
                                             <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *base_column);
void        <a href="GtkTreeView.html#gtk-tree-view-set-expander-column">gtk_tree_view_set_expander_column</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *column);
<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a>* <a href="GtkTreeView.html#gtk-tree-view-get-expander-column">gtk_tree_view_get_expander_column</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);
void        <a href="GtkTreeView.html#gtk-tree-view-set-column-drag-function">gtk_tree_view_set_column_drag_function</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeView.html#GtkTreeViewColumnDropFunc">GtkTreeViewColumnDropFunc</a> func,
                                             <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data,
                                             <a href="gtk-Types.html#GtkDestroyNotify">GtkDestroyNotify</a> destroy);
void        <a href="GtkTreeView.html#gtk-tree-view-scroll-to-point">gtk_tree_view_scroll_to_point</a>   (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> tree_x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> tree_y);
void        <a href="GtkTreeView.html#gtk-tree-view-scroll-to-cell">gtk_tree_view_scroll_to_cell</a>    (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> *path,
                                             <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *column,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> use_align,
                                             <a
href="../glib/glib-Basic-Types.html#gfloat"
>gfloat</a> row_align,
                                             <a
href="../glib/glib-Basic-Types.html#gfloat"
>gfloat</a> col_align);
void        <a href="GtkTreeView.html#gtk-tree-view-set-cursor">gtk_tree_view_set_cursor</a>        (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> *path,
                                             <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *focus_column,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> start_editing);
void        <a href="GtkTreeView.html#gtk-tree-view-set-cursor-on-cell">gtk_tree_view_set_cursor_on_cell</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> *path,
                                             <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *focus_column,
                                             <a href="GtkCellRenderer.html" title="GtkCellRenderer">GtkCellRenderer</a> *focus_cell,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> start_editing);
void        <a href="GtkTreeView.html#gtk-tree-view-get-cursor">gtk_tree_view_get_cursor</a>        (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> **path,
                                             <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> **focus_column);
void        <a href="GtkTreeView.html#gtk-tree-view-row-activated">gtk_tree_view_row_activated</a>     (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> *path,
                                             <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *column);
void        <a href="GtkTreeView.html#gtk-tree-view-expand-all">gtk_tree_view_expand_all</a>        (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);
void        <a href="GtkTreeView.html#gtk-tree-view-collapse-all">gtk_tree_view_collapse_all</a>      (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);
void        <a href="GtkTreeView.html#gtk-tree-view-expand-to-path">gtk_tree_view_expand_to_path</a>    (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> *path);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    <a href="GtkTreeView.html#gtk-tree-view-expand-row">gtk_tree_view_expand_row</a>        (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> *path,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> open_all);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    <a href="GtkTreeView.html#gtk-tree-view-collapse-row">gtk_tree_view_collapse_row</a>      (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> *path);
void        <a href="GtkTreeView.html#gtk-tree-view-map-expanded-rows">gtk_tree_view_map_expanded_rows</a> (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeView.html#GtkTreeViewMappingFunc">GtkTreeViewMappingFunc</a> func,
                                             <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    <a href="GtkTreeView.html#gtk-tree-view-row-expanded">gtk_tree_view_row_expanded</a>      (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> *path);
void        <a href="GtkTreeView.html#gtk-tree-view-set-reorderable">gtk_tree_view_set_reorderable</a>   (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> reorderable);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    <a href="GtkTreeView.html#gtk-tree-view-get-reorderable">gtk_tree_view_get_reorderable</a>   (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    <a href="GtkTreeView.html#gtk-tree-view-get-path-at-pos">gtk_tree_view_get_path_at_pos</a>   (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> **path,
                                             <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> **column,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *cell_x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *cell_y);
void        <a href="GtkTreeView.html#gtk-tree-view-get-cell-area">gtk_tree_view_get_cell_area</a>     (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> *path,
                                             <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *column,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *rect);
void        <a href="GtkTreeView.html#gtk-tree-view-get-background-area">gtk_tree_view_get_background_area</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> *path,
                                             <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *column,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *rect);
void        <a href="GtkTreeView.html#gtk-tree-view-get-visible-rect">gtk_tree_view_get_visible_rect</a>  (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *visible_rect);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    <a href="GtkTreeView.html#gtk-tree-view-get-visible-range">gtk_tree_view_get_visible_range</a> (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> **start_path,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> **end_path);
<a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a>*  <a href="GtkTreeView.html#gtk-tree-view-get-bin-window">gtk_tree_view_get_bin_window</a>    (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);
void        <a href="GtkTreeView.html#gtk-tree-view-widget-to-tree-coords">gtk_tree_view_widget_to_tree_coords</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> wx,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> wy,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *tx,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *ty);
void        <a href="GtkTreeView.html#gtk-tree-view-tree-to-widget-coords">gtk_tree_view_tree_to_widget_coords</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> tx,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> ty,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *wx,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *wy);
void        <a href="GtkTreeView.html#gtk-tree-view-enable-model-drag-dest">gtk_tree_view_enable_model_drag_dest</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             const <a href="gtk-Selections.html#GtkTargetEntry">GtkTargetEntry</a> *targets,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> n_targets,
                                             <a
href="../gdk/gdk-Drag-and-Drop.html#GdkDragAction"
>GdkDragAction</a> actions);
void        <a href="GtkTreeView.html#gtk-tree-view-enable-model-drag-source">gtk_tree_view_enable_model_drag_source</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../gdk/gdk-Windows.html#GdkModifierType"
>GdkModifierType</a> start_button_mask,
                                             const <a href="gtk-Selections.html#GtkTargetEntry">GtkTargetEntry</a> *targets,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> n_targets,
                                             <a
href="../gdk/gdk-Drag-and-Drop.html#GdkDragAction"
>GdkDragAction</a> actions);
void        <a href="GtkTreeView.html#gtk-tree-view-unset-rows-drag-source">gtk_tree_view_unset_rows_drag_source</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);
void        <a href="GtkTreeView.html#gtk-tree-view-unset-rows-drag-dest">gtk_tree_view_unset_rows_drag_dest</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);
void        <a href="GtkTreeView.html#gtk-tree-view-set-drag-dest-row">gtk_tree_view_set_drag_dest_row</a> (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> *path,
                                             <a href="GtkTreeView.html#GtkTreeViewDropPosition">GtkTreeViewDropPosition</a> pos);
void        <a href="GtkTreeView.html#gtk-tree-view-get-drag-dest-row">gtk_tree_view_get_drag_dest_row</a> (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> **path,
                                             <a href="GtkTreeView.html#GtkTreeViewDropPosition">GtkTreeViewDropPosition</a> *pos);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    <a href="GtkTreeView.html#gtk-tree-view-get-dest-row-at-pos">gtk_tree_view_get_dest_row_at_pos</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> drag_x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> drag_y,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> **path,
                                             <a href="GtkTreeView.html#GtkTreeViewDropPosition">GtkTreeViewDropPosition</a> *pos);
<a
href="../gdk/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"
>GdkPixmap</a>*  <a href="GtkTreeView.html#gtk-tree-view-create-row-drag-icon">gtk_tree_view_create_row_drag_icon</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> *path);
void        <a href="GtkTreeView.html#gtk-tree-view-set-enable-search">gtk_tree_view_set_enable_search</a> (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> enable_search);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    <a href="GtkTreeView.html#gtk-tree-view-get-enable-search">gtk_tree_view_get_enable_search</a> (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>        <a href="GtkTreeView.html#gtk-tree-view-get-search-column">gtk_tree_view_get_search_column</a> (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);
void        <a href="GtkTreeView.html#gtk-tree-view-set-search-column">gtk_tree_view_set_search_column</a> (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> column);
<a href="GtkTreeView.html#GtkTreeViewSearchEqualFunc">GtkTreeViewSearchEqualFunc</a> <a href="GtkTreeView.html#gtk-tree-view-get-search-equal-func">gtk_tree_view_get_search_equal_func</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);
void        <a href="GtkTreeView.html#gtk-tree-view-set-search-equal-func">gtk_tree_view_set_search_equal_func</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeView.html#GtkTreeViewSearchEqualFunc">GtkTreeViewSearchEqualFunc</a> search_equal_func,
                                             <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> search_user_data,
                                             <a href="gtk-Types.html#GtkDestroyNotify">GtkDestroyNotify</a> search_destroy);
<a href="GtkEntry.html" title="GtkEntry">GtkEntry</a>*   <a href="GtkTreeView.html#gtk-tree-view-get-search-entry">gtk_tree_view_get_search_entry</a>  (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);
void        <a href="GtkTreeView.html#gtk-tree-view-set-search-entry">gtk_tree_view_set_search_entry</a>  (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry);
void        (<a href="GtkTreeView.html#GtkTreeViewSearchPositionFunc">*GtkTreeViewSearchPositionFunc</a>)
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *search_dialog,
                                             <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data);
<a href="GtkTreeView.html#GtkTreeViewSearchPositionFunc">GtkTreeViewSearchPositionFunc</a> <a href="GtkTreeView.html#gtk-tree-view-get-search-position-func">gtk_tree_view_get_search_position_func</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);
void        <a href="GtkTreeView.html#gtk-tree-view-set-search-position-func">gtk_tree_view_set_search_position_func</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeView.html#GtkTreeViewSearchPositionFunc">GtkTreeViewSearchPositionFunc</a> func,
                                             <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data,
                                             <a
href="../glib/glib-Datasets.html#GDestroyNotify"
>GDestroyNotify</a> destroy);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    <a href="GtkTreeView.html#gtk-tree-view-get-fixed-height-mode">gtk_tree_view_get_fixed_height_mode</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);
void        <a href="GtkTreeView.html#gtk-tree-view-set-fixed-height-mode">gtk_tree_view_set_fixed_height_mode</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> enable);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    <a href="GtkTreeView.html#gtk-tree-view-get-hover-selection">gtk_tree_view_get_hover_selection</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);
void        <a href="GtkTreeView.html#gtk-tree-view-set-hover-selection">gtk_tree_view_set_hover_selection</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> hover);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    <a href="GtkTreeView.html#gtk-tree-view-get-hover-expand">gtk_tree_view_get_hover_expand</a>  (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);
void        <a href="GtkTreeView.html#gtk-tree-view-set-hover-expand">gtk_tree_view_set_hover_expand</a>  (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> expand);
void        (<a href="GtkTreeView.html#GtkTreeDestroyCountFunc">*GtkTreeDestroyCountFunc</a>)      (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> *path,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> children,
                                             <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data);
void        <a href="GtkTreeView.html#gtk-tree-view-set-destroy-count-func">gtk_tree_view_set_destroy_count_func</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeView.html#GtkTreeDestroyCountFunc">GtkTreeDestroyCountFunc</a> func,
                                             <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data,
                                             <a href="gtk-Types.html#GtkDestroyNotify">GtkDestroyNotify</a> destroy);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    (<a href="GtkTreeView.html#GtkTreeViewRowSeparatorFunc">*GtkTreeViewRowSeparatorFunc</a>)  (<a href="GtkTreeModel.html" title="GtkTreeModel">GtkTreeModel</a> *model,
                                             <a href="GtkTreeModel.html#GtkTreeIter">GtkTreeIter</a> *iter,
                                             <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);
<a href="GtkTreeView.html#GtkTreeViewRowSeparatorFunc">GtkTreeViewRowSeparatorFunc</a> <a href="GtkTreeView.html#gtk-tree-view-get-row-separator-func">gtk_tree_view_get_row_separator_func</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);
void        <a href="GtkTreeView.html#gtk-tree-view-set-row-separator-func">gtk_tree_view_set_row_separator_func</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeView.html#GtkTreeViewRowSeparatorFunc">GtkTreeViewRowSeparatorFunc</a> func,
                                             <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data,
                                             <a href="gtk-Types.html#GtkDestroyNotify">GtkDestroyNotify</a> destroy);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    <a href="GtkTreeView.html#gtk-tree-view-get-rubber-banding">gtk_tree_view_get_rubber_banding</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);
void        <a href="GtkTreeView.html#gtk-tree-view-set-rubber-banding">gtk_tree_view_set_rubber_banding</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> enable);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    <a href="GtkTreeView.html#gtk-tree-view-get-enable-tree-lines">gtk_tree_view_get_enable_tree_lines</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);
void        <a href="GtkTreeView.html#gtk-tree-view-set-enable-tree-lines">gtk_tree_view_set_enable_tree_lines</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> enabled);
enum        <a href="GtkTreeView.html#GtkTreeViewGridLines">GtkTreeViewGridLines</a>;
<a href="GtkTreeView.html#GtkTreeViewGridLines">GtkTreeViewGridLines</a> <a href="GtkTreeView.html#gtk-tree-view-get-grid-lines">gtk_tree_view_get_grid_lines</a>
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);
void        <a href="GtkTreeView.html#gtk-tree-view-set-grid-lines">gtk_tree_view_set_grid_lines</a>    (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeView.html#GtkTreeViewGridLines">GtkTreeViewGridLines</a> grid_lines);


</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3127136"></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>
                           +----GtkTreeView
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3127190"></a><h2>Implemented Interfaces</h2>
<p>
GtkTreeView implements
 AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id3127213"></a><h2>Properties</h2>
<pre class="synopsis">

  "<a href="GtkTreeView.html#GtkTreeView--enable-grid-lines">enable-grid-lines</a>"    <a href="GtkTreeView.html#GtkTreeViewGridLines">GtkTreeViewGridLines</a>  : Read / Write
  "<a href="GtkTreeView.html#GtkTreeView--enable-search">enable-search</a>"        <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTreeView.html#GtkTreeView--enable-tree-lines">enable-tree-lines</a>"    <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTreeView.html#GtkTreeView--expander-column">expander-column</a>"      <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a>     : Read / Write
  "<a href="GtkTreeView.html#GtkTreeView--fixed-height-mode">fixed-height-mode</a>"    <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTreeView.html#GtkTreeView--hadjustment">hadjustment</a>"          <a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a>         : Read / Write
  "<a href="GtkTreeView.html#GtkTreeView--headers-clickable">headers-clickable</a>"    <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTreeView.html#GtkTreeView--headers-visible">headers-visible</a>"      <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTreeView.html#GtkTreeView--hover-expand">hover-expand</a>"         <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTreeView.html#GtkTreeView--hover-selection">hover-selection</a>"      <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTreeView.html#GtkTreeView--level-indentation">level-indentation</a>"    <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read / Write
  "<a href="GtkTreeView.html#GtkTreeView--model">model</a>"                <a href="GtkTreeModel.html" title="GtkTreeModel">GtkTreeModel</a>          : Read / Write
  "<a href="GtkTreeView.html#GtkTreeView--reorderable">reorderable</a>"          <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTreeView.html#GtkTreeView--rubber-banding">rubber-banding</a>"       <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTreeView.html#GtkTreeView--rules-hint">rules-hint</a>"           <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTreeView.html#GtkTreeView--search-column">search-column</a>"        <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read / Write
  "<a href="GtkTreeView.html#GtkTreeView--show-expanders">show-expanders</a>"       <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTreeView.html#GtkTreeView--vadjustment">vadjustment</a>"          <a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a>         : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3127539"></a><h2>Style Properties</h2>
<pre class="synopsis">

  "<a href="GtkTreeView.html#GtkTreeView--allow-rules">allow-rules</a>"          <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read
  "<a href="GtkTreeView.html#GtkTreeView--even-row-color">even-row-color</a>"       <a
href="../gdk/gdk-Colormaps-and-Colors.html#GdkColor"
>GdkColor</a>              : Read
  "<a href="GtkTreeView.html#GtkTreeView--expander-size">expander-size</a>"        <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read
  "<a href="GtkTreeView.html#GtkTreeView--grid-line-pattern">grid-line-pattern</a>"    <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a>            : Read
  "<a href="GtkTreeView.html#GtkTreeView--grid-line-width">grid-line-width</a>"      <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read
  "<a href="GtkTreeView.html#GtkTreeView--horizontal-separator">horizontal-separator</a>" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read
  "<a href="GtkTreeView.html#GtkTreeView--indent-expanders">indent-expanders</a>"     <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read
  "<a href="GtkTreeView.html#GtkTreeView--odd-row-color">odd-row-color</a>"        <a
href="../gdk/gdk-Colormaps-and-Colors.html#GdkColor"
>GdkColor</a>              : Read
  "<a href="GtkTreeView.html#GtkTreeView--row-ending-details">row-ending-details</a>"   <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read
  "<a href="GtkTreeView.html#GtkTreeView--tree-line-pattern">tree-line-pattern</a>"    <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a>            : Read
  "<a href="GtkTreeView.html#GtkTreeView--tree-line-width">tree-line-width</a>"      <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read
  "<a href="GtkTreeView.html#GtkTreeView--vertical-separator">vertical-separator</a>"   <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3127757"></a><h2>Signals</h2>
<pre class="synopsis">

"<a href="GtkTreeView.html#GtkTreeView-columns-changed">columns-changed</a>"
            void        user_function      (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>     user_data)      : Run last
"<a href="GtkTreeView.html#GtkTreeView-cursor-changed">cursor-changed</a>"
            void        user_function      (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>     user_data)      : Run last
"<a href="GtkTreeView.html#GtkTreeView-expand-collapse-cursor-row">expand-collapse-cursor-row</a>"
            <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    user_function      (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *treeview,
                                            <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>     arg1,
                                            <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>     arg2,
                                            <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>     arg3,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>     user_data)      : Run last / Action
"<a href="GtkTreeView.html#GtkTreeView-move-cursor">move-cursor</a>"
            <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    user_function      (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a>     *treeview,
                                            <a href="gtk-Standard-Enumerations.html#GtkMovementStep">GtkMovementStep</a> *arg1,
                                            <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>             arg2,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>         user_data)      : Run last / Action
"<a href="GtkTreeView.html#GtkTreeView-row-activated">row-activated</a>"
            void        user_function      (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a>       *tree_view,
                                            <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a>       *path,
                                            <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *column,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>           user_data)      : Run last / Action
"<a href="GtkTreeView.html#GtkTreeView-row-collapsed">row-collapsed</a>"
            void        user_function      (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                            <a href="GtkTreeModel.html#GtkTreeIter">GtkTreeIter</a> *iter,
                                            <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> *path,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>     user_data)      : Run last
"<a href="GtkTreeView.html#GtkTreeView-row-expanded">row-expanded</a>"
            void        user_function      (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                            <a href="GtkTreeModel.html#GtkTreeIter">GtkTreeIter</a> *iter,
                                            <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> *path,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>     user_data)      : Run last
"<a href="GtkTreeView.html#GtkTreeView-select-all">select-all</a>"
            <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    user_function      (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *treeview,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>     user_data)      : Run last / Action
"<a href="GtkTreeView.html#GtkTreeView-select-cursor-parent">select-cursor-parent</a>"
            <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    user_function      (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *treeview,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>     user_data)      : Run last / Action
"<a href="GtkTreeView.html#GtkTreeView-select-cursor-row">select-cursor-row</a>"
            <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    user_function      (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *treeview,
                                            <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>     arg1,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>     user_data)      : Run last / Action
"<a href="GtkTreeView.html#GtkTreeView-set-scroll-adjustments">set-scroll-adjustments</a>"
            void        user_function      (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a>   *treeview,
                                            <a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *arg1,
                                            <a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *arg2,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>       user_data)      : Run last / Action
"<a href="GtkTreeView.html#GtkTreeView-start-interactive-search">start-interactive-search</a>"
            <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    user_function      (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *treeview,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>     user_data)      : Run last / Action
"<a href="GtkTreeView.html#GtkTreeView-test-collapse-row">test-collapse-row</a>"
            <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    user_function      (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                            <a href="GtkTreeModel.html#GtkTreeIter">GtkTreeIter</a> *iter,
                                            <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> *path,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>     user_data)      : Run last
"<a href="GtkTreeView.html#GtkTreeView-test-expand-row">test-expand-row</a>"
            <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    user_function      (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                            <a href="GtkTreeModel.html#GtkTreeIter">GtkTreeIter</a> *iter,
                                            <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> *path,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>     user_data)      : Run last
"<a href="GtkTreeView.html#GtkTreeView-toggle-cursor-row">toggle-cursor-row</a>"
            <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    user_function      (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *treeview,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>     user_data)      : Run last / Action
"<a href="GtkTreeView.html#GtkTreeView-unselect-all">unselect-all</a>"
            <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    user_function      (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *treeview,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>     user_data)      : Run last / Action
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3128435"></a><h2>Description</h2>
<p>
Widget that displays any object that implements the <a href="GtkTreeModel.html" title="GtkTreeModel">GtkTreeModel</a> interface.
</p>
<p>
Please refer to the <a href="TreeWidget.html" title="Tree and List Widget Overview">tree widget conceptual overview</a> 
for an overview of all the objects and data types related to the tree widget and how 
they work together.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id3128470"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id3128480"></a><h3>
<a name="GtkTreeView-struct"></a>GtkTreeView</h3>
<a class="indexterm" name="id3128493"></a><pre class="programlisting">typedef struct _GtkTreeView GtkTreeView;</pre>
<p>

</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3128508"></a><h3>
<a name="GtkTreeViewDropPosition"></a>enum GtkTreeViewDropPosition</h3>
<a class="indexterm" name="id3128522"></a><pre class="programlisting">typedef enum
{
  /* drop before/after this row */
  GTK_TREE_VIEW_DROP_BEFORE,
  GTK_TREE_VIEW_DROP_AFTER,
  /* drop as a child of this row (with fallback to before or after
   * if into is not possible)
   */
  GTK_TREE_VIEW_DROP_INTO_OR_BEFORE,
  GTK_TREE_VIEW_DROP_INTO_OR_AFTER
} GtkTreeViewDropPosition;
</pre>
<p>
An enum for determining where a dropped row goes.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><a name="GTK-TREE-VIEW-DROP-BEFORE:CAPS"></a><code class="literal">GTK_TREE_VIEW_DROP_BEFORE</code></span></td>
<td>dropped row is inserted before
</td>
</tr>
<tr>
<td>
<span class="term"><a name="GTK-TREE-VIEW-DROP-AFTER:CAPS"></a><code class="literal">GTK_TREE_VIEW_DROP_AFTER</code></span></td>
<td>dropped row is inserted after
</td>
</tr>
<tr>
<td>
<span class="term"><a name="GTK-TREE-VIEW-DROP-INTO-OR-BEFORE:CAPS"></a><code class="literal">GTK_TREE_VIEW_DROP_INTO_OR_BEFORE</code></span></td>
<td>dropped row becomes a child or is inserted before
</td>
</tr>
<tr>
<td>
<span class="term"><a name="GTK-TREE-VIEW-DROP-INTO-OR-AFTER:CAPS"></a><code class="literal">GTK_TREE_VIEW_DROP_INTO_OR_AFTER</code></span></td>
<td>dropped row becomes a child or is inserted after

</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3128642"></a><h3>
<a name="GtkTreeViewPrivate"></a>GtkTreeViewPrivate</h3>
<a class="indexterm" name="id3128654"></a><pre class="programlisting">typedef struct _GtkTreeViewPrivate GtkTreeViewPrivate;</pre>
<p>
A private struct for internal use only.  The definition of this
structure is not publically available.
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3128672"></a><h3>
<a name="GtkTreeViewColumnDropFunc"></a>GtkTreeViewColumnDropFunc ()</h3>
<a class="indexterm" name="id3128686"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    (*GtkTreeViewColumnDropFunc)    (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *column,
                                             <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *prev_column,
                                             <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *next_column,
                                             <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);</pre>
<p>
Function type for determining whether <em class="parameter"><code>column</code></em> can be dropped in a
particular spot (as determined by <em class="parameter"><code>prev_column</code></em> and <em class="parameter"><code>next_column</code></em>).  In
left to right locales, <em class="parameter"><code>prev_column</code></em> is on the left of the potential drop
spot, and <em class="parameter"><code>next_column</code></em> is on the right.  In right to left mode, this is
reversed.  This function should return <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the spot is a valid drop
spot.  Please note that returning <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> does not actually indicate that
the column drop was made, but is meant only to indicate a possible drop
spot to the user.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td>A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>column</code></em>&#160;:</span></td>
<td>The <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> being dragged
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>prev_column</code></em>&#160;:</span></td>
<td>A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> on one side of <em class="parameter"><code>column</code></em>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>next_column</code></em>&#160;:</span></td>
<td>A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> on the other side of <em class="parameter"><code>column</code></em>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
<td>user data
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>
<a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a>, if <a href="glossary.html#column"><span class="type">column</span></a> can be dropped in this spot


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3128949"></a><h3>
<a name="GtkTreeViewMappingFunc"></a>GtkTreeViewMappingFunc ()</h3>
<a class="indexterm" name="id3128962"></a><pre class="programlisting">void        (*GtkTreeViewMappingFunc)       (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> *path,
                                             <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data);</pre>
<p>
Function used for <a href="GtkTreeView.html#gtk-tree-view-map-expanded-rows"><span class="type">gtk_tree_view_map_expanded_rows</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td>A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em>&#160;:</span></td>
<td>The path that's expanded
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
<td>user data


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3129068"></a><h3>
<a name="GtkTreeViewSearchEqualFunc"></a>GtkTreeViewSearchEqualFunc ()</h3>
<a class="indexterm" name="id3129082"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    (*GtkTreeViewSearchEqualFunc)   (<a href="GtkTreeModel.html" title="GtkTreeModel">GtkTreeModel</a> *model,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> column,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *key,
                                             <a href="GtkTreeModel.html#GtkTreeIter">GtkTreeIter</a> *iter,
                                             <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> search_data);</pre>
<p>
A function used for checking whether a row in <em class="parameter"><code>model</code></em> matches
a search key string entered by the user. Note the return value
is reversed from what you would normally expect, though it
has some similarity to <code class="function">strcmp()</code> returning 0 for equal strings.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>model</code></em>&#160;:</span></td>
<td>the <a href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> being searched
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>column</code></em>&#160;:</span></td>
<td>the search column set by <a href="GtkTreeView.html#gtk-tree-view-set-search-column"><code class="function">gtk_tree_view_set_search_column()</code></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>key</code></em>&#160;:</span></td>
<td>the key string to compare with
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>iter</code></em>&#160;:</span></td>
<td>a <a href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> pointing the row of <em class="parameter"><code>model</code></em> that should be compared
  with <em class="parameter"><code>key</code></em>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>search_data</code></em>&#160;:</span></td>
<td>user data from <a href="GtkTreeView.html#gtk-tree-view-set-search-equal-func"><code class="function">gtk_tree_view_set_search_equal_func()</code></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>
<a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> if the row matches, <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> otherwise.


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3129318"></a><h3>
<a name="gtk-tree-view-new"></a>gtk_tree_view_new ()</h3>
<a class="indexterm" name="id3129332"></a><pre class="programlisting"><a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>*  gtk_tree_view_new               (void);</pre>
<p>
Creates a new <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> widget.</p>
<p>

</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>&#160;:</span></td>
<td> A newly created <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> widget.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3129387"></a><h3>
<a name="gtk-tree-view-new-with-model"></a>gtk_tree_view_new_with_model ()</h3>
<a class="indexterm" name="id3129399"></a><pre class="programlisting"><a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>*  gtk_tree_view_new_with_model    (<a href="GtkTreeModel.html" title="GtkTreeModel">GtkTreeModel</a> *model);</pre>
<p>
Creates a new <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> widget with the model initialized to <em class="parameter"><code>model</code></em>.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>model</code></em>&#160;:</span></td>
<td> the model.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> A newly created <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> widget.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3129483"></a><h3>
<a name="gtk-tree-view-get-model"></a>gtk_tree_view_get_model ()</h3>
<a class="indexterm" name="id3129496"></a><pre class="programlisting"><a href="GtkTreeModel.html" title="GtkTreeModel">GtkTreeModel</a>* gtk_tree_view_get_model       (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);</pre>
<p>
Returns the model the <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> is based on.  Returns <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if the
model is unset.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> A <a href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a>, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if none is currently being used.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3129602"></a><h3>
<a name="gtk-tree-view-set-model"></a>gtk_tree_view_set_model ()</h3>
<a class="indexterm" name="id3129615"></a><pre class="programlisting">void        gtk_tree_view_set_model         (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeModel.html" title="GtkTreeModel">GtkTreeModel</a> *model);</pre>
<p>
Sets the model for a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.  If the <em class="parameter"><code>tree_view</code></em> already has a model
set, it will remove it before setting the new model.  If <em class="parameter"><code>model</code></em> is <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>, 
then it will unset the old model.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <span class="type">GtkTreeNode</span>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>model</code></em>&#160;:</span></td>
<td> The model.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3129727"></a><h3>
<a name="gtk-tree-view-get-selection"></a>gtk_tree_view_get_selection ()</h3>
<a class="indexterm" name="id3129741"></a><pre class="programlisting"><a href="GtkTreeSelection.html" title="GtkTreeSelection">GtkTreeSelection</a>* gtk_tree_view_get_selection
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);</pre>
<p>
Gets the <a href="GtkTreeSelection.html" title="GtkTreeSelection"><span class="type">GtkTreeSelection</span></a> associated with <em class="parameter"><code>tree_view</code></em>.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> A <a href="GtkTreeSelection.html" title="GtkTreeSelection"><span class="type">GtkTreeSelection</span></a> object.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3129832"></a><h3>
<a name="gtk-tree-view-get-hadjustment"></a>gtk_tree_view_get_hadjustment ()</h3>
<a class="indexterm" name="id3129845"></a><pre class="programlisting"><a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a>* gtk_tree_view_get_hadjustment
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);</pre>
<p>
Gets the <a href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> currently being used for the horizontal aspect.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> A <a href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> object, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if none is currently being
used.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3129942"></a><h3>
<a name="gtk-tree-view-set-hadjustment"></a>gtk_tree_view_set_hadjustment ()</h3>
<a class="indexterm" name="id3129956"></a><pre class="programlisting">void        gtk_tree_view_set_hadjustment   (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *adjustment);</pre>
<p>
Sets the <a href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> for the current horizontal aspect.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>adjustment</code></em>&#160;:</span></td>
<td> The <a href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> to set, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3130062"></a><h3>
<a name="gtk-tree-view-get-vadjustment"></a>gtk_tree_view_get_vadjustment ()</h3>
<a class="indexterm" name="id3130076"></a><pre class="programlisting"><a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a>* gtk_tree_view_get_vadjustment
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);</pre>
<p>
Gets the <a href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> currently being used for the vertical aspect.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> A <a href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> object, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if none is currently being
used.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3130173"></a><h3>
<a name="gtk-tree-view-set-vadjustment"></a>gtk_tree_view_set_vadjustment ()</h3>
<a class="indexterm" name="id3130187"></a><pre class="programlisting">void        gtk_tree_view_set_vadjustment   (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *adjustment);</pre>
<p>
Sets the <a href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> for the current vertical aspect.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>adjustment</code></em>&#160;:</span></td>
<td> The <a href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> to set, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3130293"></a><h3>
<a name="gtk-tree-view-get-headers-visible"></a>gtk_tree_view_get_headers_visible ()</h3>
<a class="indexterm" name="id3130308"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    gtk_tree_view_get_headers_visible
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);</pre>
<p>
Returns <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the headers on the <em class="parameter"><code>tree_view</code></em> are visible.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> Whether the headers are visible or not.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3130393"></a><h3>
<a name="gtk-tree-view-set-headers-visible"></a>gtk_tree_view_set_headers_visible ()</h3>
<a class="indexterm" name="id3130407"></a><pre class="programlisting">void        gtk_tree_view_set_headers_visible
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> headers_visible);</pre>
<p>
Sets the visibility state of the headers.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>headers_visible</code></em>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the headers are visible
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3130497"></a><h3>
<a name="gtk-tree-view-columns-autosize"></a>gtk_tree_view_columns_autosize ()</h3>
<a class="indexterm" name="id3130510"></a><pre class="programlisting">void        gtk_tree_view_columns_autosize  (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);</pre>
<p>
Resizes all columns to their optimal width. Only works after the
treeview has been realized.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3130569"></a><h3>
<a name="gtk-tree-view-get-headers-clickable"></a>gtk_tree_view_get_headers_clickable ()</h3>
<a class="indexterm" name="id3130586"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    gtk_tree_view_get_headers_clickable
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);</pre>
<p>
Returns whether all header columns are clickable.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if all header columns are clickable, otherwise <a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a>

</td>
</tr>
</tbody>
</table></div>
<p>Since  2.10
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3130680"></a><h3>
<a name="gtk-tree-view-set-headers-clickable"></a>gtk_tree_view_set_headers_clickable ()</h3>
<a class="indexterm" name="id3130695"></a><pre class="programlisting">void        gtk_tree_view_set_headers_clickable
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> setting);</pre>
<p>
Allow the column title buttons to be clicked.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>setting</code></em>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the columns are clickable.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3130785"></a><h3>
<a name="gtk-tree-view-set-rules-hint"></a>gtk_tree_view_set_rules_hint ()</h3>
<a class="indexterm" name="id3130798"></a><pre class="programlisting">void        gtk_tree_view_set_rules_hint    (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> setting);</pre>
<p>
This function tells GTK+ that the user interface for your
application requires users to read across tree rows and associate
cells with one another. By default, GTK+ will then render the tree
with alternating row colors. Do <span class="emphasis"><em>not</em></span> use it
just because you prefer the appearance of the ruled tree; that's a
question for the theme. Some themes will draw tree rows in
alternating colors even when rules are turned off, and users who
prefer that appearance all the time can choose those themes. You
should call this function only as a <span class="emphasis"><em>semantic</em></span>
hint to the theme engine that your tree makes alternating colors
useful from a functional standpoint (since it has lots of columns,
generally).</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>setting</code></em>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the tree requires reading across rows
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3130906"></a><h3>
<a name="gtk-tree-view-get-rules-hint"></a>gtk_tree_view_get_rules_hint ()</h3>
<a class="indexterm" name="id3130919"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    gtk_tree_view_get_rules_hint    (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);</pre>
<p>
Gets the setting set by <a href="GtkTreeView.html#gtk-tree-view-set-rules-hint"><code class="function">gtk_tree_view_set_rules_hint()</code></a>.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if rules are useful for the user of this tree
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3131009"></a><h3>
<a name="gtk-tree-view-append-column"></a>gtk_tree_view_append_column ()</h3>
<a class="indexterm" name="id3131023"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>        gtk_tree_view_append_column     (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *column);</pre>
<p>
Appends <em class="parameter"><code>column</code></em> to the list of columns. If <em class="parameter"><code>tree_view</code></em> has "fixed_height"
mode enabled, then <em class="parameter"><code>column</code></em> must have its "sizing" property set to be
GTK_TREE_VIEW_COLUMN_FIXED.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>column</code></em>&#160;:</span></td>
<td> The <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> to add.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> The number of columns in <em class="parameter"><code>tree_view</code></em> after appending.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3131147"></a><h3>
<a name="gtk-tree-view-remove-column"></a>gtk_tree_view_remove_column ()</h3>
<a class="indexterm" name="id3131160"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>        gtk_tree_view_remove_column     (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *column);</pre>
<p>
Removes <em class="parameter"><code>column</code></em> from <em class="parameter"><code>tree_view</code></em>.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>column</code></em>&#160;:</span></td>
<td> The <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> to remove.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> The number of columns in <em class="parameter"><code>tree_view</code></em> after removing.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3131276"></a><h3>
<a name="gtk-tree-view-insert-column"></a>gtk_tree_view_insert_column ()</h3>
<a class="indexterm" name="id3131289"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>        gtk_tree_view_insert_column     (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *column,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> position);</pre>
<p>
This inserts the <em class="parameter"><code>column</code></em> into the <em class="parameter"><code>tree_view</code></em> at <em class="parameter"><code>position</code></em>.  If <em class="parameter"><code>position</code></em> is
-1, then the column is inserted at the end. If <em class="parameter"><code>tree_view</code></em> has
"fixed_height" mode enabled, then <em class="parameter"><code>column</code></em> must have its "sizing" property
set to be GTK_TREE_VIEW_COLUMN_FIXED.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>column</code></em>&#160;:</span></td>
<td> The <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> to be inserted.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>position</code></em>&#160;:</span></td>
<td> The position to insert <em class="parameter"><code>column</code></em> in.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> The number of columns in <em class="parameter"><code>tree_view</code></em> after insertion.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3131459"></a><h3>
<a name="gtk-tree-view-insert-column-with-attributes"></a>gtk_tree_view_insert_column_with_attributes ()</h3>
<a class="indexterm" name="id3131474"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>        gtk_tree_view_insert_column_with_attributes
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> position,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
                                             <a href="GtkCellRenderer.html" title="GtkCellRenderer">GtkCellRenderer</a> *cell,
                                             ...);</pre>
<p>
Creates a new <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> and inserts it into the <em class="parameter"><code>tree_view</code></em> at
<em class="parameter"><code>position</code></em>.  If <em class="parameter"><code>position</code></em> is -1, then the newly created column is inserted at
the end.  The column is initialized with the attributes given. If <em class="parameter"><code>tree_view</code></em>
has "fixed_height" mode enabled, then the new column will have its sizing
property set to be GTK_TREE_VIEW_COLUMN_FIXED.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>position</code></em>&#160;:</span></td>
<td> The position to insert the new column in.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>title</code></em>&#160;:</span></td>
<td> The title to set the header to.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>cell</code></em>&#160;:</span></td>
<td> The <a href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>...</code></em>&#160;:</span></td>
<td> A <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>-terminated list of attributes.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> The number of columns in <em class="parameter"><code>tree_view</code></em> after insertion.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3131684"></a><h3>
<a name="gtk-tree-view-insert-column-with-data-func"></a>gtk_tree_view_insert_column_with_data_func ()</h3>
<a class="indexterm" name="id3131698"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>        gtk_tree_view_insert_column_with_data_func
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> position,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
                                             <a href="GtkCellRenderer.html" title="GtkCellRenderer">GtkCellRenderer</a> *cell,
                                             <a href="GtkTreeViewColumn.html#GtkTreeCellDataFunc">GtkTreeCellDataFunc</a> func,
                                             <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data,
                                             <a
href="../glib/glib-Datasets.html#GDestroyNotify"
>GDestroyNotify</a> dnotify);</pre>
<p>
Convenience function that inserts a new column into the <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
with the given cell renderer and a <span class="type">GtkCellDataFunc</span> to set cell renderer
attributes (normally using data from the model). See also
<a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-cell-data-func"><code class="function">gtk_tree_view_column_set_cell_data_func()</code></a>, <a href="GtkTreeViewColumn.html#gtk-tree-view-column-pack-start"><code class="function">gtk_tree_view_column_pack_start()</code></a>.
If <em class="parameter"><code>tree_view</code></em> has "fixed_height" mode enabled, then the new column will have its
"sizing" property set to be GTK_TREE_VIEW_COLUMN_FIXED.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>position</code></em>&#160;:</span></td>
<td> Position to insert, -1 for append
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>title</code></em>&#160;:</span></td>
<td> column title
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>cell</code></em>&#160;:</span></td>
<td> cell renderer for column
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>func</code></em>&#160;:</span></td>
<td> function to set attributes of cell renderer
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
<td> data for <em class="parameter"><code>func</code></em>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>dnotify</code></em>&#160;:</span></td>
<td> destroy notifier for <em class="parameter"><code>data</code></em>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> number of columns in the tree view post-insert
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3131962"></a><h3>
<a name="gtk-tree-view-get-column"></a>gtk_tree_view_get_column ()</h3>
<a class="indexterm" name="id3131975"></a><pre class="programlisting"><a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a>* gtk_tree_view_get_column (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> n);</pre>
<p>
Gets the <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> at the given position in the <span class="type">tree_view</span>.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>n</code></em>&#160;:</span></td>
<td> The position of the column, counting from 0.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> The <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if the position is outside the
range of columns.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3132102"></a><h3>
<a name="gtk-tree-view-get-columns"></a>gtk_tree_view_get_columns ()</h3>
<a class="indexterm" name="id3132116"></a><pre class="programlisting"><a
href="../glib/glib-Doubly-Linked-Lists.html#GList"
>GList</a>*      gtk_tree_view_get_columns       (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);</pre>
<p>
Returns a <a
href="../glib/glib-Doubly-Linked-Lists.html#GList"
><span class="type">GList</span></a> of all the <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> s currently in <em class="parameter"><code>tree_view</code></em>.
The returned list must be freed with <a
href="../glib/glib-Doubly-Linked-Lists.html#g-list-free"
><code class="function">g_list_free()</code></a>.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> A list of <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> s
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3132225"></a><h3>
<a name="gtk-tree-view-move-column-after"></a>gtk_tree_view_move_column_after ()</h3>
<a class="indexterm" name="id3132239"></a><pre class="programlisting">void        gtk_tree_view_move_column_after (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *column,
                                             <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *base_column);</pre>
<p>
Moves <em class="parameter"><code>column</code></em> to be after to <em class="parameter"><code>base_column</code></em>.  If <em class="parameter"><code>base_column</code></em> is <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>, then
<em class="parameter"><code>column</code></em> is placed in the first position.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>column</code></em>&#160;:</span></td>
<td> The <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> to be moved.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>base_column</code></em>&#160;:</span></td>
<td> The <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> to be moved relative to, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3132402"></a><h3>
<a name="gtk-tree-view-set-expander-column"></a>gtk_tree_view_set_expander_column ()</h3>
<a class="indexterm" name="id3132417"></a><pre class="programlisting">void        gtk_tree_view_set_expander_column
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *column);</pre>
<p>
Sets the column to draw the expander arrow at. It must be in <em class="parameter"><code>tree_view</code></em>.  
If <em class="parameter"><code>column</code></em> is <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>, then the expander arrow is always at the first 
visible column.
</p>
<p>
If you do not want expander arrow to appear in your tree, set the 
expander column to a hidden column.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>column</code></em>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>, or the column to draw the expander arrow at.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3132536"></a><h3>
<a name="gtk-tree-view-get-expander-column"></a>gtk_tree_view_get_expander_column ()</h3>
<a class="indexterm" name="id3132550"></a><pre class="programlisting"><a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a>* gtk_tree_view_get_expander_column
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);</pre>
<p>
Returns the column that is the current expander column.  This
column has the expander arrow drawn next to it.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> The expander column.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3132621"></a><h3>
<a name="gtk-tree-view-set-column-drag-function"></a>gtk_tree_view_set_column_drag_function ()</h3>
<a class="indexterm" name="id3132634"></a><pre class="programlisting">void        gtk_tree_view_set_column_drag_function
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeView.html#GtkTreeViewColumnDropFunc">GtkTreeViewColumnDropFunc</a> func,
                                             <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data,
                                             <a href="gtk-Types.html#GtkDestroyNotify">GtkDestroyNotify</a> destroy);</pre>
<p>
Sets a user function for determining where a column may be dropped when
dragged.  This function is called on every column pair in turn at the
beginning of a column drag to determine where a drop can take place.  The
arguments passed to <em class="parameter"><code>func</code></em> are: the <em class="parameter"><code>tree_view</code></em>, the <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> being
dragged, the two <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> s determining the drop spot, and
<em class="parameter"><code>user_data</code></em>.  If either of the <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> arguments for the drop spot
are <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>, then they indicate an edge.  If <em class="parameter"><code>func</code></em> is set to be <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>, then
<em class="parameter"><code>tree_view</code></em> reverts to the default behavior of allowing all columns to be
dropped everywhere.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>func</code></em>&#160;:</span></td>
<td> A function to determine which columns are reorderable, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
<td> User data to be passed to <em class="parameter"><code>func</code></em>, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>destroy</code></em>&#160;:</span></td>
<td> Destroy notifier for <em class="parameter"><code>user_data</code></em>, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3132884"></a><h3>
<a name="gtk-tree-view-scroll-to-point"></a>gtk_tree_view_scroll_to_point ()</h3>
<a class="indexterm" name="id3132898"></a><pre class="programlisting">void        gtk_tree_view_scroll_to_point   (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> tree_x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> tree_y);</pre>
<p>
Scrolls the tree view such that the top-left corner of the visible
area is <em class="parameter"><code>tree_x</code></em>, <em class="parameter"><code>tree_y</code></em>, where <em class="parameter"><code>tree_x</code></em> and <em class="parameter"><code>tree_y</code></em> are specified
in tree window coordinates.  The <em class="parameter"><code>tree_view</code></em> must be realized before
this function is called.  If it isn't, you probably want to be
using <a href="GtkTreeView.html#gtk-tree-view-scroll-to-cell"><code class="function">gtk_tree_view_scroll_to_cell()</code></a>.
</p>
<p>
If either <em class="parameter"><code>tree_x</code></em> or <em class="parameter"><code>tree_y</code></em> are -1, then that direction isn't scrolled.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_x</code></em>&#160;:</span></td>
<td> X coordinate of new top-left pixel of visible area, or -1
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_y</code></em>&#160;:</span></td>
<td> Y coordinate of new top-left pixel of visible area, or -1
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3133060"></a><h3>
<a name="gtk-tree-view-scroll-to-cell"></a>gtk_tree_view_scroll_to_cell ()</h3>
<a class="indexterm" name="id3133074"></a><pre class="programlisting">void        gtk_tree_view_scroll_to_cell    (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> *path,
                                             <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *column,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> use_align,
                                             <a
href="../glib/glib-Basic-Types.html#gfloat"
>gfloat</a> row_align,
                                             <a
href="../glib/glib-Basic-Types.html#gfloat"
>gfloat</a> col_align);</pre>
<p>
Moves the alignments of <em class="parameter"><code>tree_view</code></em> to the position specified by <em class="parameter"><code>column</code></em> and
<em class="parameter"><code>path</code></em>.  If <em class="parameter"><code>column</code></em> is <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>, then no horizontal scrolling occurs.  Likewise,
if <em class="parameter"><code>path</code></em> is <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> no vertical scrolling occurs.  At a minimum, one of <em class="parameter"><code>column</code></em>
or <em class="parameter"><code>path</code></em> need to be non-<a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>.  <em class="parameter"><code>row_align</code></em> determines where the row is
placed, and <em class="parameter"><code>col_align</code></em> determines where <em class="parameter"><code>column</code></em> is placed.  Both are expected
to be between 0.0 and 1.0. 0.0 means left/top alignment, 1.0 means
right/bottom alignment, 0.5 means center.
</p>
<p>
If <em class="parameter"><code>use_align</code></em> is <a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a>, then the alignment arguments are ignored, and the
tree does the minimum amount of work to scroll the cell onto the screen.
This means that the cell will be scrolled to the edge closest to its current
position.  If the cell is currently visible on the screen, nothing is done.
</p>
<p>
This function only works if the model is set, and <em class="parameter"><code>path</code></em> is a valid row on the
model.  If the model changes before the <em class="parameter"><code>tree_view</code></em> is realized, the centered
path will be modified to reflect this change.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em>&#160;:</span></td>
<td> The path of the row to move to, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>column</code></em>&#160;:</span></td>
<td> The <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> to move horizontally to, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>use_align</code></em>&#160;:</span></td>
<td> whether to use alignment arguments, or <a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>row_align</code></em>&#160;:</span></td>
<td> The vertical alignment of the row specified by <em class="parameter"><code>path</code></em>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>col_align</code></em>&#160;:</span></td>
<td> The horizontal alignment of the column specified by <em class="parameter"><code>column</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3133430"></a><h3>
<a name="gtk-tree-view-set-cursor"></a>gtk_tree_view_set_cursor ()</h3>
<a class="indexterm" name="id3133443"></a><pre class="programlisting">void        gtk_tree_view_set_cursor        (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> *path,
                                             <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *focus_column,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> start_editing);</pre>
<p>
Sets the current keyboard focus to be at <em class="parameter"><code>path</code></em>, and selects it.  This is
useful when you want to focus the user's attention on a particular row.  If
<em class="parameter"><code>focus_column</code></em> is not <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>, then focus is given to the column specified by 
it. Additionally, if <em class="parameter"><code>focus_column</code></em> is specified, and <em class="parameter"><code>start_editing</code></em> is 
<a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a>, then editing should be started in the specified cell.  
This function is often followed by <em class="parameter"><code>gtk_widget_grab_focus</code></em> (<em class="parameter"><code>tree_view</code></em>) 
in order to give keyboard focus to the widget.  Please note that editing 
can only happen when the widget is realized.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>focus_column</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>start_editing</code></em>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the specified cell should start being edited.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3133665"></a><h3>
<a name="gtk-tree-view-set-cursor-on-cell"></a>gtk_tree_view_set_cursor_on_cell ()</h3>
<a class="indexterm" name="id3133681"></a><pre class="programlisting">void        gtk_tree_view_set_cursor_on_cell
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> *path,
                                             <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *focus_column,
                                             <a href="GtkCellRenderer.html" title="GtkCellRenderer">GtkCellRenderer</a> *focus_cell,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> start_editing);</pre>
<p>
Sets the current keyboard focus to be at <em class="parameter"><code>path</code></em>, and selects it.  This is
useful when you want to focus the user's attention on a particular row.  If
<em class="parameter"><code>focus_column</code></em> is not <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>, then focus is given to the column specified by
it. If <em class="parameter"><code>focus_column</code></em> and <em class="parameter"><code>focus_cell</code></em> are not <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>, and <em class="parameter"><code>focus_column</code></em>
contains 2 or more editable or activatable cells, then focus is given to
the cell specified by <em class="parameter"><code>focus_cell</code></em>. Additionally, if <em class="parameter"><code>focus_column</code></em> is
specified, and <em class="parameter"><code>start_editing</code></em> is <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a>, then editing should be started in
the specified cell.  This function is often followed by
<em class="parameter"><code>gtk_widget_grab_focus</code></em> (<em class="parameter"><code>tree_view</code></em>) in order to give keyboard focus to the
widget.  Please note that editing can only happen when the widget is
realized.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>focus_column</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>focus_cell</code></em>&#160;:</span></td>
<td> A <a href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a>, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>start_editing</code></em>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the specified cell should start being edited.
</td>
</tr>
</tbody>
</table></div>
<p>Since  2.2
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3133985"></a><h3>
<a name="gtk-tree-view-get-cursor"></a>gtk_tree_view_get_cursor ()</h3>
<a class="indexterm" name="id3133997"></a><pre class="programlisting">void        gtk_tree_view_get_cursor        (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> **path,
                                             <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> **focus_column);</pre>
<p>
Fills in <em class="parameter"><code>path</code></em> and <em class="parameter"><code>focus_column</code></em> with the current path and focus column.  If
the cursor isn't currently set, then *<em class="parameter"><code>path</code></em> will be <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>.  If no column
currently has focus, then *<em class="parameter"><code>focus_column</code></em> will be <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>.
</p>
<p>
The returned <a href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> must be freed with <a href="GtkTreeModel.html#gtk-tree-path-free"><code class="function">gtk_tree_path_free()</code></a> when
you are done with it.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em>&#160;:</span></td>
<td> A pointer to be filled with the current cursor path, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>focus_column</code></em>&#160;:</span></td>
<td> A pointer to be filled with the current focus column, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3134189"></a><h3>
<a name="gtk-tree-view-row-activated"></a>gtk_tree_view_row_activated ()</h3>
<a class="indexterm" name="id3134203"></a><pre class="programlisting">void        gtk_tree_view_row_activated     (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> *path,
                                             <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *column);</pre>
<p>
Activates the cell determined by <em class="parameter"><code>path</code></em> and <em class="parameter"><code>column</code></em>.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em>&#160;:</span></td>
<td> The <a href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> to be activated.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>column</code></em>&#160;:</span></td>
<td> The <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> to be activated.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3134332"></a><h3>
<a name="gtk-tree-view-expand-all"></a>gtk_tree_view_expand_all ()</h3>
<a class="indexterm" name="id3134345"></a><pre class="programlisting">void        gtk_tree_view_expand_all        (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);</pre>
<p>
Recursively expands all nodes in the <em class="parameter"><code>tree_view</code></em>.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3134408"></a><h3>
<a name="gtk-tree-view-collapse-all"></a>gtk_tree_view_collapse_all ()</h3>
<a class="indexterm" name="id3134422"></a><pre class="programlisting">void        gtk_tree_view_collapse_all      (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);</pre>
<p>
Recursively collapses all visible, expanded nodes in <em class="parameter"><code>tree_view</code></em>.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3134486"></a><h3>
<a name="gtk-tree-view-expand-to-path"></a>gtk_tree_view_expand_to_path ()</h3>
<a class="indexterm" name="id3134502"></a><pre class="programlisting">void        gtk_tree_view_expand_to_path    (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> *path);</pre>
<p>
Expands the row at <em class="parameter"><code>path</code></em>. This will also expand all parent rows of
<em class="parameter"><code>path</code></em> as necessary.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em>&#160;:</span></td>
<td> path to a row.
</td>
</tr>
</tbody>
</table></div>
<p>Since  2.2
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3134598"></a><h3>
<a name="gtk-tree-view-expand-row"></a>gtk_tree_view_expand_row ()</h3>
<a class="indexterm" name="id3134611"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    gtk_tree_view_expand_row        (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> *path,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> open_all);</pre>
<p>
Opens the row so its children are visible.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em>&#160;:</span></td>
<td> path to a row
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>open_all</code></em>&#160;:</span></td>
<td> whether to recursively expand, or just expand immediate children
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the row existed and had children
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3134734"></a><h3>
<a name="gtk-tree-view-collapse-row"></a>gtk_tree_view_collapse_row ()</h3>
<a class="indexterm" name="id3134748"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    gtk_tree_view_collapse_row      (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> *path);</pre>
<p>
Collapses a row (hides its child rows, if they exist).</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em>&#160;:</span></td>
<td> path to a row in the <em class="parameter"><code>tree_view</code></em>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the row was collapsed.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3134853"></a><h3>
<a name="gtk-tree-view-map-expanded-rows"></a>gtk_tree_view_map_expanded_rows ()</h3>
<a class="indexterm" name="id3134867"></a><pre class="programlisting">void        gtk_tree_view_map_expanded_rows (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeView.html#GtkTreeViewMappingFunc">GtkTreeViewMappingFunc</a> func,
                                             <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);</pre>
<p>
Calls <em class="parameter"><code>func</code></em> on all expanded rows.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>func</code></em>&#160;:</span></td>
<td> A function to be called
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
<td> User data to be passed to the function.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3134975"></a><h3>
<a name="gtk-tree-view-row-expanded"></a>gtk_tree_view_row_expanded ()</h3>
<a class="indexterm" name="id3134989"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    gtk_tree_view_row_expanded      (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> *path);</pre>
<p>
Returns <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the node pointed to by <em class="parameter"><code>path</code></em> is expanded in <em class="parameter"><code>tree_view</code></em>.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> to test expansion state.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if <span class="type">path</span> is expanded.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3135127"></a><h3>
<a name="gtk-tree-view-set-reorderable"></a>gtk_tree_view_set_reorderable ()</h3>
<a class="indexterm" name="id3135141"></a><pre class="programlisting">void        gtk_tree_view_set_reorderable   (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> reorderable);</pre>
<p>
This function is a convenience function to allow you to reorder models that
support the <span class="type">GtkDragSourceIface</span> and the <span class="type">GtkDragDestIface</span>.  Both
<a href="GtkTreeStore.html" title="GtkTreeStore"><span class="type">GtkTreeStore</span></a> and <a href="GtkListStore.html" title="GtkListStore"><span class="type">GtkListStore</span></a> support these.  If <em class="parameter"><code>reorderable</code></em> is <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a>, then
the user can reorder the model by dragging and dropping rows.  The
developer can listen to these changes by connecting to the model's
row_inserted and row_deleted signals.
</p>
<p>
This function does not give you any degree of control over the order -- any
reordering is allowed.  If more control is needed, you should probably
handle drag and drop manually.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>reorderable</code></em>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a>, if the tree can be reordered.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3135293"></a><h3>
<a name="gtk-tree-view-get-reorderable"></a>gtk_tree_view_get_reorderable ()</h3>
<a class="indexterm" name="id3135306"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    gtk_tree_view_get_reorderable   (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);</pre>
<p>
Retrieves whether the user can reorder the tree via drag-and-drop. See
<a href="GtkTreeView.html#gtk-tree-view-set-reorderable"><code class="function">gtk_tree_view_set_reorderable()</code></a>.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the tree can be reordered.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3135397"></a><h3>
<a name="gtk-tree-view-get-path-at-pos"></a>gtk_tree_view_get_path_at_pos ()</h3>
<a class="indexterm" name="id3135410"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    gtk_tree_view_get_path_at_pos   (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> **path,
                                             <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> **column,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *cell_x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *cell_y);</pre>
<p>
Finds the path at the point (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>), relative to widget coordinates.  That
is, <em class="parameter"><code>x</code></em> and <em class="parameter"><code>y</code></em> are relative to an events coordinates. <em class="parameter"><code>x</code></em> and <em class="parameter"><code>y</code></em> must come
from an event on the <em class="parameter"><code>tree_view</code></em> only where <code class="literal">event-&gt;window ==
gtk_tree_view_get_bin ()</code>. It is primarily for things 
like popup menus. If <em class="parameter"><code>path</code></em> is non-<a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>, then it will be filled with the 
<a href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> at that point.  This path should be freed with <a href="GtkTreeModel.html#gtk-tree-path-free"><code class="function">gtk_tree_path_free()</code></a>.  
If <em class="parameter"><code>column</code></em> is non-<a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>, then it will be filled with the column at that point.
<em class="parameter"><code>cell_x</code></em> and <em class="parameter"><code>cell_y</code></em> return the coordinates relative to the cell background
(i.e. the <em class="parameter"><code>background_area</code></em> passed to <a href="GtkCellRenderer.html#gtk-cell-renderer-render"><code class="function">gtk_cell_renderer_render()</code></a>).  This
function is only meaningful if <em class="parameter"><code>tree_view</code></em> is realized.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td> The x position to be identified.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> The y position to be identified.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em>&#160;:</span></td>
<td> A pointer to a <a href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> pointer to be filled in, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>column</code></em>&#160;:</span></td>
<td> A pointer to a <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> pointer to be filled in, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>cell_x</code></em>&#160;:</span></td>
<td> A pointer where the X coordinate relative to the cell can be placed, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>cell_y</code></em>&#160;:</span></td>
<td> A pointer where the Y coordinate relative to the cell can be placed, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if a row exists at that coordinate.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3135820"></a><h3>
<a name="gtk-tree-view-get-cell-area"></a>gtk_tree_view_get_cell_area ()</h3>
<a class="indexterm" name="id3135834"></a><pre class="programlisting">void        gtk_tree_view_get_cell_area     (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> *path,
                                             <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *column,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *rect);</pre>
<p>
Fills the bounding rectangle in tree window coordinates for the cell at the
row specified by <em class="parameter"><code>path</code></em> and the column specified by <em class="parameter"><code>column</code></em>.  If <em class="parameter"><code>path</code></em> is
<a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>, or points to a path not currently displayed, the <em class="parameter"><code>y</code></em> and <em class="parameter"><code>height</code></em> fields
of the rectangle will be filled with 0. If <em class="parameter"><code>column</code></em> is <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>, the <em class="parameter"><code>x</code></em> and <em class="parameter"><code>width</code></em>
fields will be filled with 0.  The sum of all cell rects does not cover the
entire tree; there are extra pixels in between rows, for example. The
returned rectangle is equivalent to the <em class="parameter"><code>cell_area</code></em> passed to
<a href="GtkCellRenderer.html#gtk-cell-renderer-render"><code class="function">gtk_cell_renderer_render()</code></a>.  This function is only valid if <em class="parameter"><code>tree_view</code></em> is
realized.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> for the row, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> to get only horizontal coordinates
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>column</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> for the column, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> to get only vertical coordinates
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>rect</code></em>&#160;:</span></td>
<td> rectangle to fill with cell rect
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3136092"></a><h3>
<a name="gtk-tree-view-get-background-area"></a>gtk_tree_view_get_background_area ()</h3>
<a class="indexterm" name="id3136107"></a><pre class="programlisting">void        gtk_tree_view_get_background_area
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> *path,
                                             <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *column,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *rect);</pre>
<p>
Fills the bounding rectangle in tree window coordinates for the cell at the
row specified by <em class="parameter"><code>path</code></em> and the column specified by <em class="parameter"><code>column</code></em>.  If <em class="parameter"><code>path</code></em> is
<a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>, or points to a node not found in the tree, the <em class="parameter"><code>y</code></em> and <em class="parameter"><code>height</code></em> fields of
the rectangle will be filled with 0. If <em class="parameter"><code>column</code></em> is <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>, the <em class="parameter"><code>x</code></em> and <em class="parameter"><code>width</code></em>
fields will be filled with 0.  The returned rectangle is equivalent to the
<em class="parameter"><code>background_area</code></em> passed to <a href="GtkCellRenderer.html#gtk-cell-renderer-render"><code class="function">gtk_cell_renderer_render()</code></a>.  These background
areas tile to cover the entire tree window (except for the area used for
header buttons). Contrast with the <em class="parameter"><code>cell_area</code></em>, returned by
<a href="GtkTreeView.html#gtk-tree-view-get-cell-area"><code class="function">gtk_tree_view_get_cell_area()</code></a>, which returns only the cell itself, excluding
surrounding borders and the tree expander area.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> for the row, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> to get only horizontal coordinates
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>column</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> for the column, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> to get only vertical coordiantes
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>rect</code></em>&#160;:</span></td>
<td> rectangle to fill with cell background rect
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3136378"></a><h3>
<a name="gtk-tree-view-get-visible-rect"></a>gtk_tree_view_get_visible_rect ()</h3>
<a class="indexterm" name="id3136392"></a><pre class="programlisting">void        gtk_tree_view_get_visible_rect  (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *visible_rect);</pre>
<p>
Fills <em class="parameter"><code>visible_rect</code></em> with the currently-visible region of the
buffer, in tree coordinates. Convert to widget coordinates with
<a href="GtkTreeView.html#gtk-tree-view-tree-to-widget-coords"><code class="function">gtk_tree_view_tree_to_widget_coords()</code></a>. Tree coordinates start at
0,0 for row 0 of the tree, and cover the entire scrollable area of
the tree.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>visible_rect</code></em>&#160;:</span></td>
<td> rectangle to fill
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3136492"></a><h3>
<a name="gtk-tree-view-get-visible-range"></a>gtk_tree_view_get_visible_range ()</h3>
<a class="indexterm" name="id3136508"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    gtk_tree_view_get_visible_range (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> **start_path,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> **end_path);</pre>
<p>
Sets <em class="parameter"><code>start_path</code></em> and <em class="parameter"><code>end_path</code></em> to be the first and last visible path.
Note that there may be invisible paths in between.
</p>
<p>
The paths should be freed with <a href="GtkTreeModel.html#gtk-tree-path-free"><code class="function">gtk_tree_path_free()</code></a> after use.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>start_path</code></em>&#160;:</span></td>
<td> Return location for start of region, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>end_path</code></em>&#160;:</span></td>
<td> Return location for end of region, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a>, if valid paths were placed in <em class="parameter"><code>start_path</code></em> and <em class="parameter"><code>end_path</code></em>.

</td>
</tr>
</tbody>
</table></div>
<p>Since  2.8
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3136694"></a><h3>
<a name="gtk-tree-view-get-bin-window"></a>gtk_tree_view_get_bin_window ()</h3>
<a class="indexterm" name="id3136708"></a><pre class="programlisting"><a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a>*  gtk_tree_view_get_bin_window    (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);</pre>
<p>
Returns the window that <em class="parameter"><code>tree_view</code></em> renders to.  This is used primarily to
compare to <code class="literal">event-&gt;window</code> to confirm that the event on
<em class="parameter"><code>tree_view</code></em> is on the right window.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> A <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> when <em class="parameter"><code>tree_view</code></em> hasn't been realized yet
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3136820"></a><h3>
<a name="gtk-tree-view-widget-to-tree-coords"></a>gtk_tree_view_widget_to_tree_coords ()</h3>
<a class="indexterm" name="id3136835"></a><pre class="programlisting">void        gtk_tree_view_widget_to_tree_coords
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> wx,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> wy,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *tx,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *ty);</pre>
<p>
Converts widget coordinates to coordinates for the
tree window (the full scrollable area of the tree).</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>wx</code></em>&#160;:</span></td>
<td> widget X coordinate
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>wy</code></em>&#160;:</span></td>
<td> widget Y coordinate
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>tx</code></em>&#160;:</span></td>
<td> return location for tree X coordinate
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>ty</code></em>&#160;:</span></td>
<td> return location for tree Y coordinate
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3136980"></a><h3>
<a name="gtk-tree-view-tree-to-widget-coords"></a>gtk_tree_view_tree_to_widget_coords ()</h3>
<a class="indexterm" name="id3136994"></a><pre class="programlisting">void        gtk_tree_view_tree_to_widget_coords
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> tx,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> ty,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *wx,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *wy);</pre>
<p>
Converts tree coordinates (coordinates in full scrollable area of the tree)
to widget coordinates.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>tx</code></em>&#160;:</span></td>
<td> tree X coordinate
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>ty</code></em>&#160;:</span></td>
<td> tree Y coordinate
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>wx</code></em>&#160;:</span></td>
<td> return location for widget X coordinate
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>wy</code></em>&#160;:</span></td>
<td> return location for widget Y coordinate
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3137139"></a><h3>
<a name="gtk-tree-view-enable-model-drag-dest"></a>gtk_tree_view_enable_model_drag_dest ()</h3>
<a class="indexterm" name="id3137153"></a><pre class="programlisting">void        gtk_tree_view_enable_model_drag_dest
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             const <a href="gtk-Selections.html#GtkTargetEntry">GtkTargetEntry</a> *targets,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> n_targets,
                                             <a
href="../gdk/gdk-Drag-and-Drop.html#GdkDragAction"
>GdkDragAction</a> actions);</pre>
<p>
Turns <em class="parameter"><code>tree_view</code></em> into a drop destination for automatic DND.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>targets</code></em>&#160;:</span></td>
<td> the table of targets that the drag will support
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>n_targets</code></em>&#160;:</span></td>
<td> the number of items in <em class="parameter"><code>targets</code></em>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>actions</code></em>&#160;:</span></td>
<td> the bitmask of possible actions for a drag from this
   widget
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3137291"></a><h3>
<a name="gtk-tree-view-enable-model-drag-source"></a>gtk_tree_view_enable_model_drag_source ()</h3>
<a class="indexterm" name="id3137305"></a><pre class="programlisting">void        gtk_tree_view_enable_model_drag_source
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../gdk/gdk-Windows.html#GdkModifierType"
>GdkModifierType</a> start_button_mask,
                                             const <a href="gtk-Selections.html#GtkTargetEntry">GtkTargetEntry</a> *targets,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> n_targets,
                                             <a
href="../gdk/gdk-Drag-and-Drop.html#GdkDragAction"
>GdkDragAction</a> actions);</pre>
<p>
Turns <em class="parameter"><code>tree_view</code></em> into a drag source for automatic DND.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>start_button_mask</code></em>&#160;:</span></td>
<td> Mask of allowed buttons to start drag
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>targets</code></em>&#160;:</span></td>
<td> the table of targets that the drag will support
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>n_targets</code></em>&#160;:</span></td>
<td> the number of items in <em class="parameter"><code>targets</code></em>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>actions</code></em>&#160;:</span></td>
<td> the bitmask of possible actions for a drag from this
   widget
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3137465"></a><h3>
<a name="gtk-tree-view-unset-rows-drag-source"></a>gtk_tree_view_unset_rows_drag_source ()</h3>
<a class="indexterm" name="id3137479"></a><pre class="programlisting">void        gtk_tree_view_unset_rows_drag_source
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);</pre>
<p>
Undoes the effect of <a href="GtkTreeView.html#gtk-tree-view-enable-model-drag-source"><code class="function">gtk_tree_view_enable_model_drag_source()</code></a>.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3137549"></a><h3>
<a name="gtk-tree-view-unset-rows-drag-dest"></a>gtk_tree_view_unset_rows_drag_dest ()</h3>
<a class="indexterm" name="id3137563"></a><pre class="programlisting">void        gtk_tree_view_unset_rows_drag_dest
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);</pre>
<p>
Undoes the effect of <a href="GtkTreeView.html#gtk-tree-view-enable-model-drag-dest"><code class="function">gtk_tree_view_enable_model_drag_dest()</code></a>.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3137632"></a><h3>
<a name="gtk-tree-view-set-drag-dest-row"></a>gtk_tree_view_set_drag_dest_row ()</h3>
<a class="indexterm" name="id3137646"></a><pre class="programlisting">void        gtk_tree_view_set_drag_dest_row (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> *path,
                                             <a href="GtkTreeView.html#GtkTreeViewDropPosition">GtkTreeViewDropPosition</a> pos);</pre>
<p>
Sets the row that is highlighted for feedback.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em>&#160;:</span></td>
<td> The path of the row to highlight, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>pos</code></em>&#160;:</span></td>
<td> Specifies whether to drop before, after or into the row
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3137759"></a><h3>
<a name="gtk-tree-view-get-drag-dest-row"></a>gtk_tree_view_get_drag_dest_row ()</h3>
<a class="indexterm" name="id3137773"></a><pre class="programlisting">void        gtk_tree_view_get_drag_dest_row (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> **path,
                                             <a href="GtkTreeView.html#GtkTreeViewDropPosition">GtkTreeViewDropPosition</a> *pos);</pre>
<p>
Gets information about the row that is highlighted for feedback.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em>&#160;:</span></td>
<td> Return location for the path of the highlighted row, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>pos</code></em>&#160;:</span></td>
<td> Return location for the drop position, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3137896"></a><h3>
<a name="gtk-tree-view-get-dest-row-at-pos"></a>gtk_tree_view_get_dest_row_at_pos ()</h3>
<a class="indexterm" name="id3137910"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    gtk_tree_view_get_dest_row_at_pos
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> drag_x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> drag_y,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> **path,
                                             <a href="GtkTreeView.html#GtkTreeViewDropPosition">GtkTreeViewDropPosition</a> *pos);</pre>
<p>
Determines the destination row for a given position.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>drag_x</code></em>&#160;:</span></td>
<td> the position to determine the destination row for
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>drag_y</code></em>&#160;:</span></td>
<td> the position to determine the destination row for
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em>&#160;:</span></td>
<td> Return location for the path of the highlighted row, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>pos</code></em>&#160;:</span></td>
<td> Return location for the drop position, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> whether there is a row at the given position.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3138088"></a><h3>
<a name="gtk-tree-view-create-row-drag-icon"></a>gtk_tree_view_create_row_drag_icon ()</h3>
<a class="indexterm" name="id3138103"></a><pre class="programlisting"><a
href="../gdk/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"
>GdkPixmap</a>*  gtk_tree_view_create_row_drag_icon
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> *path);</pre>
<p>
Creates a <a
href="../gdk/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"
><span class="type">GdkPixmap</span></a> representation of the row at <em class="parameter"><code>path</code></em>.  
This image is used for a drag icon.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> in <em class="parameter"><code>tree_view</code></em>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> a newly-allocated pixmap of the drag icon.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3138221"></a><h3>
<a name="gtk-tree-view-set-enable-search"></a>gtk_tree_view_set_enable_search ()</h3>
<a class="indexterm" name="id3138234"></a><pre class="programlisting">void        gtk_tree_view_set_enable_search (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> enable_search);</pre>
<p>
If <em class="parameter"><code>enable_search</code></em> is set, then the user can type in text to search through
the tree interactively (this is sometimes called "typeahead find").
</p>
<p>
Note that even if this is <a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a>, the user can still initiate a search 
using the "start-interactive-search" key binding.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>enable_search</code></em>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a>, if the user can search interactively
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3138348"></a><h3>
<a name="gtk-tree-view-get-enable-search"></a>gtk_tree_view_get_enable_search ()</h3>
<a class="indexterm" name="id3138361"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    gtk_tree_view_get_enable_search (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);</pre>
<p>
Returns whether or not the tree allows to start interactive searching 
by typing in text.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> whether or not to let the user search interactively
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3138431"></a><h3>
<a name="gtk-tree-view-get-search-column"></a>gtk_tree_view_get_search_column ()</h3>
<a class="indexterm" name="id3138444"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>        gtk_tree_view_get_search_column (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);</pre>
<p>
Gets the column searched on by the interactive search code.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> the column the interactive search code searches in.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3138514"></a><h3>
<a name="gtk-tree-view-set-search-column"></a>gtk_tree_view_set_search_column ()</h3>
<a class="indexterm" name="id3138528"></a><pre class="programlisting">void        gtk_tree_view_set_search_column (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> column);</pre>
<p>
Sets <em class="parameter"><code>column</code></em> as the column where the interactive search code should
search in. 
</p>
<p>
If the sort column is set, users can use the "start-interactive-search"
key binding to bring up search popup. The enable-search property controls
whether simply typing text will also start an interactive search.
</p>
<p>
Note that <em class="parameter"><code>column</code></em> refers to a column of the model.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>column</code></em>&#160;:</span></td>
<td> the column of the model to search in, or -1 to disable searching
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3138631"></a><h3>
<a name="gtk-tree-view-get-search-equal-func"></a>gtk_tree_view_get_search_equal_func ()</h3>
<a class="indexterm" name="id3138646"></a><pre class="programlisting"><a href="GtkTreeView.html#GtkTreeViewSearchEqualFunc">GtkTreeViewSearchEqualFunc</a> gtk_tree_view_get_search_equal_func
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);</pre>
<p>
Returns the compare function currently in use.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> the currently used compare function for the search code.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3138716"></a><h3>
<a name="gtk-tree-view-set-search-equal-func"></a>gtk_tree_view_set_search_equal_func ()</h3>
<a class="indexterm" name="id3138731"></a><pre class="programlisting">void        gtk_tree_view_set_search_equal_func
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeView.html#GtkTreeViewSearchEqualFunc">GtkTreeViewSearchEqualFunc</a> search_equal_func,
                                             <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> search_user_data,
                                             <a href="gtk-Types.html#GtkDestroyNotify">GtkDestroyNotify</a> search_destroy);</pre>
<p>
Sets the compare function for the interactive search capabilities; note
that somewhat like <code class="function">strcmp()</code> returning 0 for equality
<a href="GtkTreeView.html#GtkTreeViewSearchEqualFunc"><span class="type">GtkTreeViewSearchEqualFunc</span></a> returns <a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> on matches.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>search_equal_func</code></em>&#160;:</span></td>
<td> the compare function to use during the search
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>search_user_data</code></em>&#160;:</span></td>
<td> user data to pass to <em class="parameter"><code>search_equal_func</code></em>, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>search_destroy</code></em>&#160;:</span></td>
<td> Destroy notifier for <em class="parameter"><code>search_user_data</code></em>, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3138919"></a><h3>
<a name="gtk-tree-view-get-search-entry"></a>gtk_tree_view_get_search_entry ()</h3>
<a class="indexterm" name="id3138935"></a><pre class="programlisting"><a href="GtkEntry.html" title="GtkEntry">GtkEntry</a>*   gtk_tree_view_get_search_entry  (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);</pre>
<p>
Returns the GtkEntry which is currently in use as interactive search
entry for <em class="parameter"><code>tree_view</code></em>.  In case the built-in entry is being used, <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
will be returned.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> the entry currently in use as search entry.

</td>
</tr>
</tbody>
</table></div>
<p>Since  2.10
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3139027"></a><h3>
<a name="gtk-tree-view-set-search-entry"></a>gtk_tree_view_set_search_entry ()</h3>
<a class="indexterm" name="id3139042"></a><pre class="programlisting">void        gtk_tree_view_set_search_entry  (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry);</pre>
<p>
Sets the entry which the interactive search code will use for this
<em class="parameter"><code>tree_view</code></em>.  This is useful when you want to provide a search entry
in our interface at all time at a fixed position.  Passing <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> for
<em class="parameter"><code>entry</code></em> will make the interactive search code use the built-in popup
entry again.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>entry</code></em>&#160;:</span></td>
<td> the entry the interactive search code of <em class="parameter"><code>tree_view</code></em> should use or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
</table></div>
<p>Since  2.10
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3139169"></a><h3>
<a name="GtkTreeViewSearchPositionFunc"></a>GtkTreeViewSearchPositionFunc ()</h3>
<a class="indexterm" name="id3139182"></a><pre class="programlisting">void        (*GtkTreeViewSearchPositionFunc)
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *search_dialog,
                                             <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data);</pre>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>search_dialog</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
<td>


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3139272"></a><h3>
<a name="gtk-tree-view-get-search-position-func"></a>gtk_tree_view_get_search_position_func ()</h3>
<a class="indexterm" name="id3139288"></a><pre class="programlisting"><a href="GtkTreeView.html#GtkTreeViewSearchPositionFunc">GtkTreeViewSearchPositionFunc</a> gtk_tree_view_get_search_position_func
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);</pre>
<p>
Returns the positioning function currently in use.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> the currently used function for positioning the search dialog.

</td>
</tr>
</tbody>
</table></div>
<p>Since  2.10
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3139364"></a><h3>
<a name="gtk-tree-view-set-search-position-func"></a>gtk_tree_view_set_search_position_func ()</h3>
<a class="indexterm" name="id3139380"></a><pre class="programlisting">void        gtk_tree_view_set_search_position_func
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeView.html#GtkTreeViewSearchPositionFunc">GtkTreeViewSearchPositionFunc</a> func,
                                             <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data,
                                             <a
href="../glib/glib-Datasets.html#GDestroyNotify"
>GDestroyNotify</a> destroy);</pre>
<p>
Sets the function to use when positioning the seach dialog.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>func</code></em>&#160;:</span></td>
<td> the function to use to position the search dialog, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
   to use the default search position function
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
<td> user data to pass to <em class="parameter"><code>func</code></em>, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>destroy</code></em>&#160;:</span></td>
<td> Destroy notifier for <em class="parameter"><code>data</code></em>, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
</table></div>
<p>Since  2.10
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3139555"></a><h3>
<a name="gtk-tree-view-get-fixed-height-mode"></a>gtk_tree_view_get_fixed_height_mode ()</h3>
<a class="indexterm" name="id3139571"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    gtk_tree_view_get_fixed_height_mode
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);</pre>
<p>
Returns whether fixed height mode is turned on for <em class="parameter"><code>tree_view</code></em>.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if <em class="parameter"><code>tree_view</code></em> is in fixed height mode

</td>
</tr>
</tbody>
</table></div>
<p>Since  2.6
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3139666"></a><h3>
<a name="gtk-tree-view-set-fixed-height-mode"></a>gtk_tree_view_set_fixed_height_mode ()</h3>
<a class="indexterm" name="id3139682"></a><pre class="programlisting">void        gtk_tree_view_set_fixed_height_mode
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> enable);</pre>
<p>
Enables or disables the fixed height mode of <em class="parameter"><code>tree_view</code></em>. 
Fixed height mode speeds up <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> by assuming that all 
rows have the same height. 
Only enable this option if all rows are the same height and all
columns are of type <a href="GtkTreeViewColumn.html#GTK-TREE-VIEW-COLUMN-FIXED:CAPS"><code class="literal">GTK_TREE_VIEW_COLUMN_FIXED</code></a>.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> 
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>enable</code></em>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> to enable fixed height mode
</td>
</tr>
</tbody>
</table></div>
<p>Since  2.6 
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3139805"></a><h3>
<a name="gtk-tree-view-get-hover-selection"></a>gtk_tree_view_get_hover_selection ()</h3>
<a class="indexterm" name="id3139821"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    gtk_tree_view_get_hover_selection
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);</pre>
<p>
Returns whether hover selection mode is turned on for <em class="parameter"><code>tree_view</code></em>.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if <em class="parameter"><code>tree_view</code></em> is in hover selection mode

</td>
</tr>
</tbody>
</table></div>
<p>Since  2.6 
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3139917"></a><h3>
<a name="gtk-tree-view-set-hover-selection"></a>gtk_tree_view_set_hover_selection ()</h3>
<a class="indexterm" name="id3139933"></a><pre class="programlisting">void        gtk_tree_view_set_hover_selection
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> hover);</pre>
<p>
Enables of disables the hover selection mode of <em class="parameter"><code>tree_view</code></em>.
Hover selection makes the selected row follow the pointer.
Currently, this works only for the selection modes 
<a href="gtk-Standard-Enumerations.html#GTK-SELECTION-SINGLE:CAPS"><code class="literal">GTK_SELECTION_SINGLE</code></a> and <a href="gtk-Standard-Enumerations.html#GTK-SELECTION-BROWSE:CAPS"><code class="literal">GTK_SELECTION_BROWSE</code></a>.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>hover</code></em>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> to enable hover selection mode
</td>
</tr>
</tbody>
</table></div>
<p>Since  2.6
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3140057"></a><h3>
<a name="gtk-tree-view-get-hover-expand"></a>gtk_tree_view_get_hover_expand ()</h3>
<a class="indexterm" name="id3140073"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    gtk_tree_view_get_hover_expand  (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);</pre>
<p>
Returns whether hover expansion mode is turned on for <em class="parameter"><code>tree_view</code></em>.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if <em class="parameter"><code>tree_view</code></em> is in hover expansion mode

</td>
</tr>
</tbody>
</table></div>
<p>Since  2.6 
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3140168"></a><h3>
<a name="gtk-tree-view-set-hover-expand"></a>gtk_tree_view_set_hover_expand ()</h3>
<a class="indexterm" name="id3140184"></a><pre class="programlisting">void        gtk_tree_view_set_hover_expand  (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> expand);</pre>
<p>
Enables of disables the hover expansion mode of <em class="parameter"><code>tree_view</code></em>.
Hover expansion makes rows expand or collaps if the pointer 
moves over them.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>expand</code></em>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> to enable hover selection mode
</td>
</tr>
</tbody>
</table></div>
<p>Since  2.6
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3140286"></a><h3>
<a name="GtkTreeDestroyCountFunc"></a>GtkTreeDestroyCountFunc ()</h3>
<a class="indexterm" name="id3140299"></a><pre class="programlisting">void        (*GtkTreeDestroyCountFunc)      (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> *path,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> children,
                                             <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data);</pre>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>children</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
<td>


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3140408"></a><h3>
<a name="gtk-tree-view-set-destroy-count-func"></a>gtk_tree_view_set_destroy_count_func ()</h3>
<a class="indexterm" name="id3140422"></a><pre class="programlisting">void        gtk_tree_view_set_destroy_count_func
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeView.html#GtkTreeDestroyCountFunc">GtkTreeDestroyCountFunc</a> func,
                                             <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data,
                                             <a href="gtk-Types.html#GtkDestroyNotify">GtkDestroyNotify</a> destroy);</pre>
<p>
This function should almost never be used.  It is meant for private use by
ATK for determining the number of visible children that are removed when the
user collapses a row, or a row is deleted.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> A <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>func</code></em>&#160;:</span></td>
<td> Function to be called when a view row is destroyed, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
<td> User data to be passed to <em class="parameter"><code>func</code></em>, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>destroy</code></em>&#160;:</span></td>
<td> Destroy notifier for <em class="parameter"><code>data</code></em>, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3140593"></a><h3>
<a name="GtkTreeViewRowSeparatorFunc"></a>GtkTreeViewRowSeparatorFunc ()</h3>
<a class="indexterm" name="id3140607"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    (*GtkTreeViewRowSeparatorFunc)  (<a href="GtkTreeModel.html" title="GtkTreeModel">GtkTreeModel</a> *model,
                                             <a href="GtkTreeModel.html#GtkTreeIter">GtkTreeIter</a> *iter,
                                             <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);</pre>
<p>
Function type for determining whether the row pointed to by <em class="parameter"><code>iter</code></em> should
be rendered as a separator. A common way to implement this is to have a
boolean column in the model, whose values the <a href="GtkTreeView.html#GtkTreeViewRowSeparatorFunc"><span class="type">GtkTreeViewRowSeparatorFunc</span></a>
returns.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>model</code></em>&#160;:</span></td>
<td>the <a href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>iter</code></em>&#160;:</span></td>
<td>a <a href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> pointing at a row in <em class="parameter"><code>model</code></em>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
<td>user data
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>
<a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the row is a separator


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3140755"></a><h3>
<a name="gtk-tree-view-get-row-separator-func"></a>gtk_tree_view_get_row_separator_func ()</h3>
<a class="indexterm" name="id3140772"></a><pre class="programlisting"><a href="GtkTreeView.html#GtkTreeViewRowSeparatorFunc">GtkTreeViewRowSeparatorFunc</a> gtk_tree_view_get_row_separator_func
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);</pre>
<p>
Returns the current row separator function.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> the current row separator function.

</td>
</tr>
</tbody>
</table></div>
<p>Since  2.6
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3140847"></a><h3>
<a name="gtk-tree-view-set-row-separator-func"></a>gtk_tree_view_set_row_separator_func ()</h3>
<a class="indexterm" name="id3140863"></a><pre class="programlisting">void        gtk_tree_view_set_row_separator_func
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeView.html#GtkTreeViewRowSeparatorFunc">GtkTreeViewRowSeparatorFunc</a> func,
                                             <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data,
                                             <a href="gtk-Types.html#GtkDestroyNotify">GtkDestroyNotify</a> destroy);</pre>
<p>
Sets the row separator function, which is used to determine
whether a row should be drawn as a separator. If the row separator
function is <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>, no separators are drawn. This is the default value.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>func</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html#GtkTreeViewRowSeparatorFunc"><span class="type">GtkTreeViewRowSeparatorFunc</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
<td> user data to pass to <em class="parameter"><code>func</code></em>, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>destroy</code></em>&#160;:</span></td>
<td> destroy notifier for <em class="parameter"><code>data</code></em>, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
</table></div>
<p>Since  2.6
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3141046"></a><h3>
<a name="gtk-tree-view-get-rubber-banding"></a>gtk_tree_view_get_rubber_banding ()</h3>
<a class="indexterm" name="id3141062"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    gtk_tree_view_get_rubber_banding
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);</pre>
<p>
Returns whether rubber banding is turned on for <em class="parameter"><code>tree_view</code></em>.  If the
selection mode is <a href="gtk-Standard-Enumerations.html#GTK-SELECTION-MULTIPLE:CAPS"><span class="type">GTK_SELECTION_MULTIPLE</span></a>, rubber banding will allow the
user to select multiple rows by dragging the mouse.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if rubber banding in <em class="parameter"><code>tree_view</code></em> is enabled.

</td>
</tr>
</tbody>
</table></div>
<p>Since  2.10
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3141168"></a><h3>
<a name="gtk-tree-view-set-rubber-banding"></a>gtk_tree_view_set_rubber_banding ()</h3>
<a class="indexterm" name="id3141184"></a><pre class="programlisting">void        gtk_tree_view_set_rubber_banding
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> enable);</pre>
<p>
Enables or disables rubber banding in <em class="parameter"><code>tree_view</code></em>.  If the selection mode
is <a href="gtk-Standard-Enumerations.html#GTK-SELECTION-MULTIPLE:CAPS"><span class="type">GTK_SELECTION_MULTIPLE</span></a>, rubber banding will allow the user to select
multiple rows by dragging the mouse.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>enable</code></em>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> to enable rubber banding
</td>
</tr>
</tbody>
</table></div>
<p>Since  2.10
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3141296"></a><h3>
<a name="gtk-tree-view-get-enable-tree-lines"></a>gtk_tree_view_get_enable_tree_lines ()</h3>
<a class="indexterm" name="id3141312"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    gtk_tree_view_get_enable_tree_lines
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);</pre>
<p>
Returns whether or not tree lines are drawn in <em class="parameter"><code>tree_view</code></em>.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if tree lines are drawn in <em class="parameter"><code>tree_view</code></em>, <a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a>
otherwise.

</td>
</tr>
</tbody>
</table></div>
<p>Since  2.10
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3141418"></a><h3>
<a name="gtk-tree-view-set-enable-tree-lines"></a>gtk_tree_view_set_enable_tree_lines ()</h3>
<a class="indexterm" name="id3141435"></a><pre class="programlisting">void        gtk_tree_view_set_enable_tree_lines
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> enabled);</pre>
<p>
Sets whether to draw lines interconnecting the expanders in <em class="parameter"><code>tree_view</code></em>.
This does not have any visible effects for lists.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>enabled</code></em>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> to enable tree line drawing, <a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> otherwise.
</td>
</tr>
</tbody>
</table></div>
<p>Since  2.10
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3141547"></a><h3>
<a name="GtkTreeViewGridLines"></a>enum GtkTreeViewGridLines</h3>
<a class="indexterm" name="id3141560"></a><pre class="programlisting">typedef enum {
  GTK_TREE_VIEW_GRID_LINES_NONE,
  GTK_TREE_VIEW_GRID_LINES_HORIZONTAL,
  GTK_TREE_VIEW_GRID_LINES_VERTICAL,
  GTK_TREE_VIEW_GRID_LINES_BOTH
} GtkTreeViewGridLines;
</pre>
<p>

</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3141578"></a><h3>
<a name="gtk-tree-view-get-grid-lines"></a>gtk_tree_view_get_grid_lines ()</h3>
<a class="indexterm" name="id3141594"></a><pre class="programlisting"><a href="GtkTreeView.html#GtkTreeViewGridLines">GtkTreeViewGridLines</a> gtk_tree_view_get_grid_lines
                                            (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view);</pre>
<p>
Returns which grid lines are enabled in <em class="parameter"><code>tree_view</code></em>.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> a <a href="GtkTreeView.html#GtkTreeViewGridLines"><span class="type">GtkTreeViewGridLines</span></a> value indicating which grid lines
are enabled.

</td>
</tr>
</tbody>
</table></div>
<p>Since  2.10
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3141684"></a><h3>
<a name="gtk-tree-view-set-grid-lines"></a>gtk_tree_view_set_grid_lines ()</h3>
<a class="indexterm" name="id3141700"></a><pre class="programlisting">void        gtk_tree_view_set_grid_lines    (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                             <a href="GtkTreeView.html#GtkTreeViewGridLines">GtkTreeViewGridLines</a> grid_lines);</pre>
<p>
Sets which grid lines to draw in <em class="parameter"><code>tree_view</code></em>.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>grid_lines</code></em>&#160;:</span></td>
<td> a <a href="GtkTreeView.html#GtkTreeViewGridLines"><span class="type">GtkTreeViewGridLines</span></a> value indicating which grid lines to
enable.
</td>
</tr>
</tbody>
</table></div>
<p>Since  2.10
</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id3141801"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id3141811"></a><h3>
<a name="GtkTreeView--enable-grid-lines"></a>The "<code class="literal">enable-grid-lines</code>" property</h3>
<a class="indexterm" name="id3141828"></a><pre class="programlisting">  "enable-grid-lines"    <a href="GtkTreeView.html#GtkTreeViewGridLines">GtkTreeViewGridLines</a>  : Read / Write</pre>
<p>Whether grid lines should be drawn in the tree view.</p>
<p>Default value: GTK_TREE_VIEW_GRID_LINES_NONE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3141857"></a><h3>
<a name="GtkTreeView--enable-search"></a>The "<code class="literal">enable-search</code>" property</h3>
<a class="indexterm" name="id3141873"></a><pre class="programlisting">  "enable-search"        <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>View allows user to search through columns interactively.</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3141900"></a><h3>
<a name="GtkTreeView--enable-tree-lines"></a>The "<code class="literal">enable-tree-lines</code>" property</h3>
<a class="indexterm" name="id3141917"></a><pre class="programlisting">  "enable-tree-lines"    <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether tree lines should be drawn in the tree view.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3141944"></a><h3>
<a name="GtkTreeView--expander-column"></a>The "<code class="literal">expander-column</code>" property</h3>
<a class="indexterm" name="id3141961"></a><pre class="programlisting">  "expander-column"      <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a>     : Read / Write</pre>
<p>Set the column for the expander column.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3141985"></a><h3>
<a name="GtkTreeView--fixed-height-mode"></a>The "<code class="literal">fixed-height-mode</code>" property</h3>
<a class="indexterm" name="id3142002"></a><pre class="programlisting">  "fixed-height-mode"    <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>
Setting the ::fixed-height-mode property to <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> speeds up 
<a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> by assuming that all rows have the same height. 
Only enable this option if all rows are the same height.  
Please see <a href="GtkTreeView.html#gtk-tree-view-set-fixed-height-mode"><code class="function">gtk_tree_view_set_fixed_height_mode()</code></a> for more 
information on this option.</p>
<p>

</p>
<p>Default value: FALSE</p>
<p>Since  2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3142071"></a><h3>
<a name="GtkTreeView--hadjustment"></a>The "<code class="literal">hadjustment</code>" property</h3>
<a class="indexterm" name="id3142087"></a><pre class="programlisting">  "hadjustment"          <a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a>         : Read / Write</pre>
<p>Horizontal Adjustment for the widget.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3142111"></a><h3>
<a name="GtkTreeView--headers-clickable"></a>The "<code class="literal">headers-clickable</code>" property</h3>
<a class="indexterm" name="id3142127"></a><pre class="programlisting">  "headers-clickable"    <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Column headers respond to click events.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3142154"></a><h3>
<a name="GtkTreeView--headers-visible"></a>The "<code class="literal">headers-visible</code>" property</h3>
<a class="indexterm" name="id3142171"></a><pre class="programlisting">  "headers-visible"      <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Show the column header buttons.</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3142197"></a><h3>
<a name="GtkTreeView--hover-expand"></a>The "<code class="literal">hover-expand</code>" property</h3>
<a class="indexterm" name="id3142214"></a><pre class="programlisting">  "hover-expand"         <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>
Enables of disables the hover expansion mode of <em class="parameter"><code>tree_view</code></em>.
Hover expansion makes rows expand or collaps if the pointer moves 
over them.
</p>
<p>
This mode is primarily indended for treeviews in popups, e.g.
in <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> or <a href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a>.</p>
<p>

</p>
<p>Default value: FALSE</p>
<p>Since  2.6
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3142278"></a><h3>
<a name="GtkTreeView--hover-selection"></a>The "<code class="literal">hover-selection</code>" property</h3>
<a class="indexterm" name="id3142295"></a><pre class="programlisting">  "hover-selection"      <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>
Enables of disables the hover selection mode of <em class="parameter"><code>tree_view</code></em>.
Hover selection makes the selected row follow the pointer.
Currently, this works only for the selection modes 
<a href="gtk-Standard-Enumerations.html#GTK-SELECTION-SINGLE:CAPS"><code class="literal">GTK_SELECTION_SINGLE</code></a> and <a href="gtk-Standard-Enumerations.html#GTK-SELECTION-BROWSE:CAPS"><code class="literal">GTK_SELECTION_BROWSE</code></a>.
</p>
<p>
This mode is primarily indended for treeviews in popups, e.g.
in <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> or <a href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a>.</p>
<p>

</p>
<p>Default value: FALSE</p>
<p>Since  2.6
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3142380"></a><h3>
<a name="GtkTreeView--level-indentation"></a>The "<code class="literal">level-indentation</code>" property</h3>
<a class="indexterm" name="id3142398"></a><pre class="programlisting">  "level-indentation"    <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read / Write</pre>
<p>Extra indentation for each level.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3142428"></a><h3>
<a name="GtkTreeView--model"></a>The "<code class="literal">model</code>" property</h3>
<a class="indexterm" name="id3142444"></a><pre class="programlisting">  "model"                <a href="GtkTreeModel.html" title="GtkTreeModel">GtkTreeModel</a>          : Read / Write</pre>
<p>The model for the tree view.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3142467"></a><h3>
<a name="GtkTreeView--reorderable"></a>The "<code class="literal">reorderable</code>" property</h3>
<a class="indexterm" name="id3142484"></a><pre class="programlisting">  "reorderable"          <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>View is reorderable.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3142511"></a><h3>
<a name="GtkTreeView--rubber-banding"></a>The "<code class="literal">rubber-banding</code>" property</h3>
<a class="indexterm" name="id3142527"></a><pre class="programlisting">  "rubber-banding"       <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether to enable selection of multiple items by dragging the mouse pointer.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3142555"></a><h3>
<a name="GtkTreeView--rules-hint"></a>The "<code class="literal">rules-hint</code>" property</h3>
<a class="indexterm" name="id3142571"></a><pre class="programlisting">  "rules-hint"           <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Set a hint to the theme engine to draw rows in alternating colors.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3142598"></a><h3>
<a name="GtkTreeView--search-column"></a>The "<code class="literal">search-column</code>" property</h3>
<a class="indexterm" name="id3142615"></a><pre class="programlisting">  "search-column"        <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read / Write</pre>
<p>Model column to search through when searching through code.</p>
<p>Allowed values: &gt;= -1</p>
<p>Default value: -1</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3142646"></a><h3>
<a name="GtkTreeView--show-expanders"></a>The "<code class="literal">show-expanders</code>" property</h3>
<a class="indexterm" name="id3142662"></a><pre class="programlisting">  "show-expanders"       <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>View has expanders.</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3142689"></a><h3>
<a name="GtkTreeView--vadjustment"></a>The "<code class="literal">vadjustment</code>" property</h3>
<a class="indexterm" name="id3142705"></a><pre class="programlisting">  "vadjustment"          <a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a>         : Read / Write</pre>
<p>Vertical Adjustment for the widget.</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id3142730"></a><h2>Style Property Details</h2>
<div class="refsect2" lang="en">
<a name="id3142741"></a><h3>
<a name="GtkTreeView--allow-rules"></a>The "<code class="literal">allow-rules</code>" style property</h3>
<a class="indexterm" name="id3142757"></a><pre class="programlisting">  "allow-rules"          <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read</pre>
<p>Allow drawing of alternating color rows.</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3142784"></a><h3>
<a name="GtkTreeView--even-row-color"></a>The "<code class="literal">even-row-color</code>" style property</h3>
<a class="indexterm" name="id3142800"></a><pre class="programlisting">  "even-row-color"       <a
href="../gdk/gdk-Colormaps-and-Colors.html#GdkColor"
>GdkColor</a>              : Read</pre>
<p>Color to use for even rows.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3142823"></a><h3>
<a name="GtkTreeView--expander-size"></a>The "<code class="literal">expander-size</code>" style property</h3>
<a class="indexterm" name="id3142839"></a><pre class="programlisting">  "expander-size"        <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read</pre>
<p>Size of the expander arrow.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 12</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3142870"></a><h3>
<a name="GtkTreeView--grid-line-pattern"></a>The "<code class="literal">grid-line-pattern</code>" style property</h3>
<a class="indexterm" name="id3142886"></a><pre class="programlisting">  "grid-line-pattern"    <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a>            : Read</pre>
<p>Dash pattern used to draw the tree view grid lines.</p>
<p>Default value: "\001\001"</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3142913"></a><h3>
<a name="GtkTreeView--grid-line-width"></a>The "<code class="literal">grid-line-width</code>" style property</h3>
<a class="indexterm" name="id3142930"></a><pre class="programlisting">  "grid-line-width"      <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read</pre>
<p>Width, in pixels, of the tree view grid lines.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 1</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3142962"></a><h3>
<a name="GtkTreeView--horizontal-separator"></a>The "<code class="literal">horizontal-separator</code>" style property</h3>
<a class="indexterm" name="id3142978"></a><pre class="programlisting">  "horizontal-separator" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read</pre>
<p>Horizontal space between cells.  Must be an even number.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3143010"></a><h3>
<a name="GtkTreeView--indent-expanders"></a>The "<code class="literal">indent-expanders</code>" style property</h3>
<a class="indexterm" name="id3143026"></a><pre class="programlisting">  "indent-expanders"     <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read</pre>
<p>Make the expanders indented.</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3143053"></a><h3>
<a name="GtkTreeView--odd-row-color"></a>The "<code class="literal">odd-row-color</code>" style property</h3>
<a class="indexterm" name="id3143070"></a><pre class="programlisting">  "odd-row-color"        <a
href="../gdk/gdk-Colormaps-and-Colors.html#GdkColor"
>GdkColor</a>              : Read</pre>
<p>Color to use for odd rows.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3143092"></a><h3>
<a name="GtkTreeView--row-ending-details"></a>The "<code class="literal">row-ending-details</code>" style property</h3>
<a class="indexterm" name="id3143109"></a><pre class="programlisting">  "row-ending-details"   <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read</pre>
<p>Enable extended row background theming.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3143136"></a><h3>
<a name="GtkTreeView--tree-line-pattern"></a>The "<code class="literal">tree-line-pattern</code>" style property</h3>
<a class="indexterm" name="id3143153"></a><pre class="programlisting">  "tree-line-pattern"    <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a>            : Read</pre>
<p>Dash pattern used to draw the tree view lines.</p>
<p>Default value: "\001\001"</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3143180"></a><h3>
<a name="GtkTreeView--tree-line-width"></a>The "<code class="literal">tree-line-width</code>" style property</h3>
<a class="indexterm" name="id3143196"></a><pre class="programlisting">  "tree-line-width"      <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read</pre>
<p>Width, in pixels, of the tree view lines.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 1</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3143227"></a><h3>
<a name="GtkTreeView--vertical-separator"></a>The "<code class="literal">vertical-separator</code>" style property</h3>
<a class="indexterm" name="id3143244"></a><pre class="programlisting">  "vertical-separator"   <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read</pre>
<p>Vertical space between cells.  Must be an even number.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 2</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id3143276"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id3143287"></a><h3>
<a name="GtkTreeView-columns-changed"></a>The "columns-changed" signal</h3>
<a class="indexterm" name="id3143298"></a><pre class="programlisting">void        user_function                  (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>     user_data)      : Run last</pre>
<p>
The number of columns of the treeview has changed.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> the object on which the signal is emitted 
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</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="id3143370"></a><h3>
<a name="GtkTreeView-cursor-changed"></a>The "cursor-changed" signal</h3>
<a class="indexterm" name="id3143381"></a><pre class="programlisting">void        user_function                  (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>     user_data)      : Run last</pre>
<p>
The position of the cursor (focused cell) has changed.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> the object on which the signal is emitted
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</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="id3143453"></a><h3>
<a name="GtkTreeView-expand-collapse-cursor-row"></a>The "expand-collapse-cursor-row" signal</h3>
<a class="indexterm" name="id3143465"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    user_function                  (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *treeview,
                                            <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>     arg1,
                                            <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>     arg2,
                                            <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>     arg3,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>     user_data)      : Run last / Action</pre>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>treeview</code></em>&#160;:</span></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>arg1</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>arg2</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>arg3</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>

</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3143607"></a><h3>
<a name="GtkTreeView-move-cursor"></a>The "move-cursor" signal</h3>
<a class="indexterm" name="id3143617"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    user_function                  (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a>     *treeview,
                                            <a href="gtk-Standard-Enumerations.html#GtkMovementStep">GtkMovementStep</a> *arg1,
                                            <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>             arg2,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>         user_data)      : Run last / Action</pre>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>treeview</code></em>&#160;:</span></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>arg1</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>arg2</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>

</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3143739"></a><h3>
<a name="GtkTreeView-row-activated"></a>The "row-activated" signal</h3>
<a class="indexterm" name="id3143749"></a><pre class="programlisting">void        user_function                  (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a>       *tree_view,
                                            <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a>       *path,
                                            <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *column,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>           user_data)      : Run last / Action</pre>
<p>
The "row-activated" signal is emitted when the method
<a href="GtkTreeView.html#gtk-tree-view-row-activated"><code class="function">gtk_tree_view_row_activated()</code></a> is called or the user double clicks 
a treeview row. It is also emitted when a non-editable row is 
selected and one of the keys: Space, Shift+Space, Return or 
Enter is pressed.
</p>
<p>
For selection handling refer to the <a href="TreeWidget.html" title="Tree and List Widget Overview">tree 
widget conceptual overview</a> as well as <a href="GtkTreeSelection.html" title="GtkTreeSelection"><span class="type">GtkTreeSelection</span></a>.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> the object on which the signal is emitted
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em>&#160;:</span></td>
<td> the <a href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> for the activated row
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>column</code></em>&#160;:</span></td>
<td> the <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> in which the activation occurred
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</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="id3143916"></a><h3>
<a name="GtkTreeView-row-collapsed"></a>The "row-collapsed" signal</h3>
<a class="indexterm" name="id3143927"></a><pre class="programlisting">void        user_function                  (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                            <a href="GtkTreeModel.html#GtkTreeIter">GtkTreeIter</a> *iter,
                                            <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> *path,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>     user_data)      : Run last</pre>
<p>
The given row has been collapsed (child nodes are hidden).</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> the object on which the signal is emitted
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>iter</code></em>&#160;:</span></td>
<td> the tree iter of the collapsed row
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em>&#160;:</span></td>
<td> a tree path that points to the row 
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</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="id3144043"></a><h3>
<a name="GtkTreeView-row-expanded"></a>The "row-expanded" signal</h3>
<a class="indexterm" name="id3144053"></a><pre class="programlisting">void        user_function                  (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                            <a href="GtkTreeModel.html#GtkTreeIter">GtkTreeIter</a> *iter,
                                            <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> *path,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>     user_data)      : Run last</pre>
<p>
The given row has been expanded (child nodes are shown).</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> the object on which the signal is emitted
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>iter</code></em>&#160;:</span></td>
<td> the tree iter of the expanded row
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em>&#160;:</span></td>
<td> a tree path that points to the row 
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</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="id3144169"></a><h3>
<a name="GtkTreeView-select-all"></a>The "select-all" signal</h3>
<a class="indexterm" name="id3144179"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    user_function                  (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *treeview,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>     user_data)      : Run last / Action</pre>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>treeview</code></em>&#160;:</span></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>

</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3144258"></a><h3>
<a name="GtkTreeView-select-cursor-parent"></a>The "select-cursor-parent" signal</h3>
<a class="indexterm" name="id3144269"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    user_function                  (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *treeview,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>     user_data)      : Run last / Action</pre>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>treeview</code></em>&#160;:</span></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>

</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3144347"></a><h3>
<a name="GtkTreeView-select-cursor-row"></a>The "select-cursor-row" signal</h3>
<a class="indexterm" name="id3144358"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    user_function                  (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *treeview,
                                            <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>     arg1,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>     user_data)      : Run last / Action</pre>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>treeview</code></em>&#160;:</span></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>arg1</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>

</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3144458"></a><h3>
<a name="GtkTreeView-set-scroll-adjustments"></a>The "set-scroll-adjustments" signal</h3>
<a class="indexterm" name="id3144469"></a><pre class="programlisting">void        user_function                  (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a>   *treeview,
                                            <a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *arg1,
                                            <a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *arg2,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>       user_data)      : Run last / Action</pre>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>treeview</code></em>&#160;:</span></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>arg1</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>arg2</code></em>&#160;:</span></td>
<td>

</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</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="id3144580"></a><h3>
<a name="GtkTreeView-start-interactive-search"></a>The "start-interactive-search" signal</h3>
<a class="indexterm" name="id3144592"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    user_function                  (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *treeview,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>     user_data)      : Run last / Action</pre>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>treeview</code></em>&#160;:</span></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>

</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3144671"></a><h3>
<a name="GtkTreeView-test-collapse-row"></a>The "test-collapse-row" signal</h3>
<a class="indexterm" name="id3144682"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    user_function                  (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                            <a href="GtkTreeModel.html#GtkTreeIter">GtkTreeIter</a> *iter,
                                            <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> *path,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>     user_data)      : Run last</pre>
<p>
The given row is about to be collapsed (hide its children nodes). Use this
signal if you need to control the collapsibility of individual rows.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> the object on which the signal is emitted
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>iter</code></em>&#160;:</span></td>
<td> the tree iter of the row to collapse
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em>&#160;:</span></td>
<td> a tree path that points to the row 
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> to allow expansion, <a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> to reject
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3144830"></a><h3>
<a name="GtkTreeView-test-expand-row"></a>The "test-expand-row" signal</h3>
<a class="indexterm" name="id3144841"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    user_function                  (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *tree_view,
                                            <a href="GtkTreeModel.html#GtkTreeIter">GtkTreeIter</a> *iter,
                                            <a href="GtkTreeModel.html#GtkTreePath">GtkTreePath</a> *path,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>     user_data)      : Run last</pre>
<p>
The given row is about to be expanded (show its children nodes). Use this
signal if you need to control the expandability of individual rows.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_view</code></em>&#160;:</span></td>
<td> the object on which the signal is emitted
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>iter</code></em>&#160;:</span></td>
<td> the tree iter of the row to expand
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em>&#160;:</span></td>
<td> a tree path that points to the row 
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> to allow expansion, <a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> to reject
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3144989"></a><h3>
<a name="GtkTreeView-toggle-cursor-row"></a>The "toggle-cursor-row" signal</h3>
<a class="indexterm" name="id3145000"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    user_function                  (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *treeview,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>     user_data)      : Run last / Action</pre>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>treeview</code></em>&#160;:</span></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>

</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3145078"></a><h3>
<a name="GtkTreeView-unselect-all"></a>The "unselect-all" signal</h3>
<a class="indexterm" name="id3145089"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    user_function                  (<a href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a> *treeview,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>     user_data)      : Run last / Action</pre>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>treeview</code></em>&#160;:</span></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>

</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id3145170"></a><h2>See Also</h2>
<p>
<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>, <a href="GtkTreeSelection.html" title="GtkTreeSelection"><span class="type">GtkTreeSelection</span></a>, <span class="type">GtkTreeDnd</span>, <span class="type">GtkTreeMode</span>, <a href="GtkTreeSortable.html" title="GtkTreeSortable"><span class="type">GtkTreeSortable</span></a>, <a href="GtkTreeModelSort.html" title="GtkTreeModelSort"><span class="type">GtkTreeModelSort</span></a>, <a href="GtkListStore.html" title="GtkListStore"><span class="type">GtkListStore</span></a>, <a href="GtkTreeStore.html" title="GtkTreeStore"><span class="type">GtkTreeStore</span></a>, <a href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a>, <a href="GtkCellEditable.html" title="GtkCellEditable"><span class="type">GtkCellEditable</span></a>, <a href="GtkCellRendererPixbuf.html" title="GtkCellRendererPixbuf"><span class="type">GtkCellRendererPixbuf</span></a>, <a href="GtkCellRendererText.html" title="GtkCellRendererText"><span class="type">GtkCellRendererText</span></a>, <a href="GtkCellRendererToggle.html" title="GtkCellRendererToggle"><span class="type">GtkCellRendererToggle</span></a>
</p>
</div>
</div>
</body>
</html>

Anon7 - 2021