gtk3/docs/reference/gtk/html/GtkTreeView.html
2018-08-09 13:46:53 +03:00

6392 lines
340 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GtkTreeView: GTK+ 3 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="GTK+ 3 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="gtk3-GtkTreeView-drag-and-drop.html" title="GtkTreeView drag-and-drop">
<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</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="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#GtkTreeView.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
<a href="#GtkTreeView.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces">  <span class="dim">|</span> 
<a href="#GtkTreeView.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_properties">  <span class="dim">|</span> 
<a href="#GtkTreeView.properties" class="shortcut">Properties</a></span><span id="nav_style_properties">  <span class="dim">|</span> 
<a href="#GtkTreeView.style-properties" class="shortcut">Style Properties</a></span><span id="nav_signals">  <span class="dim">|</span> 
<a href="#GtkTreeView.signals" class="shortcut">Signals</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="TreeWidgetObjects.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GtkTreeViewColumn.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="gtk3-GtkTreeView-drag-and-drop.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GtkTreeView"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GtkTreeView.top_of_page"></a>GtkTreeView</span></h2>
<p>GtkTreeView — A widget for displaying both trees and lists</p>
</td>
<td class="gallery_image" valign="top" align="right"><img src="list-and-tree.png"></td>
</tr></table></div>
<div class="refsect1">
<a name="GtkTreeView.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="GtkTreeView.html#GtkTreeViewColumnDropFunc" title="GtkTreeViewColumnDropFunc ()">*GtkTreeViewColumnDropFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="GtkTreeView.html#GtkTreeViewMappingFunc" title="GtkTreeViewMappingFunc ()">*GtkTreeViewMappingFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="GtkTreeView.html#GtkTreeViewSearchEqualFunc" title="GtkTreeViewSearchEqualFunc ()">*GtkTreeViewSearchEqualFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-new" title="gtk_tree_view_new ()">gtk_tree_view_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gint</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-level-indentation" title="gtk_tree_view_get_level_indentation ()">gtk_tree_view_get_level_indentation</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-show-expanders" title="gtk_tree_view_get_show_expanders ()">gtk_tree_view_get_show_expanders</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-set-level-indentation" title="gtk_tree_view_set_level_indentation ()">gtk_tree_view_set_level_indentation</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-set-show-expanders" title="gtk_tree_view_set_show_expanders ()">gtk_tree_view_set_show_expanders</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-new-with-model" title="gtk_tree_view_new_with_model ()">gtk_tree_view_new_with_model</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="returnvalue">GtkTreeModel</span></a> *
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-model" title="gtk_tree_view_get_model ()">gtk_tree_view_get_model</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-set-model" title="gtk_tree_view_set_model ()">gtk_tree_view_set_model</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GtkTreeSelection.html" title="GtkTreeSelection"><span class="returnvalue">GtkTreeSelection</span></a> *
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-selection" title="gtk_tree_view_get_selection ()">gtk_tree_view_get_selection</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="returnvalue">GtkAdjustment</span></a> *
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-hadjustment" title="gtk_tree_view_get_hadjustment ()">gtk_tree_view_get_hadjustment</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-set-hadjustment" title="gtk_tree_view_set_hadjustment ()">gtk_tree_view_set_hadjustment</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="returnvalue">GtkAdjustment</span></a> *
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-vadjustment" title="gtk_tree_view_get_vadjustment ()">gtk_tree_view_get_vadjustment</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-set-vadjustment" title="gtk_tree_view_set_vadjustment ()">gtk_tree_view_set_vadjustment</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-headers-visible" title="gtk_tree_view_get_headers_visible ()">gtk_tree_view_get_headers_visible</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-set-headers-visible" title="gtk_tree_view_set_headers_visible ()">gtk_tree_view_set_headers_visible</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-columns-autosize" title="gtk_tree_view_columns_autosize ()">gtk_tree_view_columns_autosize</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-headers-clickable" title="gtk_tree_view_get_headers_clickable ()">gtk_tree_view_get_headers_clickable</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-set-headers-clickable" title="gtk_tree_view_set_headers_clickable ()">gtk_tree_view_set_headers_clickable</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-set-rules-hint" title="gtk_tree_view_set_rules_hint ()">gtk_tree_view_set_rules_hint</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-rules-hint" title="gtk_tree_view_get_rules_hint ()">gtk_tree_view_get_rules_hint</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-set-activate-on-single-click" title="gtk_tree_view_set_activate_on_single_click ()">gtk_tree_view_set_activate_on_single_click</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-activate-on-single-click" title="gtk_tree_view_get_activate_on_single_click ()">gtk_tree_view_get_activate_on_single_click</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gint</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-append-column" title="gtk_tree_view_append_column ()">gtk_tree_view_append_column</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gint</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-remove-column" title="gtk_tree_view_remove_column ()">gtk_tree_view_remove_column</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gint</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-insert-column" title="gtk_tree_view_insert_column ()">gtk_tree_view_insert_column</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gint</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-insert-column-with-attributes" title="gtk_tree_view_insert_column_with_attributes ()">gtk_tree_view_insert_column_with_attributes</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gint</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-insert-column-with-data-func" title="gtk_tree_view_insert_column_with_data_func ()">gtk_tree_view_insert_column_with_data_func</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">guint</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-n-columns" title="gtk_tree_view_get_n_columns ()">gtk_tree_view_get_n_columns</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="returnvalue">GtkTreeViewColumn</span></a> *
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-column" title="gtk_tree_view_get_column ()">gtk_tree_view_get_column</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">GList</span> *
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-columns" title="gtk_tree_view_get_columns ()">gtk_tree_view_get_columns</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-move-column-after" title="gtk_tree_view_move_column_after ()">gtk_tree_view_move_column_after</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-set-expander-column" title="gtk_tree_view_set_expander_column ()">gtk_tree_view_set_expander_column</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="returnvalue">GtkTreeViewColumn</span></a> *
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-expander-column" title="gtk_tree_view_get_expander_column ()">gtk_tree_view_get_expander_column</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-set-column-drag-function" title="gtk_tree_view_set_column_drag_function ()">gtk_tree_view_set_column_drag_function</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-scroll-to-point" title="gtk_tree_view_scroll_to_point ()">gtk_tree_view_scroll_to_point</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-scroll-to-cell" title="gtk_tree_view_scroll_to_cell ()">gtk_tree_view_scroll_to_cell</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-set-cursor" title="gtk_tree_view_set_cursor ()">gtk_tree_view_set_cursor</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-set-cursor-on-cell" title="gtk_tree_view_set_cursor_on_cell ()">gtk_tree_view_set_cursor_on_cell</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-cursor" title="gtk_tree_view_get_cursor ()">gtk_tree_view_get_cursor</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-row-activated" title="gtk_tree_view_row_activated ()">gtk_tree_view_row_activated</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-expand-all" title="gtk_tree_view_expand_all ()">gtk_tree_view_expand_all</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-collapse-all" title="gtk_tree_view_collapse_all ()">gtk_tree_view_collapse_all</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-expand-to-path" title="gtk_tree_view_expand_to_path ()">gtk_tree_view_expand_to_path</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-expand-row" title="gtk_tree_view_expand_row ()">gtk_tree_view_expand_row</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-collapse-row" title="gtk_tree_view_collapse_row ()">gtk_tree_view_collapse_row</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-map-expanded-rows" title="gtk_tree_view_map_expanded_rows ()">gtk_tree_view_map_expanded_rows</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-row-expanded" title="gtk_tree_view_row_expanded ()">gtk_tree_view_row_expanded</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-set-reorderable" title="gtk_tree_view_set_reorderable ()">gtk_tree_view_set_reorderable</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-reorderable" title="gtk_tree_view_get_reorderable ()">gtk_tree_view_get_reorderable</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-path-at-pos" title="gtk_tree_view_get_path_at_pos ()">gtk_tree_view_get_path_at_pos</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-is-blank-at-pos" title="gtk_tree_view_is_blank_at_pos ()">gtk_tree_view_is_blank_at_pos</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-cell-area" title="gtk_tree_view_get_cell_area ()">gtk_tree_view_get_cell_area</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-background-area" title="gtk_tree_view_get_background_area ()">gtk_tree_view_get_background_area</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-visible-rect" title="gtk_tree_view_get_visible_rect ()">gtk_tree_view_get_visible_rect</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-visible-range" title="gtk_tree_view_get_visible_range ()">gtk_tree_view_get_visible_range</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">GdkWindow</span> *
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-bin-window" title="gtk_tree_view_get_bin_window ()">gtk_tree_view_get_bin_window</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-convert-bin-window-to-tree-coords" title="gtk_tree_view_convert_bin_window_to_tree_coords ()">gtk_tree_view_convert_bin_window_to_tree_coords</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-convert-bin-window-to-widget-coords" title="gtk_tree_view_convert_bin_window_to_widget_coords ()">gtk_tree_view_convert_bin_window_to_widget_coords</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-convert-tree-to-bin-window-coords" title="gtk_tree_view_convert_tree_to_bin_window_coords ()">gtk_tree_view_convert_tree_to_bin_window_coords</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-convert-tree-to-widget-coords" title="gtk_tree_view_convert_tree_to_widget_coords ()">gtk_tree_view_convert_tree_to_widget_coords</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-convert-widget-to-bin-window-coords" title="gtk_tree_view_convert_widget_to_bin_window_coords ()">gtk_tree_view_convert_widget_to_bin_window_coords</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-convert-widget-to-tree-coords" title="gtk_tree_view_convert_widget_to_tree_coords ()">gtk_tree_view_convert_widget_to_tree_coords</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-enable-model-drag-dest" title="gtk_tree_view_enable_model_drag_dest ()">gtk_tree_view_enable_model_drag_dest</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-enable-model-drag-source" title="gtk_tree_view_enable_model_drag_source ()">gtk_tree_view_enable_model_drag_source</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-unset-rows-drag-source" title="gtk_tree_view_unset_rows_drag_source ()">gtk_tree_view_unset_rows_drag_source</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-unset-rows-drag-dest" title="gtk_tree_view_unset_rows_drag_dest ()">gtk_tree_view_unset_rows_drag_dest</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-set-drag-dest-row" title="gtk_tree_view_set_drag_dest_row ()">gtk_tree_view_set_drag_dest_row</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-drag-dest-row" title="gtk_tree_view_get_drag_dest_row ()">gtk_tree_view_get_drag_dest_row</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-dest-row-at-pos" title="gtk_tree_view_get_dest_row_at_pos ()">gtk_tree_view_get_dest_row_at_pos</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">cairo_surface_t</span> *
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-create-row-drag-icon" title="gtk_tree_view_create_row_drag_icon ()">gtk_tree_view_create_row_drag_icon</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-set-enable-search" title="gtk_tree_view_set_enable_search ()">gtk_tree_view_set_enable_search</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-enable-search" title="gtk_tree_view_get_enable_search ()">gtk_tree_view_get_enable_search</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gint</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-search-column" title="gtk_tree_view_get_search_column ()">gtk_tree_view_get_search_column</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-set-search-column" title="gtk_tree_view_set_search_column ()">gtk_tree_view_set_search_column</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GtkTreeView.html#GtkTreeViewSearchEqualFunc" title="GtkTreeViewSearchEqualFunc ()"><span class="returnvalue">GtkTreeViewSearchEqualFunc</span></a>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-search-equal-func" title="gtk_tree_view_get_search_equal_func ()">gtk_tree_view_get_search_equal_func</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-set-search-equal-func" title="gtk_tree_view_set_search_equal_func ()">gtk_tree_view_set_search_equal_func</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GtkEntry.html" title="GtkEntry"><span class="returnvalue">GtkEntry</span></a> *
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-search-entry" title="gtk_tree_view_get_search_entry ()">gtk_tree_view_get_search_entry</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-set-search-entry" title="gtk_tree_view_set_search_entry ()">gtk_tree_view_set_search_entry</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="GtkTreeView.html#GtkTreeViewSearchPositionFunc" title="GtkTreeViewSearchPositionFunc ()">*GtkTreeViewSearchPositionFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GtkTreeView.html#GtkTreeViewSearchPositionFunc" title="GtkTreeViewSearchPositionFunc ()"><span class="returnvalue">GtkTreeViewSearchPositionFunc</span></a>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-search-position-func" title="gtk_tree_view_get_search_position_func ()">gtk_tree_view_get_search_position_func</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-set-search-position-func" title="gtk_tree_view_set_search_position_func ()">gtk_tree_view_set_search_position_func</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-fixed-height-mode" title="gtk_tree_view_get_fixed_height_mode ()">gtk_tree_view_get_fixed_height_mode</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-set-fixed-height-mode" title="gtk_tree_view_set_fixed_height_mode ()">gtk_tree_view_set_fixed_height_mode</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-hover-selection" title="gtk_tree_view_get_hover_selection ()">gtk_tree_view_get_hover_selection</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-set-hover-selection" title="gtk_tree_view_set_hover_selection ()">gtk_tree_view_set_hover_selection</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-hover-expand" title="gtk_tree_view_get_hover_expand ()">gtk_tree_view_get_hover_expand</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-set-hover-expand" title="gtk_tree_view_set_hover_expand ()">gtk_tree_view_set_hover_expand</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="GtkTreeView.html#GtkTreeDestroyCountFunc" title="GtkTreeDestroyCountFunc ()">*GtkTreeDestroyCountFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-set-destroy-count-func" title="gtk_tree_view_set_destroy_count_func ()">gtk_tree_view_set_destroy_count_func</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="GtkTreeView.html#GtkTreeViewRowSeparatorFunc" title="GtkTreeViewRowSeparatorFunc ()">*GtkTreeViewRowSeparatorFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GtkTreeView.html#GtkTreeViewRowSeparatorFunc" title="GtkTreeViewRowSeparatorFunc ()"><span class="returnvalue">GtkTreeViewRowSeparatorFunc</span></a>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-row-separator-func" title="gtk_tree_view_get_row_separator_func ()">gtk_tree_view_get_row_separator_func</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-set-row-separator-func" title="gtk_tree_view_set_row_separator_func ()">gtk_tree_view_set_row_separator_func</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-rubber-banding" title="gtk_tree_view_get_rubber_banding ()">gtk_tree_view_get_rubber_banding</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-set-rubber-banding" title="gtk_tree_view_set_rubber_banding ()">gtk_tree_view_set_rubber_banding</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-is-rubber-banding-active" title="gtk_tree_view_is_rubber_banding_active ()">gtk_tree_view_is_rubber_banding_active</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-enable-tree-lines" title="gtk_tree_view_get_enable_tree_lines ()">gtk_tree_view_get_enable_tree_lines</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-set-enable-tree-lines" title="gtk_tree_view_set_enable_tree_lines ()">gtk_tree_view_set_enable_tree_lines</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GtkTreeView.html#GtkTreeViewGridLines" title="enum GtkTreeViewGridLines"><span class="returnvalue">GtkTreeViewGridLines</span></a>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-grid-lines" title="gtk_tree_view_get_grid_lines ()">gtk_tree_view_get_grid_lines</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-set-grid-lines" title="gtk_tree_view_set_grid_lines ()">gtk_tree_view_set_grid_lines</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-set-tooltip-row" title="gtk_tree_view_set_tooltip_row ()">gtk_tree_view_set_tooltip_row</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-set-tooltip-cell" title="gtk_tree_view_set_tooltip_cell ()">gtk_tree_view_set_tooltip_cell</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-tooltip-context" title="gtk_tree_view_get_tooltip_context ()">gtk_tree_view_get_tooltip_context</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gint</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-tooltip-column" title="gtk_tree_view_get_tooltip_column ()">gtk_tree_view_get_tooltip_column</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTreeView.html#gtk-tree-view-set-tooltip-column" title="gtk_tree_view_set_tooltip_column ()">gtk_tree_view_set_tooltip_column</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GtkTreeView.properties"></a><h2>Properties</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="properties_type">
<col width="300px" class="properties_name">
<col width="200px" class="properties_flags">
</colgroup>
<tbody>
<tr>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="GtkTreeView.html#GtkTreeView--activate-on-single-click" title="The “activate-on-single-click” property">activate-on-single-click</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a class="link" href="GtkTreeView.html#GtkTreeViewGridLines" title="enum GtkTreeViewGridLines"><span class="type">GtkTreeViewGridLines</span></a></td>
<td class="property_name"><a class="link" href="GtkTreeView.html#GtkTreeView--enable-grid-lines" title="The “enable-grid-lines” property">enable-grid-lines</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="GtkTreeView.html#GtkTreeView--enable-search" title="The “enable-search” property">enable-search</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="GtkTreeView.html#GtkTreeView--enable-tree-lines" title="The “enable-tree-lines” property">enable-tree-lines</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *</td>
<td class="property_name"><a class="link" href="GtkTreeView.html#GtkTreeView--expander-column" title="The “expander-column” property">expander-column</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="GtkTreeView.html#GtkTreeView--fixed-height-mode" title="The “fixed-height-mode” property">fixed-height-mode</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="GtkTreeView.html#GtkTreeView--headers-clickable" title="The “headers-clickable” property">headers-clickable</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="GtkTreeView.html#GtkTreeView--headers-visible" title="The “headers-visible” property">headers-visible</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="GtkTreeView.html#GtkTreeView--hover-expand" title="The “hover-expand” property">hover-expand</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="GtkTreeView.html#GtkTreeView--hover-selection" title="The “hover-selection” property">hover-selection</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><span class="type">gint</span></td>
<td class="property_name"><a class="link" href="GtkTreeView.html#GtkTreeView--level-indentation" title="The “level-indentation” property">level-indentation</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> *</td>
<td class="property_name"><a class="link" href="GtkTreeView.html#GtkTreeView--model" title="The “model” property">model</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="GtkTreeView.html#GtkTreeView--reorderable" title="The “reorderable” property">reorderable</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="GtkTreeView.html#GtkTreeView--rubber-banding" title="The “rubber-banding” property">rubber-banding</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="GtkTreeView.html#GtkTreeView--rules-hint" title="The “rules-hint” property">rules-hint</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><span class="type">gint</span></td>
<td class="property_name"><a class="link" href="GtkTreeView.html#GtkTreeView--search-column" title="The “search-column” property">search-column</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="GtkTreeView.html#GtkTreeView--show-expanders" title="The “show-expanders” property">show-expanders</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><span class="type">gint</span></td>
<td class="property_name"><a class="link" href="GtkTreeView.html#GtkTreeView--tooltip-column" title="The “tooltip-column” property">tooltip-column</a></td>
<td class="property_flags">Read / Write</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GtkTreeView.style-properties"></a><h2>Style Properties</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="style_properties_type">
<col width="300px" class="style_properties_name">
<col width="200px" class="style_properties_flags">
</colgroup>
<tbody>
<tr>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="GtkTreeView.html#GtkTreeView--s-allow-rules" title="The “allow-rules” style property">allow-rules</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type">
<span class="type">GdkColor</span> *</td>
<td class="property_name"><a class="link" href="GtkTreeView.html#GtkTreeView--s-even-row-color" title="The “even-row-color” style property">even-row-color</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type"><span class="type">gint</span></td>
<td class="property_name"><a class="link" href="GtkTreeView.html#GtkTreeView--s-expander-size" title="The “expander-size” style property">expander-size</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type">
<span class="type">gchar</span> *</td>
<td class="property_name"><a class="link" href="GtkTreeView.html#GtkTreeView--s-grid-line-pattern" title="The “grid-line-pattern” style property">grid-line-pattern</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type"><span class="type">gint</span></td>
<td class="property_name"><a class="link" href="GtkTreeView.html#GtkTreeView--s-grid-line-width" title="The “grid-line-width” style property">grid-line-width</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type"><span class="type">gint</span></td>
<td class="property_name"><a class="link" href="GtkTreeView.html#GtkTreeView--s-horizontal-separator" title="The “horizontal-separator” style property">horizontal-separator</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="GtkTreeView.html#GtkTreeView--s-indent-expanders" title="The “indent-expanders” style property">indent-expanders</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type">
<span class="type">GdkColor</span> *</td>
<td class="property_name"><a class="link" href="GtkTreeView.html#GtkTreeView--s-odd-row-color" title="The “odd-row-color” style property">odd-row-color</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type">
<span class="type">gchar</span> *</td>
<td class="property_name"><a class="link" href="GtkTreeView.html#GtkTreeView--s-tree-line-pattern" title="The “tree-line-pattern” style property">tree-line-pattern</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type"><span class="type">gint</span></td>
<td class="property_name"><a class="link" href="GtkTreeView.html#GtkTreeView--s-tree-line-width" title="The “tree-line-width” style property">tree-line-width</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type"><span class="type">gint</span></td>
<td class="property_name"><a class="link" href="GtkTreeView.html#GtkTreeView--s-vertical-separator" title="The “vertical-separator” style property">vertical-separator</a></td>
<td class="property_flags">Read</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GtkTreeView.signals"></a><h2>Signals</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="signals_return">
<col width="300px" class="signals_name">
<col width="200px" class="signals_flags">
</colgroup>
<tbody>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="GtkTreeView.html#GtkTreeView-columns-changed" title="The “columns-changed” signal">columns-changed</a></td>
<td class="signal_flags">Run Last</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="GtkTreeView.html#GtkTreeView-cursor-changed" title="The “cursor-changed” signal">cursor-changed</a></td>
<td class="signal_flags">Run Last</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">gboolean</span></td>
<td class="signal_name"><a class="link" href="GtkTreeView.html#GtkTreeView-expand-collapse-cursor-row" title="The “expand-collapse-cursor-row” signal">expand-collapse-cursor-row</a></td>
<td class="signal_flags">Action</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">gboolean</span></td>
<td class="signal_name"><a class="link" href="GtkTreeView.html#GtkTreeView-move-cursor" title="The “move-cursor” signal">move-cursor</a></td>
<td class="signal_flags">Action</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="GtkTreeView.html#GtkTreeView-row-activated" title="The “row-activated” signal">row-activated</a></td>
<td class="signal_flags">Action</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="GtkTreeView.html#GtkTreeView-row-collapsed" title="The “row-collapsed” signal">row-collapsed</a></td>
<td class="signal_flags">Run Last</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="GtkTreeView.html#GtkTreeView-row-expanded" title="The “row-expanded” signal">row-expanded</a></td>
<td class="signal_flags">Run Last</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">gboolean</span></td>
<td class="signal_name"><a class="link" href="GtkTreeView.html#GtkTreeView-select-all" title="The “select-all” signal">select-all</a></td>
<td class="signal_flags">Action</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">gboolean</span></td>
<td class="signal_name"><a class="link" href="GtkTreeView.html#GtkTreeView-select-cursor-parent" title="The “select-cursor-parent” signal">select-cursor-parent</a></td>
<td class="signal_flags">Action</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">gboolean</span></td>
<td class="signal_name"><a class="link" href="GtkTreeView.html#GtkTreeView-select-cursor-row" title="The “select-cursor-row” signal">select-cursor-row</a></td>
<td class="signal_flags">Action</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">gboolean</span></td>
<td class="signal_name"><a class="link" href="GtkTreeView.html#GtkTreeView-start-interactive-search" title="The “start-interactive-search” signal">start-interactive-search</a></td>
<td class="signal_flags">Action</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">gboolean</span></td>
<td class="signal_name"><a class="link" href="GtkTreeView.html#GtkTreeView-test-collapse-row" title="The “test-collapse-row” signal">test-collapse-row</a></td>
<td class="signal_flags">Run Last</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">gboolean</span></td>
<td class="signal_name"><a class="link" href="GtkTreeView.html#GtkTreeView-test-expand-row" title="The “test-expand-row” signal">test-expand-row</a></td>
<td class="signal_flags">Run Last</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">gboolean</span></td>
<td class="signal_name"><a class="link" href="GtkTreeView.html#GtkTreeView-toggle-cursor-row" title="The “toggle-cursor-row” signal">toggle-cursor-row</a></td>
<td class="signal_flags">Action</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">gboolean</span></td>
<td class="signal_name"><a class="link" href="GtkTreeView.html#GtkTreeView-unselect-all" title="The “unselect-all” signal">unselect-all</a></td>
<td class="signal_flags">Action</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GtkTreeView.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="GtkTreeView.html#GtkTreeView-struct" title="struct GtkTreeView">GtkTreeView</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="GtkTreeView.html#GtkTreeViewDropPosition" title="enum GtkTreeViewDropPosition">GtkTreeViewDropPosition</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="GtkTreeView.html#GtkTreeViewPrivate" title="GtkTreeViewPrivate">GtkTreeViewPrivate</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="GtkTreeView.html#GtkTreeViewGridLines" title="enum GtkTreeViewGridLines">GtkTreeViewGridLines</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GtkTreeView.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen"> GObject
<span class="lineart">╰──</span> GInitiallyUnowned
<span class="lineart">╰──</span> <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
<span class="lineart">╰──</span> <a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
<span class="lineart">╰──</span> GtkTreeView
</pre>
</div>
<div class="refsect1">
<a name="GtkTreeView.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GtkTreeView implements
AtkImplementorIface, <a class="link" href="GtkBuildable.html" title="GtkBuildable">GtkBuildable</a> and <a class="link" href="GtkScrollable.html" title="GtkScrollable">GtkScrollable</a>.</p>
</div>
<div class="refsect1">
<a name="GtkTreeView.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include &lt;gtk/gtk.h&gt;
</pre>
</div>
<div class="refsect1">
<a name="GtkTreeView.description"></a><h2>Description</h2>
<p>Widget that displays any object that implements the <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> interface.</p>
<p>Please refer to the
<a class="link" 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>
<p>Several different coordinate systems are exposed in the GtkTreeView API.
These are:</p>
<p><span class="inlinemediaobject"><img src="tree-view-coordinates.png"></span></p>
<p>Coordinate systems in GtkTreeView API:</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>Widget coordinates: Coordinates relative to the widget (usually <code class="literal">widget-&gt;window</code>).</p></li>
<li class="listitem"><p>Bin window coordinates: Coordinates relative to the window that GtkTreeView renders to.</p></li>
<li class="listitem"><p>Tree coordinates: Coordinates relative to the entire scrollable area of GtkTreeView. These
coordinates start at (0, 0) for row 0 of the tree.</p></li>
</ul></div>
<p>Several functions are available for converting between the different
coordinate systems. The most common translations are between widget and bin
window coordinates and between bin window and tree coordinates. For the
former you can use <a class="link" href="GtkTreeView.html#gtk-tree-view-convert-widget-to-bin-window-coords" title="gtk_tree_view_convert_widget_to_bin_window_coords ()"><code class="function">gtk_tree_view_convert_widget_to_bin_window_coords()</code></a>
(and vice versa), for the latter <a class="link" href="GtkTreeView.html#gtk-tree-view-convert-bin-window-to-tree-coords" title="gtk_tree_view_convert_bin_window_to_tree_coords ()"><code class="function">gtk_tree_view_convert_bin_window_to_tree_coords()</code></a>
(and vice versa).</p>
<div class="refsect2">
<a name="id-1.3.12.6.11.9"></a><h3>GtkTreeView as GtkBuildable</h3>
<p>The GtkTreeView implementation of the GtkBuildable interface accepts
<a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> objects as &lt;child&gt; elements and exposes the internal
<a class="link" href="GtkTreeSelection.html" title="GtkTreeSelection"><span class="type">GtkTreeSelection</span></a> in UI definitions.</p>
<p>An example of a UI definition fragment with GtkTreeView:</p>
<div class="informalexample">
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="listing_lines" align="right"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19</pre></td>
<td class="listing_code"><pre class="programlisting"><span class="symbol">&lt;</span><span class="usertype">object</span><span class="normal"> class</span><span class="symbol">=</span><span class="string">"GtkTreeView"</span><span class="normal"> id</span><span class="symbol">=</span><span class="string">"treeview"</span><span class="symbol">&gt;</span>
<span class="normal"> </span><span class="symbol">&lt;</span><span class="usertype">property</span><span class="normal"> name</span><span class="symbol">=</span><span class="string">"model"</span><span class="symbol">&gt;</span><span class="normal">liststore1</span><span class="symbol">&lt;/</span><span class="normal">property</span><span class="symbol">&gt;</span>
<span class="normal"> </span><span class="symbol">&lt;</span><span class="normal">child</span><span class="symbol">&gt;</span>
<span class="normal"> </span><span class="symbol">&lt;</span><span class="usertype">object</span><span class="normal"> class</span><span class="symbol">=</span><span class="string">"GtkTreeViewColumn"</span><span class="normal"> id</span><span class="symbol">=</span><span class="string">"test-column"</span><span class="symbol">&gt;</span>
<span class="normal"> </span><span class="symbol">&lt;</span><span class="usertype">property</span><span class="normal"> name</span><span class="symbol">=</span><span class="string">"title"</span><span class="symbol">&gt;</span><span class="normal">Test</span><span class="symbol">&lt;/</span><span class="normal">property</span><span class="symbol">&gt;</span>
<span class="normal"> </span><span class="symbol">&lt;</span><span class="normal">child</span><span class="symbol">&gt;</span>
<span class="normal"> </span><span class="symbol">&lt;</span><span class="usertype">object</span><span class="normal"> class</span><span class="symbol">=</span><span class="string">"GtkCellRendererText"</span><span class="normal"> id</span><span class="symbol">=</span><span class="string">"test-renderer"</span><span class="symbol">/&gt;</span>
<span class="normal"> </span><span class="symbol">&lt;</span><span class="normal">attributes</span><span class="symbol">&gt;</span>
<span class="normal"> </span><span class="symbol">&lt;</span><span class="usertype">attribute</span><span class="normal"> name</span><span class="symbol">=</span><span class="string">"text"</span><span class="symbol">&gt;</span><span class="number">1</span><span class="symbol">&lt;/</span><span class="normal">attribute</span><span class="symbol">&gt;</span>
<span class="normal"> </span><span class="symbol">&lt;/</span><span class="normal">attributes</span><span class="symbol">&gt;</span>
<span class="normal"> </span><span class="symbol">&lt;/</span><span class="normal">child</span><span class="symbol">&gt;</span>
<span class="normal"> </span><span class="symbol">&lt;/</span><span class="normal">object</span><span class="symbol">&gt;</span>
<span class="normal"> </span><span class="symbol">&lt;/</span><span class="normal">child</span><span class="symbol">&gt;</span>
<span class="normal"> </span><span class="symbol">&lt;</span><span class="usertype">child</span><span class="normal"> internal</span><span class="symbol">-</span><span class="normal">child</span><span class="symbol">=</span><span class="string">"selection"</span><span class="symbol">&gt;</span>
<span class="normal"> </span><span class="symbol">&lt;</span><span class="usertype">object</span><span class="normal"> class</span><span class="symbol">=</span><span class="string">"GtkTreeSelection"</span><span class="normal"> id</span><span class="symbol">=</span><span class="string">"selection"</span><span class="symbol">&gt;</span>
<span class="normal"> </span><span class="symbol">&lt;</span><span class="usertype">signal</span><span class="normal"> name</span><span class="symbol">=</span><span class="string">"changed"</span><span class="normal"> handler</span><span class="symbol">=</span><span class="string">"on_treeview_selection_changed"</span><span class="symbol">/&gt;</span>
<span class="normal"> </span><span class="symbol">&lt;/</span><span class="normal">object</span><span class="symbol">&gt;</span>
<span class="normal"> </span><span class="symbol">&lt;/</span><span class="normal">child</span><span class="symbol">&gt;</span>
<span class="symbol">&lt;/</span><span class="normal">object</span><span class="symbol">&gt;</span></pre></td>
</tr>
</tbody>
</table>
</div>
<p></p>
</div>
<hr>
<div class="refsect2">
<a name="id-1.3.12.6.11.10"></a><h3>CSS nodes</h3>
<div class="informalexample">
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="listing_lines" align="right"><pre>1
2
3
4
5
6
7</pre></td>
<td class="listing_code"><pre class="programlisting"><span class="normal">treeview</span><span class="symbol">.</span><span class="normal">view</span>
<span class="normal">├── header</span>
<span class="normal">│ ├── </span><span class="symbol">&lt;</span><span class="usertype">column</span><span class="normal"> header</span><span class="symbol">&gt;</span>
<span class="normal">┊ ┊</span>
<span class="normal">│ ╰── </span><span class="symbol">&lt;</span><span class="usertype">column</span><span class="normal"> header</span><span class="symbol">&gt;</span>
<span class="normal"></span>
<span class="normal">╰── </span><span class="symbol">[</span><span class="normal">rubberband</span><span class="symbol">]</span></pre></td>
</tr>
</tbody>
</table>
</div>
<p></p>
<p>GtkTreeView has a main CSS node with name treeview and style class .view.
It has a subnode with name header, which is the parent for all the column
header widgets' CSS nodes.
For rubberband selection, a subnode with name rubberband is used.</p>
</div>
</div>
<div class="refsect1">
<a name="GtkTreeView.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="GtkTreeViewColumnDropFunc"></a><h3>GtkTreeViewColumnDropFunc ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
<span class="c_punctuation">(</span>*GtkTreeViewColumnDropFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *column</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *prev_column</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *next_column</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</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 <code class="literal">TRUE</code> if the spot is a valid drop
spot. Please note that returning <code class="literal">TRUE</code> 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="refsect3">
<a name="GtkTreeViewColumnDropFunc.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>column</p></td>
<td class="parameter_description"><p>The <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> being dragged</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>prev_column</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> on one side of <em class="parameter"><code>column</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>next_column</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> on the other side of <em class="parameter"><code>column</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>data</p></td>
<td class="parameter_description"><p>user data. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="GtkTreeViewColumnDropFunc.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code>, if <em class="parameter"><code>column</code></em>
can be dropped in this spot</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeViewMappingFunc"></a><h3>GtkTreeViewMappingFunc ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*GtkTreeViewMappingFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
<p>Function used for <a class="link" href="GtkTreeView.html#gtk-tree-view-map-expanded-rows" title="gtk_tree_view_map_expanded_rows ()"><code class="function">gtk_tree_view_map_expanded_rows()</code></a>.</p>
<div class="refsect3">
<a name="GtkTreeViewMappingFunc.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>The path thats expanded</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeViewSearchEqualFunc"></a><h3>GtkTreeViewSearchEqualFunc ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
<span class="c_punctuation">(</span>*GtkTreeViewSearchEqualFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> *model</code></em>,
<em class="parameter"><code><span class="type">gint</span> column</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> search_data</code></em>);</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="refsect3">
<a name="GtkTreeViewSearchEqualFunc.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>model</p></td>
<td class="parameter_description"><p>the <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> being searched</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>column</p></td>
<td class="parameter_description"><p>the search column set by <a class="link" href="GtkTreeView.html#gtk-tree-view-set-search-column" title="gtk_tree_view_set_search_column ()"><code class="function">gtk_tree_view_set_search_column()</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>key</p></td>
<td class="parameter_description"><p>the key string to compare with</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>iter</p></td>
<td class="parameter_description"><p>a <a class="link" 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>
.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>search_data</p></td>
<td class="parameter_description"><p>user data from <a class="link" href="GtkTreeView.html#gtk-tree-view-set-search-equal-func" title="gtk_tree_view_set_search_equal_func ()"><code class="function">gtk_tree_view_set_search_equal_func()</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="GtkTreeViewSearchEqualFunc.returns"></a><h4>Returns</h4>
<p> <code class="literal">FALSE</code> if the row matches, <code class="literal">TRUE</code> otherwise.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-new"></a><h3>gtk_tree_view_new ()</h3>
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
gtk_tree_view_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Creates a new <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> widget.</p>
<div class="refsect3">
<a name="gtk-tree-view-new.returns"></a><h4>Returns</h4>
<p> A newly created <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> widget.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-level-indentation"></a><h3>gtk_tree_view_get_level_indentation ()</h3>
<pre class="programlisting"><span class="returnvalue">gint</span>
gtk_tree_view_get_level_indentation (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
<p>Returns the amount, in pixels, of extra indentation for child levels
in <em class="parameter"><code>tree_view</code></em>
.</p>
<div class="refsect3">
<a name="gtk-tree-view-get-level-indentation.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-get-level-indentation.returns"></a><h4>Returns</h4>
<p> the amount of extra indentation for child levels in
<em class="parameter"><code>tree_view</code></em>
. A return value of 0 means that this feature is disabled.</p>
</div>
<p class="since">Since: 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-show-expanders"></a><h3>gtk_tree_view_get_show_expanders ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gtk_tree_view_get_show_expanders (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
<p>Returns whether or not expanders are drawn in <em class="parameter"><code>tree_view</code></em>
.</p>
<div class="refsect3">
<a name="gtk-tree-view-get-show-expanders.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-get-show-expanders.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if expanders are drawn in <em class="parameter"><code>tree_view</code></em>
, <code class="literal">FALSE</code>
otherwise.</p>
</div>
<p class="since">Since: 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-set-level-indentation"></a><h3>gtk_tree_view_set_level_indentation ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_set_level_indentation (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><span class="type">gint</span> indentation</code></em>);</pre>
<p>Sets the amount of extra indentation for child levels to use in <em class="parameter"><code>tree_view</code></em>
in addition to the default indentation. The value should be specified in
pixels, a value of 0 disables this feature and in this case only the default
indentation will be used.
This does not have any visible effects for lists.</p>
<div class="refsect3">
<a name="gtk-tree-view-set-level-indentation.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>indentation</p></td>
<td class="parameter_description"><p>the amount, in pixels, of extra indentation in <em class="parameter"><code>tree_view</code></em>
.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-set-show-expanders"></a><h3>gtk_tree_view_set_show_expanders ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_set_show_expanders (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> enabled</code></em>);</pre>
<p>Sets whether to draw and enable expanders and indent child rows in
<em class="parameter"><code>tree_view</code></em>
. When disabled there will be no expanders visible in trees
and there will be no way to expand and collapse rows by default. Also
note that hiding the expanders will disable the default indentation. You
can set a custom indentation in this case using
<a class="link" href="GtkTreeView.html#gtk-tree-view-set-level-indentation" title="gtk_tree_view_set_level_indentation ()"><code class="function">gtk_tree_view_set_level_indentation()</code></a>.
This does not have any visible effects for lists.</p>
<div class="refsect3">
<a name="gtk-tree-view-set-show-expanders.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>enabled</p></td>
<td class="parameter_description"><p><code class="literal">TRUE</code> to enable expander drawing, <code class="literal">FALSE</code> otherwise.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-new-with-model"></a><h3>gtk_tree_view_new_with_model ()</h3>
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
gtk_tree_view_new_with_model (<em class="parameter"><code><a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> *model</code></em>);</pre>
<p>Creates a new <a class="link" 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>
<div class="refsect3">
<a name="gtk-tree-view-new-with-model.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>model</p></td>
<td class="parameter_description"><p>the model.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-new-with-model.returns"></a><h4>Returns</h4>
<p> A newly created <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> widget.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-model"></a><h3>gtk_tree_view_get_model ()</h3>
<pre class="programlisting"><a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="returnvalue">GtkTreeModel</span></a> *
gtk_tree_view_get_model (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
<p>Returns the model the <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> is based on. Returns <code class="literal">NULL</code> if the
model is unset.</p>
<div class="refsect3">
<a name="gtk-tree-view-get-model.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-get-model.returns"></a><h4>Returns</h4>
<p>A <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a>, or <code class="literal">NULL</code> if
none is currently being used. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-set-model"></a><h3>gtk_tree_view_set_model ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_set_model (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> *model</code></em>);</pre>
<p>Sets the model for a <a class="link" 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 <code class="literal">NULL</code>,
then it will unset the old model.</p>
<div class="refsect3">
<a name="gtk-tree-view-set-model.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>model</p></td>
<td class="parameter_description"><p>The model. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-selection"></a><h3>gtk_tree_view_get_selection ()</h3>
<pre class="programlisting"><a class="link" href="GtkTreeSelection.html" title="GtkTreeSelection"><span class="returnvalue">GtkTreeSelection</span></a> *
gtk_tree_view_get_selection (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
<p>Gets the <a class="link" href="GtkTreeSelection.html" title="GtkTreeSelection"><span class="type">GtkTreeSelection</span></a> associated with <em class="parameter"><code>tree_view</code></em>
.</p>
<div class="refsect3">
<a name="gtk-tree-view-get-selection.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-get-selection.returns"></a><h4>Returns</h4>
<p>A <a class="link" href="GtkTreeSelection.html" title="GtkTreeSelection"><span class="type">GtkTreeSelection</span></a> object. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-hadjustment"></a><h3>gtk_tree_view_get_hadjustment ()</h3>
<pre class="programlisting"><a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="returnvalue">GtkAdjustment</span></a> *
gtk_tree_view_get_hadjustment (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
<div class="warning">
<p><code class="literal">gtk_tree_view_get_hadjustment</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
<p>Use <a class="link" href="GtkScrollable.html#gtk-scrollable-get-hadjustment" title="gtk_scrollable_get_hadjustment ()"><code class="function">gtk_scrollable_get_hadjustment()</code></a></p>
</div>
<p>Gets the <a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> currently being used for the horizontal aspect.</p>
<div class="refsect3">
<a name="gtk-tree-view-get-hadjustment.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-get-hadjustment.returns"></a><h4>Returns</h4>
<p>A <a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> object, or <code class="literal">NULL</code>
if none is currently being used. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-set-hadjustment"></a><h3>gtk_tree_view_set_hadjustment ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_set_hadjustment (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> *adjustment</code></em>);</pre>
<div class="warning">
<p><code class="literal">gtk_tree_view_set_hadjustment</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
<p>Use <a class="link" href="GtkScrollable.html#gtk-scrollable-set-hadjustment" title="gtk_scrollable_set_hadjustment ()"><code class="function">gtk_scrollable_set_hadjustment()</code></a></p>
</div>
<p>Sets the <a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> for the current horizontal aspect.</p>
<div class="refsect3">
<a name="gtk-tree-view-set-hadjustment.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>adjustment</p></td>
<td class="parameter_description"><p>The <a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> to set, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-vadjustment"></a><h3>gtk_tree_view_get_vadjustment ()</h3>
<pre class="programlisting"><a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="returnvalue">GtkAdjustment</span></a> *
gtk_tree_view_get_vadjustment (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
<div class="warning">
<p><code class="literal">gtk_tree_view_get_vadjustment</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
<p>Use <a class="link" href="GtkScrollable.html#gtk-scrollable-get-vadjustment" title="gtk_scrollable_get_vadjustment ()"><code class="function">gtk_scrollable_get_vadjustment()</code></a></p>
</div>
<p>Gets the <a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> currently being used for the vertical aspect.</p>
<div class="refsect3">
<a name="gtk-tree-view-get-vadjustment.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-get-vadjustment.returns"></a><h4>Returns</h4>
<p>A <a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> object, or <code class="literal">NULL</code>
if none is currently being used. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-set-vadjustment"></a><h3>gtk_tree_view_set_vadjustment ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_set_vadjustment (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> *adjustment</code></em>);</pre>
<div class="warning">
<p><code class="literal">gtk_tree_view_set_vadjustment</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
<p>Use <a class="link" href="GtkScrollable.html#gtk-scrollable-set-vadjustment" title="gtk_scrollable_set_vadjustment ()"><code class="function">gtk_scrollable_set_vadjustment()</code></a></p>
</div>
<p>Sets the <a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> for the current vertical aspect.</p>
<div class="refsect3">
<a name="gtk-tree-view-set-vadjustment.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>adjustment</p></td>
<td class="parameter_description"><p>The <a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> to set, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-headers-visible"></a><h3>gtk_tree_view_get_headers_visible ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gtk_tree_view_get_headers_visible (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
<p>Returns <code class="literal">TRUE</code> if the headers on the <em class="parameter"><code>tree_view</code></em>
are visible.</p>
<div class="refsect3">
<a name="gtk-tree-view-get-headers-visible.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-get-headers-visible.returns"></a><h4>Returns</h4>
<p> Whether the headers are visible or not.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-set-headers-visible"></a><h3>gtk_tree_view_set_headers_visible ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_set_headers_visible (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> headers_visible</code></em>);</pre>
<p>Sets the visibility state of the headers.</p>
<div class="refsect3">
<a name="gtk-tree-view-set-headers-visible.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>headers_visible</p></td>
<td class="parameter_description"><p><code class="literal">TRUE</code> if the headers are visible</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-columns-autosize"></a><h3>gtk_tree_view_columns_autosize ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_columns_autosize (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
<p>Resizes all columns to their optimal width. Only works after the
treeview has been realized.</p>
<div class="refsect3">
<a name="gtk-tree-view-columns-autosize.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-headers-clickable"></a><h3>gtk_tree_view_get_headers_clickable ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gtk_tree_view_get_headers_clickable (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
<p>Returns whether all header columns are clickable.</p>
<div class="refsect3">
<a name="gtk-tree-view-get-headers-clickable.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-get-headers-clickable.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if all header columns are clickable, otherwise <code class="literal">FALSE</code></p>
</div>
<p class="since">Since: 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-set-headers-clickable"></a><h3>gtk_tree_view_set_headers_clickable ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_set_headers_clickable (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> setting</code></em>);</pre>
<p>Allow the column title buttons to be clicked.</p>
<div class="refsect3">
<a name="gtk-tree-view-set-headers-clickable.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>setting</p></td>
<td class="parameter_description"><p><code class="literal">TRUE</code> if the columns are clickable.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-set-rules-hint"></a><h3>gtk_tree_view_set_rules_hint ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_set_rules_hint (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> setting</code></em>);</pre>
<div class="warning"><p><code class="literal">gtk_tree_view_set_rules_hint</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
<p>Sets a hint for the theme to draw even/odd rows in the <em class="parameter"><code>tree_view</code></em>
with different colors, also known as "zebra striping".</p>
<p>This function tells the GTK+ theme that the user interface for your
application requires users to read across tree rows and associate
cells with one another.</p>
<p>Do not use it just because you prefer the appearance of the ruled
tree; thats 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 semantic hint to
the theme engine that your tree makes alternating colors useful
from a functional standpoint (since it has lots of columns,
generally).</p>
<div class="refsect3">
<a name="gtk-tree-view-set-rules-hint.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>setting</p></td>
<td class="parameter_description"><p><code class="literal">TRUE</code> if the tree requires reading across rows</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-rules-hint"></a><h3>gtk_tree_view_get_rules_hint ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gtk_tree_view_get_rules_hint (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
<div class="warning"><p><code class="literal">gtk_tree_view_get_rules_hint</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
<p>Gets the setting set by <a class="link" href="GtkTreeView.html#gtk-tree-view-set-rules-hint" title="gtk_tree_view_set_rules_hint ()"><code class="function">gtk_tree_view_set_rules_hint()</code></a>.</p>
<div class="refsect3">
<a name="gtk-tree-view-get-rules-hint.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-get-rules-hint.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the hint is set</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-set-activate-on-single-click"></a><h3>gtk_tree_view_set_activate_on_single_click ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_set_activate_on_single_click
(<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> single</code></em>);</pre>
<p>Cause the <a class="link" href="GtkTreeView.html#GtkTreeView-row-activated" title="The “row-activated” signal"><span class="type">“row-activated”</span></a> signal to be emitted
on a single click instead of a double click.</p>
<div class="refsect3">
<a name="gtk-tree-view-set-activate-on-single-click.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>single</p></td>
<td class="parameter_description"><p><code class="literal">TRUE</code> to emit row-activated on a single click</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-8.html#api-index-3.8">3.8</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-activate-on-single-click"></a><h3>gtk_tree_view_get_activate_on_single_click ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gtk_tree_view_get_activate_on_single_click
(<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
<p>Gets the setting set by <a class="link" href="GtkTreeView.html#gtk-tree-view-set-activate-on-single-click" title="gtk_tree_view_set_activate_on_single_click ()"><code class="function">gtk_tree_view_set_activate_on_single_click()</code></a>.</p>
<div class="refsect3">
<a name="gtk-tree-view-get-activate-on-single-click.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-get-activate-on-single-click.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if row-activated will be emitted on a single click</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-8.html#api-index-3.8">3.8</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-append-column"></a><h3>gtk_tree_view_append_column ()</h3>
<pre class="programlisting"><span class="returnvalue">gint</span>
gtk_tree_view_append_column (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *column</code></em>);</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>
<div class="refsect3">
<a name="gtk-tree-view-append-column.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>column</p></td>
<td class="parameter_description"><p>The <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> to add.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-append-column.returns"></a><h4>Returns</h4>
<p> The number of columns in <em class="parameter"><code>tree_view</code></em>
after appending.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-remove-column"></a><h3>gtk_tree_view_remove_column ()</h3>
<pre class="programlisting"><span class="returnvalue">gint</span>
gtk_tree_view_remove_column (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *column</code></em>);</pre>
<p>Removes <em class="parameter"><code>column</code></em>
from <em class="parameter"><code>tree_view</code></em>
.</p>
<div class="refsect3">
<a name="gtk-tree-view-remove-column.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>column</p></td>
<td class="parameter_description"><p>The <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> to remove.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-remove-column.returns"></a><h4>Returns</h4>
<p> The number of columns in <em class="parameter"><code>tree_view</code></em>
after removing.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-insert-column"></a><h3>gtk_tree_view_insert_column ()</h3>
<pre class="programlisting"><span class="returnvalue">gint</span>
gtk_tree_view_insert_column (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *column</code></em>,
<em class="parameter"><code><span class="type">gint</span> position</code></em>);</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>
<div class="refsect3">
<a name="gtk-tree-view-insert-column.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>column</p></td>
<td class="parameter_description"><p>The <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> to be inserted.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>position</p></td>
<td class="parameter_description"><p>The position to insert <em class="parameter"><code>column</code></em>
in.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-insert-column.returns"></a><h4>Returns</h4>
<p> The number of columns in <em class="parameter"><code>tree_view</code></em>
after insertion.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-insert-column-with-attributes"></a><h3>gtk_tree_view_insert_column_with_attributes ()</h3>
<pre class="programlisting"><span class="returnvalue">gint</span>
gtk_tree_view_insert_column_with_attributes
(<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><span class="type">gint</span> position</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *title</code></em>,
<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>,
<em class="parameter"><code>...</code></em>);</pre>
<p>Creates a new <a class="link" 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>
<div class="refsect3">
<a name="gtk-tree-view-insert-column-with-attributes.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>position</p></td>
<td class="parameter_description"><p>The position to insert the new column in</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>title</p></td>
<td class="parameter_description"><p>The title to set the header to</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cell</p></td>
<td class="parameter_description"><p>The <a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>...</p></td>
<td class="parameter_description"><p>A <code class="literal">NULL</code>-terminated list of attributes</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-insert-column-with-attributes.returns"></a><h4>Returns</h4>
<p> The number of columns in <em class="parameter"><code>tree_view</code></em>
after insertion.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-insert-column-with-data-func"></a><h3>gtk_tree_view_insert_column_with_data_func ()</h3>
<pre class="programlisting"><span class="returnvalue">gint</span>
gtk_tree_view_insert_column_with_data_func
(<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><span class="type">gint</span> position</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *title</code></em>,
<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html#GtkTreeCellDataFunc" title="GtkTreeCellDataFunc ()"><span class="type">GtkTreeCellDataFunc</span></a> func</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
<em class="parameter"><code><span class="type">GDestroyNotify</span> dnotify</code></em>);</pre>
<p>Convenience function that inserts a new column into the <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
with the given cell renderer and a <a class="link" href="GtkTreeViewColumn.html#GtkTreeCellDataFunc" title="GtkTreeCellDataFunc ()"><span class="type">GtkTreeCellDataFunc</span></a> to set cell renderer
attributes (normally using data from the model). See also
<a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-set-cell-data-func" title="gtk_tree_view_column_set_cell_data_func ()"><code class="function">gtk_tree_view_column_set_cell_data_func()</code></a>, <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-pack-start" title="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>
<div class="refsect3">
<a name="gtk-tree-view-insert-column-with-data-func.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>position</p></td>
<td class="parameter_description"><p>Position to insert, -1 for append</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>title</p></td>
<td class="parameter_description"><p>column title</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cell</p></td>
<td class="parameter_description"><p>cell renderer for column</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>func</p></td>
<td class="parameter_description"><p>function to set attributes of cell renderer</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>data</p></td>
<td class="parameter_description"><p>data for <em class="parameter"><code>func</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>dnotify</p></td>
<td class="parameter_description"><p>destroy notifier for <em class="parameter"><code>data</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-insert-column-with-data-func.returns"></a><h4>Returns</h4>
<p> number of columns in the tree view post-insert</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-n-columns"></a><h3>gtk_tree_view_get_n_columns ()</h3>
<pre class="programlisting"><span class="returnvalue">guint</span>
gtk_tree_view_get_n_columns (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
<p>Queries the number of columns in the given <em class="parameter"><code>tree_view</code></em>
.</p>
<div class="refsect3">
<a name="gtk-tree-view-get-n-columns.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-get-n-columns.returns"></a><h4>Returns</h4>
<p> The number of columns in the <em class="parameter"><code>tree_view</code></em>
</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-4.html#api-index-3.4">3.4</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-column"></a><h3>gtk_tree_view_get_column ()</h3>
<pre class="programlisting"><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="returnvalue">GtkTreeViewColumn</span></a> *
gtk_tree_view_get_column (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><span class="type">gint</span> n</code></em>);</pre>
<p>Gets the <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> at the given position in the <span class="type">tree_view</span>.</p>
<div class="refsect3">
<a name="gtk-tree-view-get-column.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>n</p></td>
<td class="parameter_description"><p>The position of the column, counting from 0.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-get-column.returns"></a><h4>Returns</h4>
<p>The <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>, or <code class="literal">NULL</code> if the
position is outside the range of columns. </p>
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-columns"></a><h3>gtk_tree_view_get_columns ()</h3>
<pre class="programlisting"><span class="returnvalue">GList</span> *
gtk_tree_view_get_columns (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
<p>Returns a <span class="type">GList</span> of all the <a class="link" 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 <code class="function">g_list_free()</code>.</p>
<div class="refsect3">
<a name="gtk-tree-view-get-columns.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-get-columns.returns"></a><h4>Returns</h4>
<p>A list of <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> s. </p>
<p><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkTreeViewColumn][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-move-column-after"></a><h3>gtk_tree_view_move_column_after ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_move_column_after (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *column</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *base_column</code></em>);</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 <code class="literal">NULL</code>, then
<em class="parameter"><code>column</code></em>
is placed in the first position.</p>
<div class="refsect3">
<a name="gtk-tree-view-move-column-after.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>column</p></td>
<td class="parameter_description"><p>The <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> to be moved.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>base_column</p></td>
<td class="parameter_description"><p>The <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> to be moved relative to, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-set-expander-column"></a><h3>gtk_tree_view_set_expander_column ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_set_expander_column (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *column</code></em>);</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 <code class="literal">NULL</code>, 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>
<div class="refsect3">
<a name="gtk-tree-view-set-expander-column.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>column</p></td>
<td class="parameter_description"><p><code class="literal">NULL</code>, or the column to draw the expander arrow at.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-expander-column"></a><h3>gtk_tree_view_get_expander_column ()</h3>
<pre class="programlisting"><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="returnvalue">GtkTreeViewColumn</span></a> *
gtk_tree_view_get_expander_column (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
<p>Returns the column that is the current expander column.
This column has the expander arrow drawn next to it.</p>
<div class="refsect3">
<a name="gtk-tree-view-get-expander-column.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-get-expander-column.returns"></a><h4>Returns</h4>
<p>The expander column. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-set-column-drag-function"></a><h3>gtk_tree_view_set_column_drag_function ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_set_column_drag_function
(<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeView.html#GtkTreeViewColumnDropFunc" title="GtkTreeViewColumnDropFunc ()"><span class="type">GtkTreeViewColumnDropFunc</span></a> func</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
<em class="parameter"><code><span class="type">GDestroyNotify</span> destroy</code></em>);</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 class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> being
dragged, the two <a class="link" 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 class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> arguments for the drop spot
are <code class="literal">NULL</code>, then they indicate an edge. If <em class="parameter"><code>func</code></em>
is set to be <code class="literal">NULL</code>, then
<em class="parameter"><code>tree_view</code></em>
reverts to the default behavior of allowing all columns to be
dropped everywhere.</p>
<div class="refsect3">
<a name="gtk-tree-view-set-column-drag-function.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>func</p></td>
<td class="parameter_description"><p>A function to determine which columns are reorderable, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>User data to be passed to <em class="parameter"><code>func</code></em>
, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>destroy</p></td>
<td class="parameter_description"><p>Destroy notifier for <em class="parameter"><code>user_data</code></em>
, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-scroll-to-point"></a><h3>gtk_tree_view_scroll_to_point ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_scroll_to_point (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><span class="type">gint</span> tree_x</code></em>,
<em class="parameter"><code><span class="type">gint</span> tree_y</code></em>);</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 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 class="link" href="GtkTreeView.html#gtk-tree-view-scroll-to-cell" title="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 isnt scrolled.</p>
<div class="refsect3">
<a name="gtk-tree-view-scroll-to-point.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>tree_x</p></td>
<td class="parameter_description"><p>X coordinate of new top-left pixel of visible area, or -1</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>tree_y</p></td>
<td class="parameter_description"><p>Y coordinate of new top-left pixel of visible area, or -1</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-scroll-to-cell"></a><h3>gtk_tree_view_scroll_to_cell ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_scroll_to_cell (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *column</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> use_align</code></em>,
<em class="parameter"><code><span class="type">gfloat</span> row_align</code></em>,
<em class="parameter"><code><span class="type">gfloat</span> col_align</code></em>);</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 <code class="literal">NULL</code>, then no horizontal scrolling occurs. Likewise,
if <em class="parameter"><code>path</code></em>
is <code class="literal">NULL</code> 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-<code class="literal">NULL</code>. <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 <code class="literal">FALSE</code>, 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>
<div class="refsect3">
<a name="gtk-tree-view-scroll-to-cell.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>The path of the row to move to, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>column</p></td>
<td class="parameter_description"><p>The <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> to move horizontally to, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>use_align</p></td>
<td class="parameter_description"><p>whether to use alignment arguments, or <code class="literal">FALSE</code>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>row_align</p></td>
<td class="parameter_description"><p>The vertical alignment of the row specified by <em class="parameter"><code>path</code></em>
.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>col_align</p></td>
<td class="parameter_description"><p>The horizontal alignment of the column specified by <em class="parameter"><code>column</code></em>
.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-set-cursor"></a><h3>gtk_tree_view_set_cursor ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_set_cursor (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *focus_column</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> start_editing</code></em>);</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 users attention on a particular row. If
<em class="parameter"><code>focus_column</code></em>
is not <code class="literal">NULL</code>, 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
<code class="literal">TRUE</code>, 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>If <em class="parameter"><code>path</code></em>
is invalid for <em class="parameter"><code>model</code></em>
, the current cursor (if any) will be unset
and the function will return without failing.</p>
<div class="refsect3">
<a name="gtk-tree-view-set-cursor.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>focus_column</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>start_editing</p></td>
<td class="parameter_description"><p><code class="literal">TRUE</code> if the specified cell should start being edited.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-set-cursor-on-cell"></a><h3>gtk_tree_view_set_cursor_on_cell ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_set_cursor_on_cell (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *focus_column</code></em>,
<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *focus_cell</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> start_editing</code></em>);</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 users attention on a particular row. If
<em class="parameter"><code>focus_column</code></em>
is not <code class="literal">NULL</code>, 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 <code class="literal">NULL</code>, 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 <code class="literal">TRUE</code>, 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>If <em class="parameter"><code>path</code></em>
is invalid for <em class="parameter"><code>model</code></em>
, the current cursor (if any) will be unset
and the function will return without failing.</p>
<div class="refsect3">
<a name="gtk-tree-view-set-cursor-on-cell.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>focus_column</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>focus_cell</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a>, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>start_editing</p></td>
<td class="parameter_description"><p><code class="literal">TRUE</code> if the specified cell should start being edited.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 2.2</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-cursor"></a><h3>gtk_tree_view_get_cursor ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_get_cursor (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> **path</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> **focus_column</code></em>);</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 isnt currently set, then *<em class="parameter"><code>path</code></em>
will be <code class="literal">NULL</code>. If no column
currently has focus, then *<em class="parameter"><code>focus_column</code></em>
will be <code class="literal">NULL</code>.</p>
<p>The returned <a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> must be freed with <a class="link" href="GtkTreeModel.html#gtk-tree-path-free" title="gtk_tree_path_free ()"><code class="function">gtk_tree_path_free()</code></a> when
you are done with it.</p>
<div class="refsect3">
<a name="gtk-tree-view-get-cursor.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>A pointer to be
filled with the current cursor path, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>focus_column</p></td>
<td class="parameter_description"><p>A
pointer to be filled with the current focus column, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-row-activated"></a><h3>gtk_tree_view_row_activated ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_row_activated (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *column</code></em>);</pre>
<p>Activates the cell determined by <em class="parameter"><code>path</code></em>
and <em class="parameter"><code>column</code></em>
.</p>
<div class="refsect3">
<a name="gtk-tree-view-row-activated.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>The <a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> to be activated.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>column</p></td>
<td class="parameter_description"><p>The <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> to be activated.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-expand-all"></a><h3>gtk_tree_view_expand_all ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_expand_all (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
<p>Recursively expands all nodes in the <em class="parameter"><code>tree_view</code></em>
.</p>
<div class="refsect3">
<a name="gtk-tree-view-expand-all.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-collapse-all"></a><h3>gtk_tree_view_collapse_all ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_collapse_all (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
<p>Recursively collapses all visible, expanded nodes in <em class="parameter"><code>tree_view</code></em>
.</p>
<div class="refsect3">
<a name="gtk-tree-view-collapse-all.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-expand-to-path"></a><h3>gtk_tree_view_expand_to_path ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_expand_to_path (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);</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>
<div class="refsect3">
<a name="gtk-tree-view-expand-to-path.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>path to a row.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 2.2</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-expand-row"></a><h3>gtk_tree_view_expand_row ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gtk_tree_view_expand_row (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> open_all</code></em>);</pre>
<p>Opens the row so its children are visible.</p>
<div class="refsect3">
<a name="gtk-tree-view-expand-row.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>path to a row</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>open_all</p></td>
<td class="parameter_description"><p>whether to recursively expand, or just expand immediate children</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-expand-row.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the row existed and had children</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-collapse-row"></a><h3>gtk_tree_view_collapse_row ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gtk_tree_view_collapse_row (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);</pre>
<p>Collapses a row (hides its child rows, if they exist).</p>
<div class="refsect3">
<a name="gtk-tree-view-collapse-row.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>path to a row in the <em class="parameter"><code>tree_view</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-collapse-row.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the row was collapsed.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-map-expanded-rows"></a><h3>gtk_tree_view_map_expanded_rows ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_map_expanded_rows (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeView.html#GtkTreeViewMappingFunc" title="GtkTreeViewMappingFunc ()"><span class="type">GtkTreeViewMappingFunc</span></a> func</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
<p>Calls <em class="parameter"><code>func</code></em>
on all expanded rows.</p>
<div class="refsect3">
<a name="gtk-tree-view-map-expanded-rows.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>func</p></td>
<td class="parameter_description"><p>A function to be called. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid only during the call to the method."><span class="acronym">scope call</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>data</p></td>
<td class="parameter_description"><p>User data to be passed to the function.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-row-expanded"></a><h3>gtk_tree_view_row_expanded ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gtk_tree_view_row_expanded (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);</pre>
<p>Returns <code class="literal">TRUE</code> 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>
<div class="refsect3">
<a name="gtk-tree-view-row-expanded.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> to test expansion state.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-row-expanded.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if <span class="type">path</span> is expanded.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-set-reorderable"></a><h3>gtk_tree_view_set_reorderable ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_set_reorderable (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> reorderable</code></em>);</pre>
<p>This function is a convenience function to allow you to reorder
models that support the <a class="link" href="gtk3-GtkTreeView-drag-and-drop.html#GtkTreeDragSourceIface" title="struct GtkTreeDragSourceIface"><span class="type">GtkTreeDragSourceIface</span></a> and the
<a class="link" href="gtk3-GtkTreeView-drag-and-drop.html#GtkTreeDragDestIface" title="struct GtkTreeDragDestIface"><span class="type">GtkTreeDragDestIface</span></a>. Both <a class="link" href="GtkTreeStore.html" title="GtkTreeStore"><span class="type">GtkTreeStore</span></a> and <a class="link" href="GtkListStore.html" title="GtkListStore"><span class="type">GtkListStore</span></a> support
these. If <em class="parameter"><code>reorderable</code></em>
is <code class="literal">TRUE</code>, then the user can reorder the
model by dragging and dropping rows. The developer can listen to
these changes by connecting to the models <a class="link" href="GtkTreeModel.html#GtkTreeModel-row-inserted" title="The “row-inserted” signal"><span class="type">“row-inserted”</span></a>
and <a class="link" href="GtkTreeModel.html#GtkTreeModel-row-deleted" title="The “row-deleted” signal"><span class="type">“row-deleted”</span></a> signals. The reordering is implemented
by setting up the tree view as a drag source and destination.
Therefore, drag and drop can not be used in a reorderable view for any
other purpose.</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>
<div class="refsect3">
<a name="gtk-tree-view-set-reorderable.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>reorderable</p></td>
<td class="parameter_description"><p><code class="literal">TRUE</code>, if the tree can be reordered.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-reorderable"></a><h3>gtk_tree_view_get_reorderable ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gtk_tree_view_get_reorderable (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
<p>Retrieves whether the user can reorder the tree via drag-and-drop. See
<a class="link" href="GtkTreeView.html#gtk-tree-view-set-reorderable" title="gtk_tree_view_set_reorderable ()"><code class="function">gtk_tree_view_set_reorderable()</code></a>.</p>
<div class="refsect3">
<a name="gtk-tree-view-get-reorderable.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-get-reorderable.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the tree can be reordered.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-path-at-pos"></a><h3>gtk_tree_view_get_path_at_pos ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gtk_tree_view_get_path_at_pos (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
<em class="parameter"><code><span class="type">gint</span> y</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> **path</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> **column</code></em>,
<em class="parameter"><code><span class="type">gint</span> *cell_x</code></em>,
<em class="parameter"><code><span class="type">gint</span> *cell_y</code></em>);</pre>
<p>Finds the path at the point (<em class="parameter"><code>x</code></em>
, <em class="parameter"><code>y</code></em>
), relative to bin_window coordinates
(please see <a class="link" href="GtkTreeView.html#gtk-tree-view-get-bin-window" title="gtk_tree_view_get_bin_window ()"><code class="function">gtk_tree_view_get_bin_window()</code></a>).
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 ==
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-bin-window" title="gtk_tree_view_get_bin_window ()"><code class="function">gtk_tree_view_get_bin_window()</code></a></code>. It is primarily for
things like popup menus. If <em class="parameter"><code>path</code></em>
is non-<code class="literal">NULL</code>, then it will be filled
with the <a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> at that point. This path should be freed with
<a class="link" href="GtkTreeModel.html#gtk-tree-path-free" title="gtk_tree_path_free ()"><code class="function">gtk_tree_path_free()</code></a>. If <em class="parameter"><code>column</code></em>
is non-<code class="literal">NULL</code>, 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 class="link" href="GtkCellRenderer.html#gtk-cell-renderer-render" title="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. Therefore this function will always return <code class="literal">FALSE</code>
if <em class="parameter"><code>tree_view</code></em>
is not realized or does not have a model.</p>
<p>For converting widget coordinates (eg. the ones you get from
GtkWidget::query-tooltip), please see
<a class="link" href="GtkTreeView.html#gtk-tree-view-convert-widget-to-bin-window-coords" title="gtk_tree_view_convert_widget_to_bin_window_coords ()"><code class="function">gtk_tree_view_convert_widget_to_bin_window_coords()</code></a>.</p>
<div class="refsect3">
<a name="gtk-tree-view-get-path-at-pos.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>x</p></td>
<td class="parameter_description"><p>The x position to be identified (relative to bin_window).</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>y</p></td>
<td class="parameter_description"><p>The y position to be identified (relative to bin_window).</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>A pointer to a <a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a>
pointer to be filled in, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>column</p></td>
<td class="parameter_description"><p>A pointer to
a <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> pointer to be filled in, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>cell_x</p></td>
<td class="parameter_description"><p>A pointer where the X coordinate
relative to the cell can be placed, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>cell_y</p></td>
<td class="parameter_description"><p>A pointer where the Y coordinate
relative to the cell can be placed, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-get-path-at-pos.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if a row exists at that coordinate.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-is-blank-at-pos"></a><h3>gtk_tree_view_is_blank_at_pos ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gtk_tree_view_is_blank_at_pos (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
<em class="parameter"><code><span class="type">gint</span> y</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> **path</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> **column</code></em>,
<em class="parameter"><code><span class="type">gint</span> *cell_x</code></em>,
<em class="parameter"><code><span class="type">gint</span> *cell_y</code></em>);</pre>
<p>Determine whether the point (<em class="parameter"><code>x</code></em>
, <em class="parameter"><code>y</code></em>
) in <em class="parameter"><code>tree_view</code></em>
is blank, that is no
cell content nor an expander arrow is drawn at the location. If so, the
location can be considered as the background. You might wish to take
special action on clicks on the background, such as clearing a current
selection, having a custom context menu or starting rubber banding.</p>
<p>The <em class="parameter"><code>x</code></em>
and <em class="parameter"><code>y</code></em>
coordinate that are provided must be relative to bin_window
coordinates. That is, <em class="parameter"><code>x</code></em>
and <em class="parameter"><code>y</code></em>
must come from an event on <em class="parameter"><code>tree_view</code></em>
where <code class="literal">event-&gt;window == <a class="link" href="GtkTreeView.html#gtk-tree-view-get-bin-window" title="gtk_tree_view_get_bin_window ()"><code class="function">gtk_tree_view_get_bin_window()</code></a></code>.</p>
<p>For converting widget coordinates (eg. the ones you get from
GtkWidget::query-tooltip), please see
<a class="link" href="GtkTreeView.html#gtk-tree-view-convert-widget-to-bin-window-coords" title="gtk_tree_view_convert_widget_to_bin_window_coords ()"><code class="function">gtk_tree_view_convert_widget_to_bin_window_coords()</code></a>.</p>
<p>The <em class="parameter"><code>path</code></em>
, <em class="parameter"><code>column</code></em>
, <em class="parameter"><code>cell_x</code></em>
and <em class="parameter"><code>cell_y</code></em>
arguments will be filled in
likewise as for <a class="link" href="GtkTreeView.html#gtk-tree-view-get-path-at-pos" title="gtk_tree_view_get_path_at_pos ()"><code class="function">gtk_tree_view_get_path_at_pos()</code></a>. Please see
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-path-at-pos" title="gtk_tree_view_get_path_at_pos ()"><code class="function">gtk_tree_view_get_path_at_pos()</code></a> for more information.</p>
<div class="refsect3">
<a name="gtk-tree-view-is-blank-at-pos.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>x</p></td>
<td class="parameter_description"><p>The x position to be identified (relative to bin_window)</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>y</p></td>
<td class="parameter_description"><p>The y position to be identified (relative to bin_window)</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>A pointer to a <a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> pointer to
be filled in, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>column</p></td>
<td class="parameter_description"><p>A pointer to a
<a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> pointer to be filled in, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>cell_x</p></td>
<td class="parameter_description"><p>A pointer where the X coordinate relative to the
cell can be placed, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>cell_y</p></td>
<td class="parameter_description"><p>A pointer where the Y coordinate relative to the
cell can be placed, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-is-blank-at-pos.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the area at the given coordinates is blank,
<code class="literal">FALSE</code> otherwise.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-cell-area"></a><h3>gtk_tree_view_get_cell_area ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_get_cell_area (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *column</code></em>,
<em class="parameter"><code><span class="type">GdkRectangle</span> *rect</code></em>);</pre>
<p>Fills the bounding rectangle in bin_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
<code class="literal">NULL</code>, 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 <code class="literal">NULL</code>, 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 class="link" href="GtkCellRenderer.html#gtk-cell-renderer-render" title="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>
<div class="refsect3">
<a name="gtk-tree-view-get-cell-area.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> for the row, or <code class="literal">NULL</code> to get only horizontal coordinates. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>column</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> for the column, or <code class="literal">NULL</code> to get only vertical coordinates. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>rect</p></td>
<td class="parameter_description"><p>rectangle to fill with cell rect. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-background-area"></a><h3>gtk_tree_view_get_background_area ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_get_background_area (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *column</code></em>,
<em class="parameter"><code><span class="type">GdkRectangle</span> *rect</code></em>);</pre>
<p>Fills the bounding rectangle in bin_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
<code class="literal">NULL</code>, 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 <code class="literal">NULL</code>, 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 class="link" href="GtkCellRenderer.html#gtk-cell-renderer-render" title="gtk_cell_renderer_render ()"><code class="function">gtk_cell_renderer_render()</code></a>. These background
areas tile to cover the entire bin window. Contrast with the <em class="parameter"><code>cell_area</code></em>
,
returned by <a class="link" href="GtkTreeView.html#gtk-tree-view-get-cell-area" title="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>
<div class="refsect3">
<a name="gtk-tree-view-get-background-area.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> for the row, or <code class="literal">NULL</code> to get only horizontal coordinates. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>column</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> for the column, or <code class="literal">NULL</code> to get only vertical coordiantes. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>rect</p></td>
<td class="parameter_description"><p>rectangle to fill with cell background rect. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-visible-rect"></a><h3>gtk_tree_view_get_visible_rect ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_get_visible_rect (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><span class="type">GdkRectangle</span> *visible_rect</code></em>);</pre>
<p>Fills <em class="parameter"><code>visible_rect</code></em>
with the currently-visible region of the
buffer, in tree coordinates. Convert to bin_window coordinates with
<a class="link" href="GtkTreeView.html#gtk-tree-view-convert-tree-to-bin-window-coords" title="gtk_tree_view_convert_tree_to_bin_window_coords ()"><code class="function">gtk_tree_view_convert_tree_to_bin_window_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>
<div class="refsect3">
<a name="gtk-tree-view-get-visible-rect.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>visible_rect</p></td>
<td class="parameter_description"><p>rectangle to fill. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-visible-range"></a><h3>gtk_tree_view_get_visible_range ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gtk_tree_view_get_visible_range (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> **start_path</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> **end_path</code></em>);</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 class="link" href="GtkTreeModel.html#gtk-tree-path-free" title="gtk_tree_path_free ()"><code class="function">gtk_tree_path_free()</code></a> after use.</p>
<div class="refsect3">
<a name="gtk-tree-view-get-visible-range.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>start_path</p></td>
<td class="parameter_description"><p>Return location for start of region,
or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>end_path</p></td>
<td class="parameter_description"><p>Return location for end of region, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-get-visible-range.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code>, if valid paths were placed in <em class="parameter"><code>start_path</code></em>
and <em class="parameter"><code>end_path</code></em>
.</p>
</div>
<p class="since">Since: 2.8</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-bin-window"></a><h3>gtk_tree_view_get_bin_window ()</h3>
<pre class="programlisting"><span class="returnvalue">GdkWindow</span> *
gtk_tree_view_get_bin_window (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</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>
<div class="refsect3">
<a name="gtk-tree-view-get-bin-window.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-get-bin-window.returns"></a><h4>Returns</h4>
<p>A <span class="type">GdkWindow</span>, or <code class="literal">NULL</code> when <em class="parameter"><code>tree_view</code></em>
hasnt been realized yet. </p>
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-convert-bin-window-to-tree-coords"></a><h3>gtk_tree_view_convert_bin_window_to_tree_coords ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_convert_bin_window_to_tree_coords
(<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><span class="type">gint</span> bx</code></em>,
<em class="parameter"><code><span class="type">gint</span> by</code></em>,
<em class="parameter"><code><span class="type">gint</span> *tx</code></em>,
<em class="parameter"><code><span class="type">gint</span> *ty</code></em>);</pre>
<p>Converts bin_window coordinates to coordinates for the
tree (the full scrollable area of the tree).</p>
<div class="refsect3">
<a name="gtk-tree-view-convert-bin-window-to-tree-coords.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>bx</p></td>
<td class="parameter_description"><p>X coordinate relative to bin_window</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>by</p></td>
<td class="parameter_description"><p>Y coordinate relative to bin_window</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>tx</p></td>
<td class="parameter_description"><p>return location for tree X coordinate. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>ty</p></td>
<td class="parameter_description"><p>return location for tree Y coordinate. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-convert-bin-window-to-widget-coords"></a><h3>gtk_tree_view_convert_bin_window_to_widget_coords ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_convert_bin_window_to_widget_coords
(<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><span class="type">gint</span> bx</code></em>,
<em class="parameter"><code><span class="type">gint</span> by</code></em>,
<em class="parameter"><code><span class="type">gint</span> *wx</code></em>,
<em class="parameter"><code><span class="type">gint</span> *wy</code></em>);</pre>
<p>Converts bin_window coordinates (see <a class="link" href="GtkTreeView.html#gtk-tree-view-get-bin-window" title="gtk_tree_view_get_bin_window ()"><code class="function">gtk_tree_view_get_bin_window()</code></a>)
to widget relative coordinates.</p>
<div class="refsect3">
<a name="gtk-tree-view-convert-bin-window-to-widget-coords.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>bx</p></td>
<td class="parameter_description"><p>bin_window X coordinate</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>by</p></td>
<td class="parameter_description"><p>bin_window Y coordinate</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>wx</p></td>
<td class="parameter_description"><p>return location for widget X coordinate. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>wy</p></td>
<td class="parameter_description"><p>return location for widget Y coordinate. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-convert-tree-to-bin-window-coords"></a><h3>gtk_tree_view_convert_tree_to_bin_window_coords ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_convert_tree_to_bin_window_coords
(<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><span class="type">gint</span> tx</code></em>,
<em class="parameter"><code><span class="type">gint</span> ty</code></em>,
<em class="parameter"><code><span class="type">gint</span> *bx</code></em>,
<em class="parameter"><code><span class="type">gint</span> *by</code></em>);</pre>
<p>Converts tree coordinates (coordinates in full scrollable area of the tree)
to bin_window coordinates.</p>
<div class="refsect3">
<a name="gtk-tree-view-convert-tree-to-bin-window-coords.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>tx</p></td>
<td class="parameter_description"><p>tree X coordinate</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>ty</p></td>
<td class="parameter_description"><p>tree Y coordinate</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>bx</p></td>
<td class="parameter_description"><p>return location for X coordinate relative to bin_window. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>by</p></td>
<td class="parameter_description"><p>return location for Y coordinate relative to bin_window. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-convert-tree-to-widget-coords"></a><h3>gtk_tree_view_convert_tree_to_widget_coords ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_convert_tree_to_widget_coords
(<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><span class="type">gint</span> tx</code></em>,
<em class="parameter"><code><span class="type">gint</span> ty</code></em>,
<em class="parameter"><code><span class="type">gint</span> *wx</code></em>,
<em class="parameter"><code><span class="type">gint</span> *wy</code></em>);</pre>
<p>Converts tree coordinates (coordinates in full scrollable area of the tree)
to widget coordinates.</p>
<div class="refsect3">
<a name="gtk-tree-view-convert-tree-to-widget-coords.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>tx</p></td>
<td class="parameter_description"><p>X coordinate relative to the tree</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>ty</p></td>
<td class="parameter_description"><p>Y coordinate relative to the tree</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>wx</p></td>
<td class="parameter_description"><p>return location for widget X coordinate. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>wy</p></td>
<td class="parameter_description"><p>return location for widget Y coordinate. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-convert-widget-to-bin-window-coords"></a><h3>gtk_tree_view_convert_widget_to_bin_window_coords ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_convert_widget_to_bin_window_coords
(<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><span class="type">gint</span> wx</code></em>,
<em class="parameter"><code><span class="type">gint</span> wy</code></em>,
<em class="parameter"><code><span class="type">gint</span> *bx</code></em>,
<em class="parameter"><code><span class="type">gint</span> *by</code></em>);</pre>
<p>Converts widget coordinates to coordinates for the bin_window
(see <a class="link" href="GtkTreeView.html#gtk-tree-view-get-bin-window" title="gtk_tree_view_get_bin_window ()"><code class="function">gtk_tree_view_get_bin_window()</code></a>).</p>
<div class="refsect3">
<a name="gtk-tree-view-convert-widget-to-bin-window-coords.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>wx</p></td>
<td class="parameter_description"><p>X coordinate relative to the widget</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>wy</p></td>
<td class="parameter_description"><p>Y coordinate relative to the widget</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>bx</p></td>
<td class="parameter_description"><p>return location for bin_window X coordinate. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>by</p></td>
<td class="parameter_description"><p>return location for bin_window Y coordinate. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-convert-widget-to-tree-coords"></a><h3>gtk_tree_view_convert_widget_to_tree_coords ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_convert_widget_to_tree_coords
(<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><span class="type">gint</span> wx</code></em>,
<em class="parameter"><code><span class="type">gint</span> wy</code></em>,
<em class="parameter"><code><span class="type">gint</span> *tx</code></em>,
<em class="parameter"><code><span class="type">gint</span> *ty</code></em>);</pre>
<p>Converts widget coordinates to coordinates for the
tree (the full scrollable area of the tree).</p>
<div class="refsect3">
<a name="gtk-tree-view-convert-widget-to-tree-coords.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>wx</p></td>
<td class="parameter_description"><p>X coordinate relative to the widget</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>wy</p></td>
<td class="parameter_description"><p>Y coordinate relative to the widget</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>tx</p></td>
<td class="parameter_description"><p>return location for tree X coordinate. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>ty</p></td>
<td class="parameter_description"><p>return location for tree Y coordinate. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-enable-model-drag-dest"></a><h3>gtk_tree_view_enable_model_drag_dest ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_enable_model_drag_dest (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code>const <a class="link" href="gtk3-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
<em class="parameter"><code><span class="type">gint</span> n_targets</code></em>,
<em class="parameter"><code><span class="type">GdkDragAction</span> actions</code></em>);</pre>
<p>Turns <em class="parameter"><code>tree_view</code></em>
into a drop destination for automatic DND. Calling
this method sets <a class="link" href="GtkTreeView.html#GtkTreeView--reorderable" title="The “reorderable” property"><span class="type">“reorderable”</span></a> to <code class="literal">FALSE</code>.</p>
<div class="refsect3">
<a name="gtk-tree-view-enable-model-drag-dest.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>targets</p></td>
<td class="parameter_description"><p>the table of targets that
the drag will support. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_targets]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>n_targets</p></td>
<td class="parameter_description"><p>the number of items in <em class="parameter"><code>targets</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>actions</p></td>
<td class="parameter_description"><p>the bitmask of possible actions for a drag from this
widget</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-enable-model-drag-source"></a><h3>gtk_tree_view_enable_model_drag_source ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_enable_model_drag_source
(<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><span class="type">GdkModifierType</span> start_button_mask</code></em>,
<em class="parameter"><code>const <a class="link" href="gtk3-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
<em class="parameter"><code><span class="type">gint</span> n_targets</code></em>,
<em class="parameter"><code><span class="type">GdkDragAction</span> actions</code></em>);</pre>
<p>Turns <em class="parameter"><code>tree_view</code></em>
into a drag source for automatic DND. Calling this
method sets <a class="link" href="GtkTreeView.html#GtkTreeView--reorderable" title="The “reorderable” property"><span class="type">“reorderable”</span></a> to <code class="literal">FALSE</code>.</p>
<div class="refsect3">
<a name="gtk-tree-view-enable-model-drag-source.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>start_button_mask</p></td>
<td class="parameter_description"><p>Mask of allowed buttons to start drag</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>targets</p></td>
<td class="parameter_description"><p>the table of targets that the drag will support. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_targets]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>n_targets</p></td>
<td class="parameter_description"><p>the number of items in <em class="parameter"><code>targets</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>actions</p></td>
<td class="parameter_description"><p>the bitmask of possible actions for a drag from this
widget</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-unset-rows-drag-source"></a><h3>gtk_tree_view_unset_rows_drag_source ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_unset_rows_drag_source (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
<p>Undoes the effect of
<a class="link" href="GtkTreeView.html#gtk-tree-view-enable-model-drag-source" title="gtk_tree_view_enable_model_drag_source ()"><code class="function">gtk_tree_view_enable_model_drag_source()</code></a>. Calling this method sets
<a class="link" href="GtkTreeView.html#GtkTreeView--reorderable" title="The “reorderable” property"><span class="type">“reorderable”</span></a> to <code class="literal">FALSE</code>.</p>
<div class="refsect3">
<a name="gtk-tree-view-unset-rows-drag-source.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-unset-rows-drag-dest"></a><h3>gtk_tree_view_unset_rows_drag_dest ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_unset_rows_drag_dest (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
<p>Undoes the effect of
<a class="link" href="GtkTreeView.html#gtk-tree-view-enable-model-drag-dest" title="gtk_tree_view_enable_model_drag_dest ()"><code class="function">gtk_tree_view_enable_model_drag_dest()</code></a>. Calling this method sets
<a class="link" href="GtkTreeView.html#GtkTreeView--reorderable" title="The “reorderable” property"><span class="type">“reorderable”</span></a> to <code class="literal">FALSE</code>.</p>
<div class="refsect3">
<a name="gtk-tree-view-unset-rows-drag-dest.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-set-drag-dest-row"></a><h3>gtk_tree_view_set_drag_dest_row ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_set_drag_dest_row (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeView.html#GtkTreeViewDropPosition" title="enum GtkTreeViewDropPosition"><span class="type">GtkTreeViewDropPosition</span></a> pos</code></em>);</pre>
<p>Sets the row that is highlighted for feedback.
If <em class="parameter"><code>path</code></em>
is <code class="literal">NULL</code>, an existing highlight is removed.</p>
<div class="refsect3">
<a name="gtk-tree-view-set-drag-dest-row.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>The path of the row to highlight, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>pos</p></td>
<td class="parameter_description"><p>Specifies whether to drop before, after or into the row</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-drag-dest-row"></a><h3>gtk_tree_view_get_drag_dest_row ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_get_drag_dest_row (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> **path</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeView.html#GtkTreeViewDropPosition" title="enum GtkTreeViewDropPosition"><span class="type">GtkTreeViewDropPosition</span></a> *pos</code></em>);</pre>
<p>Gets information about the row that is highlighted for feedback.</p>
<div class="refsect3">
<a name="gtk-tree-view-get-drag-dest-row.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>Return location for the path of the highlighted row, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>pos</p></td>
<td class="parameter_description"><p>Return location for the drop position, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-dest-row-at-pos"></a><h3>gtk_tree_view_get_dest_row_at_pos ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gtk_tree_view_get_dest_row_at_pos (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><span class="type">gint</span> drag_x</code></em>,
<em class="parameter"><code><span class="type">gint</span> drag_y</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> **path</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeView.html#GtkTreeViewDropPosition" title="enum GtkTreeViewDropPosition"><span class="type">GtkTreeViewDropPosition</span></a> *pos</code></em>);</pre>
<p>Determines the destination row for a given position. <em class="parameter"><code>drag_x</code></em>
and
<em class="parameter"><code>drag_y</code></em>
are expected to be in widget coordinates. This function is only
meaningful if <em class="parameter"><code>tree_view</code></em>
is realized. Therefore this function will always
return <code class="literal">FALSE</code> if <em class="parameter"><code>tree_view</code></em>
is not realized or does not have a model.</p>
<div class="refsect3">
<a name="gtk-tree-view-get-dest-row-at-pos.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>drag_x</p></td>
<td class="parameter_description"><p>the position to determine the destination row for</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>drag_y</p></td>
<td class="parameter_description"><p>the position to determine the destination row for</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>Return location for the path of
the highlighted row, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>pos</p></td>
<td class="parameter_description"><p>Return location for the drop position, or
<code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-get-dest-row-at-pos.returns"></a><h4>Returns</h4>
<p> whether there is a row at the given position, <code class="literal">TRUE</code> if this
is indeed the case.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-create-row-drag-icon"></a><h3>gtk_tree_view_create_row_drag_icon ()</h3>
<pre class="programlisting"><span class="returnvalue">cairo_surface_t</span> *
gtk_tree_view_create_row_drag_icon (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);</pre>
<p>Creates a <span class="type">cairo_surface_t</span> representation of the row at <em class="parameter"><code>path</code></em>
.
This image is used for a drag icon.</p>
<div class="refsect3">
<a name="gtk-tree-view-create-row-drag-icon.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> in <em class="parameter"><code>tree_view</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-create-row-drag-icon.returns"></a><h4>Returns</h4>
<p>a newly-allocated surface of the drag icon. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-set-enable-search"></a><h3>gtk_tree_view_set_enable_search ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_set_enable_search (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> enable_search</code></em>);</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 <code class="literal">FALSE</code>, the user can still initiate a search
using the “start-interactive-search” key binding.</p>
<div class="refsect3">
<a name="gtk-tree-view-set-enable-search.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>enable_search</p></td>
<td class="parameter_description"><p><code class="literal">TRUE</code>, if the user can search interactively</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-enable-search"></a><h3>gtk_tree_view_get_enable_search ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gtk_tree_view_get_enable_search (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
<p>Returns whether or not the tree allows to start interactive searching
by typing in text.</p>
<div class="refsect3">
<a name="gtk-tree-view-get-enable-search.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-get-enable-search.returns"></a><h4>Returns</h4>
<p> whether or not to let the user search interactively</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-search-column"></a><h3>gtk_tree_view_get_search_column ()</h3>
<pre class="programlisting"><span class="returnvalue">gint</span>
gtk_tree_view_get_search_column (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
<p>Gets the column searched on by the interactive search code.</p>
<div class="refsect3">
<a name="gtk-tree-view-get-search-column.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-get-search-column.returns"></a><h4>Returns</h4>
<p> the column the interactive search code searches in.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-set-search-column"></a><h3>gtk_tree_view_set_search_column ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_set_search_column (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><span class="type">gint</span> column</code></em>);</pre>
<p>Sets <em class="parameter"><code>column</code></em>
as the column where the interactive search code should
search in for the current model. </p>
<p>If the search 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 current model. The search
column is reset to -1 when the model is changed.</p>
<div class="refsect3">
<a name="gtk-tree-view-set-search-column.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>column</p></td>
<td class="parameter_description"><p>the column of the model to search in, or -1 to disable searching</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-search-equal-func"></a><h3>gtk_tree_view_get_search_equal_func ()</h3>
<pre class="programlisting"><a class="link" href="GtkTreeView.html#GtkTreeViewSearchEqualFunc" title="GtkTreeViewSearchEqualFunc ()"><span class="returnvalue">GtkTreeViewSearchEqualFunc</span></a>
gtk_tree_view_get_search_equal_func (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
<p>Returns the compare function currently in use.</p>
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
<div class="refsect3">
<a name="gtk-tree-view-get-search-equal-func.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-get-search-equal-func.returns"></a><h4>Returns</h4>
<p> the currently used compare function for the search code.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-set-search-equal-func"></a><h3>gtk_tree_view_set_search_equal_func ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_set_search_equal_func (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeView.html#GtkTreeViewSearchEqualFunc" title="GtkTreeViewSearchEqualFunc ()"><span class="type">GtkTreeViewSearchEqualFunc</span></a> search_equal_func</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> search_user_data</code></em>,
<em class="parameter"><code><span class="type">GDestroyNotify</span> search_destroy</code></em>);</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 class="link" href="GtkTreeView.html#GtkTreeViewSearchEqualFunc" title="GtkTreeViewSearchEqualFunc ()"><span class="type">GtkTreeViewSearchEqualFunc</span></a> returns <code class="literal">FALSE</code> on matches.</p>
<div class="refsect3">
<a name="gtk-tree-view-set-search-equal-func.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>search_equal_func</p></td>
<td class="parameter_description"><p>the compare function to use during the search</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>search_user_data</p></td>
<td class="parameter_description"><p>user data to pass to <em class="parameter"><code>search_equal_func</code></em>
, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>search_destroy</p></td>
<td class="parameter_description"><p>Destroy notifier for <em class="parameter"><code>search_user_data</code></em>
, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-search-entry"></a><h3>gtk_tree_view_get_search_entry ()</h3>
<pre class="programlisting"><a class="link" href="GtkEntry.html" title="GtkEntry"><span class="returnvalue">GtkEntry</span></a> *
gtk_tree_view_get_search_entry (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
<p>Returns the <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a> 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, <code class="literal">NULL</code>
will be returned.</p>
<div class="refsect3">
<a name="gtk-tree-view-get-search-entry.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-get-search-entry.returns"></a><h4>Returns</h4>
<p>the entry currently in use as search entry. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
<p class="since">Since: 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-set-search-entry"></a><h3>gtk_tree_view_set_search_entry ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_set_search_entry (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a> *entry</code></em>);</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 <code class="literal">NULL</code> for
<em class="parameter"><code>entry</code></em>
will make the interactive search code use the built-in popup
entry again.</p>
<div class="refsect3">
<a name="gtk-tree-view-set-search-entry.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>entry</p></td>
<td class="parameter_description"><p>the entry the interactive search code of <em class="parameter"><code>tree_view</code></em>
should use or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeViewSearchPositionFunc"></a><h3>GtkTreeViewSearchPositionFunc ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*GtkTreeViewSearchPositionFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *search_dialog</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-search-position-func"></a><h3>gtk_tree_view_get_search_position_func ()</h3>
<pre class="programlisting"><a class="link" href="GtkTreeView.html#GtkTreeViewSearchPositionFunc" title="GtkTreeViewSearchPositionFunc ()"><span class="returnvalue">GtkTreeViewSearchPositionFunc</span></a>
gtk_tree_view_get_search_position_func
(<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
<p>Returns the positioning function currently in use.</p>
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
<div class="refsect3">
<a name="gtk-tree-view-get-search-position-func.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-get-search-position-func.returns"></a><h4>Returns</h4>
<p> the currently used function for positioning the search dialog.</p>
</div>
<p class="since">Since: 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-set-search-position-func"></a><h3>gtk_tree_view_set_search_position_func ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_set_search_position_func
(<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeView.html#GtkTreeViewSearchPositionFunc" title="GtkTreeViewSearchPositionFunc ()"><span class="type">GtkTreeViewSearchPositionFunc</span></a> func</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
<em class="parameter"><code><span class="type">GDestroyNotify</span> destroy</code></em>);</pre>
<p>Sets the function to use when positioning the search dialog.</p>
<div class="refsect3">
<a name="gtk-tree-view-set-search-position-func.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>func</p></td>
<td class="parameter_description"><p>the function to use to position the search dialog, or <code class="literal">NULL</code>
to use the default search position function. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>data</p></td>
<td class="parameter_description"><p>user data to pass to <em class="parameter"><code>func</code></em>
, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>destroy</p></td>
<td class="parameter_description"><p>Destroy notifier for <em class="parameter"><code>data</code></em>
, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-fixed-height-mode"></a><h3>gtk_tree_view_get_fixed_height_mode ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gtk_tree_view_get_fixed_height_mode (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
<p>Returns whether fixed height mode is turned on for <em class="parameter"><code>tree_view</code></em>
.</p>
<div class="refsect3">
<a name="gtk-tree-view-get-fixed-height-mode.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-get-fixed-height-mode.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>tree_view</code></em>
is in fixed height mode</p>
</div>
<p class="since">Since: 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-set-fixed-height-mode"></a><h3>gtk_tree_view_set_fixed_height_mode ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_set_fixed_height_mode (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> enable</code></em>);</pre>
<p>Enables or disables the fixed height mode of <em class="parameter"><code>tree_view</code></em>
.
Fixed height mode speeds up <a class="link" 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 class="link" href="GtkTreeViewColumn.html#GTK-TREE-VIEW-COLUMN-FIXED:CAPS"><code class="literal">GTK_TREE_VIEW_COLUMN_FIXED</code></a>.</p>
<div class="refsect3">
<a name="gtk-tree-view-set-fixed-height-mode.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> </p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>enable</p></td>
<td class="parameter_description"><p><code class="literal">TRUE</code> to enable fixed height mode</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-hover-selection"></a><h3>gtk_tree_view_get_hover_selection ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gtk_tree_view_get_hover_selection (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
<p>Returns whether hover selection mode is turned on for <em class="parameter"><code>tree_view</code></em>
.</p>
<div class="refsect3">
<a name="gtk-tree-view-get-hover-selection.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-get-hover-selection.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>tree_view</code></em>
is in hover selection mode</p>
</div>
<p class="since">Since: 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-set-hover-selection"></a><h3>gtk_tree_view_set_hover_selection ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_set_hover_selection (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> hover</code></em>);</pre>
<p>Enables or 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 class="link" href="gtk3-Standard-Enumerations.html#GTK-SELECTION-SINGLE:CAPS"><code class="literal">GTK_SELECTION_SINGLE</code></a> and <a class="link" href="gtk3-Standard-Enumerations.html#GTK-SELECTION-BROWSE:CAPS"><code class="literal">GTK_SELECTION_BROWSE</code></a>.</p>
<div class="refsect3">
<a name="gtk-tree-view-set-hover-selection.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>hover</p></td>
<td class="parameter_description"><p><code class="literal">TRUE</code> to enable hover selection mode</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-hover-expand"></a><h3>gtk_tree_view_get_hover_expand ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gtk_tree_view_get_hover_expand (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
<p>Returns whether hover expansion mode is turned on for <em class="parameter"><code>tree_view</code></em>
.</p>
<div class="refsect3">
<a name="gtk-tree-view-get-hover-expand.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-get-hover-expand.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>tree_view</code></em>
is in hover expansion mode</p>
</div>
<p class="since">Since: 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-set-hover-expand"></a><h3>gtk_tree_view_set_hover_expand ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_set_hover_expand (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> expand</code></em>);</pre>
<p>Enables or disables the hover expansion mode of <em class="parameter"><code>tree_view</code></em>
.
Hover expansion makes rows expand or collapse if the pointer
moves over them.</p>
<div class="refsect3">
<a name="gtk-tree-view-set-hover-expand.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>expand</p></td>
<td class="parameter_description"><p><code class="literal">TRUE</code> to enable hover selection mode</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeDestroyCountFunc"></a><h3>GtkTreeDestroyCountFunc ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*GtkTreeDestroyCountFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>,
<em class="parameter"><code><span class="type">gint</span> children</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-set-destroy-count-func"></a><h3>gtk_tree_view_set_destroy_count_func ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_set_destroy_count_func (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeView.html#GtkTreeDestroyCountFunc" title="GtkTreeDestroyCountFunc ()"><span class="type">GtkTreeDestroyCountFunc</span></a> func</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
<em class="parameter"><code><span class="type">GDestroyNotify</span> destroy</code></em>);</pre>
<div class="warning">
<p><code class="literal">gtk_tree_view_set_destroy_count_func</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
<p>Accessibility does not need the function anymore.</p>
</div>
<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>
<div class="refsect3">
<a name="gtk-tree-view-set-destroy-count-func.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>A <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>func</p></td>
<td class="parameter_description"><p>Function to be called when a view row is destroyed, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>data</p></td>
<td class="parameter_description"><p>User data to be passed to <em class="parameter"><code>func</code></em>
, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>destroy</p></td>
<td class="parameter_description"><p>Destroy notifier for <em class="parameter"><code>data</code></em>
, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeViewRowSeparatorFunc"></a><h3>GtkTreeViewRowSeparatorFunc ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
<span class="c_punctuation">(</span>*GtkTreeViewRowSeparatorFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> *model</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</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 class="link" href="GtkTreeView.html#GtkTreeViewRowSeparatorFunc" title="GtkTreeViewRowSeparatorFunc ()"><span class="type">GtkTreeViewRowSeparatorFunc</span></a>
returns.</p>
<div class="refsect3">
<a name="GtkTreeViewRowSeparatorFunc.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>model</p></td>
<td class="parameter_description"><p>the <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>iter</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> pointing at a row in <em class="parameter"><code>model</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>data</p></td>
<td class="parameter_description"><p>user data. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="GtkTreeViewRowSeparatorFunc.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the row is a separator</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-row-separator-func"></a><h3>gtk_tree_view_get_row_separator_func ()</h3>
<pre class="programlisting"><a class="link" href="GtkTreeView.html#GtkTreeViewRowSeparatorFunc" title="GtkTreeViewRowSeparatorFunc ()"><span class="returnvalue">GtkTreeViewRowSeparatorFunc</span></a>
gtk_tree_view_get_row_separator_func (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
<p>Returns the current row separator function.</p>
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
<div class="refsect3">
<a name="gtk-tree-view-get-row-separator-func.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-get-row-separator-func.returns"></a><h4>Returns</h4>
<p> the current row separator function.</p>
</div>
<p class="since">Since: 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-set-row-separator-func"></a><h3>gtk_tree_view_set_row_separator_func ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_set_row_separator_func (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeView.html#GtkTreeViewRowSeparatorFunc" title="GtkTreeViewRowSeparatorFunc ()"><span class="type">GtkTreeViewRowSeparatorFunc</span></a> func</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
<em class="parameter"><code><span class="type">GDestroyNotify</span> destroy</code></em>);</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 <code class="literal">NULL</code>, no separators are drawn. This is the default value.</p>
<div class="refsect3">
<a name="gtk-tree-view-set-row-separator-func.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>func</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html#GtkTreeViewRowSeparatorFunc" title="GtkTreeViewRowSeparatorFunc ()"><span class="type">GtkTreeViewRowSeparatorFunc</span></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>data</p></td>
<td class="parameter_description"><p>user data to pass to <em class="parameter"><code>func</code></em>
, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>destroy</p></td>
<td class="parameter_description"><p>destroy notifier for <em class="parameter"><code>data</code></em>
, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-rubber-banding"></a><h3>gtk_tree_view_get_rubber_banding ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gtk_tree_view_get_rubber_banding (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
<p>Returns whether rubber banding is turned on for <em class="parameter"><code>tree_view</code></em>
. If the
selection mode is <a class="link" href="gtk3-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>
<div class="refsect3">
<a name="gtk-tree-view-get-rubber-banding.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-get-rubber-banding.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if rubber banding in <em class="parameter"><code>tree_view</code></em>
is enabled.</p>
</div>
<p class="since">Since: 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-set-rubber-banding"></a><h3>gtk_tree_view_set_rubber_banding ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_set_rubber_banding (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> enable</code></em>);</pre>
<p>Enables or disables rubber banding in <em class="parameter"><code>tree_view</code></em>
. If the selection mode
is <a class="link" href="gtk3-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>
<div class="refsect3">
<a name="gtk-tree-view-set-rubber-banding.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>enable</p></td>
<td class="parameter_description"><p><code class="literal">TRUE</code> to enable rubber banding</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-is-rubber-banding-active"></a><h3>gtk_tree_view_is_rubber_banding_active ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gtk_tree_view_is_rubber_banding_active
(<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
<p>Returns whether a rubber banding operation is currently being done
in <em class="parameter"><code>tree_view</code></em>
.</p>
<div class="refsect3">
<a name="gtk-tree-view-is-rubber-banding-active.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-is-rubber-banding-active.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if a rubber banding operation is currently being
done in <em class="parameter"><code>tree_view</code></em>
.</p>
</div>
<p class="since">Since: 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-enable-tree-lines"></a><h3>gtk_tree_view_get_enable_tree_lines ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gtk_tree_view_get_enable_tree_lines (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
<p>Returns whether or not tree lines are drawn in <em class="parameter"><code>tree_view</code></em>
.</p>
<div class="refsect3">
<a name="gtk-tree-view-get-enable-tree-lines.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-get-enable-tree-lines.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if tree lines are drawn in <em class="parameter"><code>tree_view</code></em>
, <code class="literal">FALSE</code>
otherwise.</p>
</div>
<p class="since">Since: 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-set-enable-tree-lines"></a><h3>gtk_tree_view_set_enable_tree_lines ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_set_enable_tree_lines (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> enabled</code></em>);</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>
<div class="refsect3">
<a name="gtk-tree-view-set-enable-tree-lines.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>enabled</p></td>
<td class="parameter_description"><p><code class="literal">TRUE</code> to enable tree line drawing, <code class="literal">FALSE</code> otherwise.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-grid-lines"></a><h3>gtk_tree_view_get_grid_lines ()</h3>
<pre class="programlisting"><a class="link" href="GtkTreeView.html#GtkTreeViewGridLines" title="enum GtkTreeViewGridLines"><span class="returnvalue">GtkTreeViewGridLines</span></a>
gtk_tree_view_get_grid_lines (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
<p>Returns which grid lines are enabled in <em class="parameter"><code>tree_view</code></em>
.</p>
<div class="refsect3">
<a name="gtk-tree-view-get-grid-lines.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-get-grid-lines.returns"></a><h4>Returns</h4>
<p> a <a class="link" href="GtkTreeView.html#GtkTreeViewGridLines" title="enum GtkTreeViewGridLines"><span class="type">GtkTreeViewGridLines</span></a> value indicating which grid lines
are enabled.</p>
</div>
<p class="since">Since: 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-set-grid-lines"></a><h3>gtk_tree_view_set_grid_lines ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_set_grid_lines (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeView.html#GtkTreeViewGridLines" title="enum GtkTreeViewGridLines"><span class="type">GtkTreeViewGridLines</span></a> grid_lines</code></em>);</pre>
<p>Sets which grid lines to draw in <em class="parameter"><code>tree_view</code></em>
.</p>
<div class="refsect3">
<a name="gtk-tree-view-set-grid-lines.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>grid_lines</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html#GtkTreeViewGridLines" title="enum GtkTreeViewGridLines"><span class="type">GtkTreeViewGridLines</span></a> value indicating which grid lines to
enable.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-set-tooltip-row"></a><h3>gtk_tree_view_set_tooltip_row ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_set_tooltip_row (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkTooltip.html" title="GtkTooltip"><span class="type">GtkTooltip</span></a> *tooltip</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);</pre>
<p>Sets the tip area of <em class="parameter"><code>tooltip</code></em>
to be the area covered by the row at <em class="parameter"><code>path</code></em>
.
See also <a class="link" href="GtkTreeView.html#gtk-tree-view-set-tooltip-column" title="gtk_tree_view_set_tooltip_column ()"><code class="function">gtk_tree_view_set_tooltip_column()</code></a> for a simpler alternative.
See also <a class="link" href="GtkTooltip.html#gtk-tooltip-set-tip-area" title="gtk_tooltip_set_tip_area ()"><code class="function">gtk_tooltip_set_tip_area()</code></a>.</p>
<div class="refsect3">
<a name="gtk-tree-view-set-tooltip-row.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>tooltip</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTooltip.html" title="GtkTooltip"><span class="type">GtkTooltip</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-set-tooltip-cell"></a><h3>gtk_tree_view_set_tooltip_cell ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_set_tooltip_cell (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><a class="link" href="GtkTooltip.html" title="GtkTooltip"><span class="type">GtkTooltip</span></a> *tooltip</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *column</code></em>,
<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>);</pre>
<p>Sets the tip area of <em class="parameter"><code>tooltip</code></em>
to the area <em class="parameter"><code>path</code></em>
, <em class="parameter"><code>column</code></em>
and <em class="parameter"><code>cell</code></em>
have
in common. For example if <em class="parameter"><code>path</code></em>
is <code class="literal">NULL</code> and <em class="parameter"><code>column</code></em>
is set, the tip
area will be set to the full area covered by <em class="parameter"><code>column</code></em>
. See also
<a class="link" href="GtkTooltip.html#gtk-tooltip-set-tip-area" title="gtk_tooltip_set_tip_area ()"><code class="function">gtk_tooltip_set_tip_area()</code></a>.</p>
<p>Note that if <em class="parameter"><code>path</code></em>
is not specified and <em class="parameter"><code>cell</code></em>
is set and part of a column
containing the expander, the tooltip might not show and hide at the correct
position. In such cases <em class="parameter"><code>path</code></em>
must be set to the current node under the
mouse cursor for this function to operate correctly.</p>
<p>See also <a class="link" href="GtkTreeView.html#gtk-tree-view-set-tooltip-column" title="gtk_tree_view_set_tooltip_column ()"><code class="function">gtk_tree_view_set_tooltip_column()</code></a> for a simpler alternative.</p>
<div class="refsect3">
<a name="gtk-tree-view-set-tooltip-cell.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>tooltip</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTooltip.html" title="GtkTooltip"><span class="type">GtkTooltip</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>column</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>cell</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-tooltip-context"></a><h3>gtk_tree_view_get_tooltip_context ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gtk_tree_view_get_tooltip_context (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><span class="type">gint</span> *x</code></em>,
<em class="parameter"><code><span class="type">gint</span> *y</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> keyboard_tip</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> **model</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> **path</code></em>,
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter</code></em>);</pre>
<p>This function is supposed to be used in a <a class="link" href="GtkWidget.html#GtkWidget-query-tooltip" title="The “query-tooltip” signal"><span class="type">“query-tooltip”</span></a>
signal handler for <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>. The <em class="parameter"><code>x</code></em>
, <em class="parameter"><code>y</code></em>
and <em class="parameter"><code>keyboard_tip</code></em>
values
which are received in the signal handler, should be passed to this
function without modification.</p>
<p>The return value indicates whether there is a tree view row at the given
coordinates (<code class="literal">TRUE</code>) or not (<code class="literal">FALSE</code>) for mouse tooltips. For keyboard
tooltips the row returned will be the cursor row. When <code class="literal">TRUE</code>, then any of
<em class="parameter"><code>model</code></em>
, <em class="parameter"><code>path</code></em>
and <em class="parameter"><code>iter</code></em>
which have been provided will be set to point to
that row and the corresponding model. <em class="parameter"><code>x</code></em>
and <em class="parameter"><code>y</code></em>
will always be converted
to be relative to <em class="parameter"><code>tree_view</code></em>
s bin_window if <em class="parameter"><code>keyboard_tooltip</code></em>
is <code class="literal">FALSE</code>.</p>
<div class="refsect3">
<a name="gtk-tree-view-get-tooltip-context.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>x</p></td>
<td class="parameter_description"><p>the x coordinate (relative to widget coordinates). </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>y</p></td>
<td class="parameter_description"><p>the y coordinate (relative to widget coordinates). </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>keyboard_tip</p></td>
<td class="parameter_description"><p>whether this is a keyboard tooltip or not</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>model</p></td>
<td class="parameter_description"><p>a pointer to
receive a <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>a pointer to receive a <a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>iter</p></td>
<td class="parameter_description"><p>a pointer to receive a <a class="link" href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-get-tooltip-context.returns"></a><h4>Returns</h4>
<p> whether or not the given tooltip context points to a row.</p>
</div>
<p class="since">Since: 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-get-tooltip-column"></a><h3>gtk_tree_view_get_tooltip_column ()</h3>
<pre class="programlisting"><span class="returnvalue">gint</span>
gtk_tree_view_get_tooltip_column (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
<p>Returns the column of <em class="parameter"><code>tree_view</code></em>
s model which is being used for
displaying tooltips on <em class="parameter"><code>tree_view</code></em>
s rows.</p>
<div class="refsect3">
<a name="gtk-tree-view-get-tooltip-column.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tree-view-get-tooltip-column.returns"></a><h4>Returns</h4>
<p> the index of the tooltip column that is currently being
used, or -1 if this is disabled.</p>
</div>
<p class="since">Since: 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tree-view-set-tooltip-column"></a><h3>gtk_tree_view_set_tooltip_column ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_set_tooltip_column (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
<em class="parameter"><code><span class="type">gint</span> column</code></em>);</pre>
<p>If you only plan to have simple (text-only) tooltips on full rows, you
can use this function to have <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> handle these automatically
for you. <em class="parameter"><code>column</code></em>
should be set to the column in <em class="parameter"><code>tree_view</code></em>
s model
containing the tooltip texts, or -1 to disable this feature.</p>
<p>When enabled, <a class="link" href="GtkWidget.html#GtkWidget--has-tooltip" title="The “has-tooltip” property"><span class="type">“has-tooltip”</span></a> will be set to <code class="literal">TRUE</code> and
<em class="parameter"><code>tree_view</code></em>
will connect a <a class="link" href="GtkWidget.html#GtkWidget-query-tooltip" title="The “query-tooltip” signal"><span class="type">“query-tooltip”</span></a> signal handler.</p>
<p>Note that the signal handler sets the text with <a class="link" href="GtkTooltip.html#gtk-tooltip-set-markup" title="gtk_tooltip_set_markup ()"><code class="function">gtk_tooltip_set_markup()</code></a>,
so &amp;, &lt;, etc have to be escaped in the text.</p>
<div class="refsect3">
<a name="gtk-tree-view-set-tooltip-column.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>column</p></td>
<td class="parameter_description"><p>an integer, which is a valid column number for <em class="parameter"><code>tree_view</code></em>
s model</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 2.12</p>
</div>
</div>
<div class="refsect1">
<a name="GtkTreeView.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GtkTreeView-struct"></a><h3>struct GtkTreeView</h3>
<pre class="programlisting">struct GtkTreeView;</pre>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeViewDropPosition"></a><h3>enum GtkTreeViewDropPosition</h3>
<p>An enum for determining where a dropped row goes.</p>
<div class="refsect3">
<a name="GtkTreeViewDropPosition.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GTK-TREE-VIEW-DROP-BEFORE:CAPS"></a>GTK_TREE_VIEW_DROP_BEFORE</p></td>
<td class="enum_member_description">
<p>dropped row is inserted before</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GTK-TREE-VIEW-DROP-AFTER:CAPS"></a>GTK_TREE_VIEW_DROP_AFTER</p></td>
<td class="enum_member_description">
<p>dropped row is inserted after</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GTK-TREE-VIEW-DROP-INTO-OR-BEFORE:CAPS"></a>GTK_TREE_VIEW_DROP_INTO_OR_BEFORE</p></td>
<td class="enum_member_description">
<p>dropped row becomes a child or is inserted before</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GTK-TREE-VIEW-DROP-INTO-OR-AFTER:CAPS"></a>GTK_TREE_VIEW_DROP_INTO_OR_AFTER</p></td>
<td class="enum_member_description">
<p>dropped row becomes a child or is inserted after</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeViewPrivate"></a><h3>GtkTreeViewPrivate</h3>
<pre class="programlisting">typedef struct _GtkTreeViewPrivate GtkTreeViewPrivate;</pre>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeViewGridLines"></a><h3>enum GtkTreeViewGridLines</h3>
<p>Used to indicate which grid lines to draw in a tree view.</p>
<div class="refsect3">
<a name="GtkTreeViewGridLines.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GTK-TREE-VIEW-GRID-LINES-NONE:CAPS"></a>GTK_TREE_VIEW_GRID_LINES_NONE</p></td>
<td class="enum_member_description">
<p>No grid lines.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GTK-TREE-VIEW-GRID-LINES-HORIZONTAL:CAPS"></a>GTK_TREE_VIEW_GRID_LINES_HORIZONTAL</p></td>
<td class="enum_member_description">
<p>Horizontal grid lines.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GTK-TREE-VIEW-GRID-LINES-VERTICAL:CAPS"></a>GTK_TREE_VIEW_GRID_LINES_VERTICAL</p></td>
<td class="enum_member_description">
<p>Vertical grid lines.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GTK-TREE-VIEW-GRID-LINES-BOTH:CAPS"></a>GTK_TREE_VIEW_GRID_LINES_BOTH</p></td>
<td class="enum_member_description">
<p>Horizontal and vertical grid lines.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="GtkTreeView.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GtkTreeView--activate-on-single-click"></a><h3>The <code class="literal">“activate-on-single-click”</code> property</h3>
<pre class="programlisting"> “activate-on-single-click” <span class="type">gboolean</span></pre>
<p>The activate-on-single-click property specifies whether the "row-activated" signal
will be emitted after a single click.</p>
<p>Flags: Read / Write</p>
<p>Default value: FALSE</p>
<p class="since">Since: <a class="link" href="api-index-3-8.html#api-index-3.8">3.8</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView--enable-grid-lines"></a><h3>The <code class="literal">“enable-grid-lines”</code> property</h3>
<pre class="programlisting"> “enable-grid-lines” <a class="link" href="GtkTreeView.html#GtkTreeViewGridLines" title="enum GtkTreeViewGridLines"><span class="type">GtkTreeViewGridLines</span></a></pre>
<p>Whether grid lines should be drawn in the tree view.</p>
<p>Flags: Read / Write</p>
<p>Default value: GTK_TREE_VIEW_GRID_LINES_NONE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView--enable-search"></a><h3>The <code class="literal">“enable-search”</code> property</h3>
<pre class="programlisting"> “enable-search” <span class="type">gboolean</span></pre>
<p>View allows user to search through columns interactively.</p>
<p>Flags: Read / Write</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView--enable-tree-lines"></a><h3>The <code class="literal">“enable-tree-lines”</code> property</h3>
<pre class="programlisting"> “enable-tree-lines” <span class="type">gboolean</span></pre>
<p>Whether tree lines should be drawn in the tree view.</p>
<p>Flags: Read / Write</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView--expander-column"></a><h3>The <code class="literal">“expander-column”</code> property</h3>
<pre class="programlisting"> “expander-column” <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *</pre>
<p>Set the column for the expander column.</p>
<p>Flags: Read / Write</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView--fixed-height-mode"></a><h3>The <code class="literal">“fixed-height-mode”</code> property</h3>
<pre class="programlisting"> “fixed-height-mode” <span class="type">gboolean</span></pre>
<p>Setting the ::fixed-height-mode property to <code class="literal">TRUE</code> speeds up
<a class="link" 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 class="link" href="GtkTreeView.html#gtk-tree-view-set-fixed-height-mode" title="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>Flags: Read / Write</p>
<p>Default value: FALSE</p>
<p class="since">Since: 2.4</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView--headers-clickable"></a><h3>The <code class="literal">“headers-clickable”</code> property</h3>
<pre class="programlisting"> “headers-clickable” <span class="type">gboolean</span></pre>
<p>Column headers respond to click events.</p>
<p>Flags: Read / Write</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView--headers-visible"></a><h3>The <code class="literal">“headers-visible”</code> property</h3>
<pre class="programlisting"> “headers-visible” <span class="type">gboolean</span></pre>
<p>Show the column header buttons.</p>
<p>Flags: Read / Write</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView--hover-expand"></a><h3>The <code class="literal">“hover-expand”</code> property</h3>
<pre class="programlisting"> “hover-expand” <span class="type">gboolean</span></pre>
<p>Enables or disables the hover expansion mode of <em class="parameter"><code>tree_view</code></em>
.
Hover expansion makes rows expand or collapse if the pointer moves
over them.</p>
<p>This mode is primarily intended for treeviews in popups, e.g.
in <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> or <a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a>.</p>
<p>Flags: Read / Write</p>
<p>Default value: FALSE</p>
<p class="since">Since: 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView--hover-selection"></a><h3>The <code class="literal">“hover-selection”</code> property</h3>
<pre class="programlisting"> “hover-selection” <span class="type">gboolean</span></pre>
<p>Enables or 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 class="link" href="gtk3-Standard-Enumerations.html#GTK-SELECTION-SINGLE:CAPS"><code class="literal">GTK_SELECTION_SINGLE</code></a> and <a class="link" href="gtk3-Standard-Enumerations.html#GTK-SELECTION-BROWSE:CAPS"><code class="literal">GTK_SELECTION_BROWSE</code></a>.</p>
<p>This mode is primarily intended for treeviews in popups, e.g.
in <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> or <a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a>.</p>
<p>Flags: Read / Write</p>
<p>Default value: FALSE</p>
<p class="since">Since: 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView--level-indentation"></a><h3>The <code class="literal">“level-indentation”</code> property</h3>
<pre class="programlisting"> “level-indentation” <span class="type">gint</span></pre>
<p>Extra indentation for each level.</p>
<p>Flags: Read / Write</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
<p class="since">Since: 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView--model"></a><h3>The <code class="literal">“model”</code> property</h3>
<pre class="programlisting"> “model” <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> *</pre>
<p>The model for the tree view.</p>
<p>Flags: Read / Write</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView--reorderable"></a><h3>The <code class="literal">“reorderable”</code> property</h3>
<pre class="programlisting"> “reorderable” <span class="type">gboolean</span></pre>
<p>View is reorderable.</p>
<p>Flags: Read / Write</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView--rubber-banding"></a><h3>The <code class="literal">“rubber-banding”</code> property</h3>
<pre class="programlisting"> “rubber-banding” <span class="type">gboolean</span></pre>
<p>Whether to enable selection of multiple items by dragging the mouse pointer.</p>
<p>Flags: Read / Write</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView--rules-hint"></a><h3>The <code class="literal">“rules-hint”</code> property</h3>
<pre class="programlisting"> “rules-hint” <span class="type">gboolean</span></pre>
<p>Sets a hint to the theme to draw rows in alternating colors.</p>
<div class="warning">
<p><code class="literal">GtkTreeView:rules-hint</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p>
<p>The theme is responsible for drawing rows
using zebra striping</p>
</div>
<p>Flags: Read / Write</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView--search-column"></a><h3>The <code class="literal">“search-column”</code> property</h3>
<pre class="programlisting"> “search-column” <span class="type">gint</span></pre>
<p>Model column to search through during interactive search.</p>
<p>Flags: Read / Write</p>
<p>Allowed values: &gt;= -1</p>
<p>Default value: -1</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView--show-expanders"></a><h3>The <code class="literal">“show-expanders”</code> property</h3>
<pre class="programlisting"> “show-expanders” <span class="type">gboolean</span></pre>
<p><code class="literal">TRUE</code> if the view has expanders.</p>
<p>Flags: Read / Write</p>
<p>Default value: TRUE</p>
<p class="since">Since: 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView--tooltip-column"></a><h3>The <code class="literal">“tooltip-column”</code> property</h3>
<pre class="programlisting"> “tooltip-column” <span class="type">gint</span></pre>
<p>The column in the model containing the tooltip texts for the rows.</p>
<p>Flags: Read / Write</p>
<p>Allowed values: &gt;= -1</p>
<p>Default value: -1</p>
</div>
</div>
<div class="refsect1">
<a name="GtkTreeView.style-property-details"></a><h2>Style Property Details</h2>
<div class="refsect2">
<a name="GtkTreeView--s-allow-rules"></a><h3>The <code class="literal">“allow-rules”</code> style property</h3>
<pre class="programlisting"> “allow-rules” <span class="type">gboolean</span></pre>
<p>Allow drawing of alternating color rows.</p>
<p>Flags: Read</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView--s-even-row-color"></a><h3>The <code class="literal">“even-row-color”</code> style property</h3>
<pre class="programlisting"> “even-row-color” <span class="type">GdkColor</span> *</pre>
<p>Color to use for even rows.</p>
<p>Flags: Read</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView--s-expander-size"></a><h3>The <code class="literal">“expander-size”</code> style property</h3>
<pre class="programlisting"> “expander-size” <span class="type">gint</span></pre>
<p>Size of the expander arrow.</p>
<p>Flags: Read</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 14</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView--s-grid-line-pattern"></a><h3>The <code class="literal">“grid-line-pattern”</code> style property</h3>
<pre class="programlisting"> “grid-line-pattern” <span class="type">gchar</span> *</pre>
<p>Dash pattern used to draw the tree view grid lines.</p>
<p>Flags: Read</p>
<p>Default value: "\001\001"</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView--s-grid-line-width"></a><h3>The <code class="literal">“grid-line-width”</code> style property</h3>
<pre class="programlisting"> “grid-line-width” <span class="type">gint</span></pre>
<p>Width, in pixels, of the tree view grid lines.</p>
<p>Flags: Read</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 1</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView--s-horizontal-separator"></a><h3>The <code class="literal">“horizontal-separator”</code> style property</h3>
<pre class="programlisting"> “horizontal-separator” <span class="type">gint</span></pre>
<p>Horizontal space between cells. Must be an even number.</p>
<p>Flags: Read</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 2</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView--s-indent-expanders"></a><h3>The <code class="literal">“indent-expanders”</code> style property</h3>
<pre class="programlisting"> “indent-expanders” <span class="type">gboolean</span></pre>
<p>Make the expanders indented.</p>
<p>Flags: Read</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView--s-odd-row-color"></a><h3>The <code class="literal">“odd-row-color”</code> style property</h3>
<pre class="programlisting"> “odd-row-color” <span class="type">GdkColor</span> *</pre>
<p>Color to use for odd rows.</p>
<p>Flags: Read</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView--s-tree-line-pattern"></a><h3>The <code class="literal">“tree-line-pattern”</code> style property</h3>
<pre class="programlisting"> “tree-line-pattern” <span class="type">gchar</span> *</pre>
<p>Dash pattern used to draw the tree view lines.</p>
<p>Flags: Read</p>
<p>Default value: "\001\001"</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView--s-tree-line-width"></a><h3>The <code class="literal">“tree-line-width”</code> style property</h3>
<pre class="programlisting"> “tree-line-width” <span class="type">gint</span></pre>
<p>Width, in pixels, of the tree view lines.</p>
<p>Flags: Read</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 1</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView--s-vertical-separator"></a><h3>The <code class="literal">“vertical-separator”</code> style property</h3>
<pre class="programlisting"> “vertical-separator” <span class="type">gint</span></pre>
<p>Vertical space between cells. Must be an even number.</p>
<p>Flags: Read</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 2</p>
</div>
</div>
<div class="refsect1">
<a name="GtkTreeView.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="GtkTreeView-columns-changed"></a><h3>The <code class="literal">“columns-changed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view,
<span class="type">gpointer</span> user_data)</pre>
<p>The number of columns of the treeview has changed.</p>
<div class="refsect3">
<a name="GtkTreeView-columns-changed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>the object on which the signal is emitted </p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: Run Last</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView-cursor-changed"></a><h3>The <code class="literal">“cursor-changed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view,
<span class="type">gpointer</span> user_data)</pre>
<p>The position of the cursor (focused cell) has changed.</p>
<div class="refsect3">
<a name="GtkTreeView-cursor-changed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>the object on which the signal is emitted</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: Run Last</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView-expand-collapse-cursor-row"></a><h3>The <code class="literal">“expand-collapse-cursor-row”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
user_function (<a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *treeview,
<span class="type">gboolean</span> arg1,
<span class="type">gboolean</span> arg2,
<span class="type">gboolean</span> arg3,
<span class="type">gpointer</span> user_data)</pre>
<p>Flags: Action</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView-move-cursor"></a><h3>The <code class="literal">“move-cursor”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
user_function (<a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view,
<a class="link" href="gtk3-Standard-Enumerations.html#GtkMovementStep" title="enum GtkMovementStep"><span class="type">GtkMovementStep</span></a> step,
<span class="type">gint</span> direction,
<span class="type">gpointer</span> user_data)</pre>
<p>The <a class="link" href="GtkTreeView.html#GtkTreeView-move-cursor" title="The “move-cursor” signal"><span class="type">“move-cursor”</span></a> signal is a <a class="link" href="gtk3-Bindings.html#GtkBindingSignal" title="struct GtkBindingSignal">keybinding
signal</a> which gets emitted when the user
presses one of the cursor keys.</p>
<p>Applications should not connect to it, but may emit it with
<code class="function">g_signal_emit_by_name()</code> if they need to control the cursor
programmatically. In contrast to <a class="link" href="GtkTreeView.html#gtk-tree-view-set-cursor" title="gtk_tree_view_set_cursor ()"><code class="function">gtk_tree_view_set_cursor()</code></a> and
<a class="link" href="GtkTreeView.html#gtk-tree-view-set-cursor-on-cell" title="gtk_tree_view_set_cursor_on_cell ()"><code class="function">gtk_tree_view_set_cursor_on_cell()</code></a> when moving horizontally
<a class="link" href="GtkTreeView.html#GtkTreeView-move-cursor" title="The “move-cursor” signal"><span class="type">“move-cursor”</span></a> does not reset the current selection.</p>
<div class="refsect3">
<a name="GtkTreeView-move-cursor.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>the object on which the signal is emitted.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>step</p></td>
<td class="parameter_description"><p>the granularity of the move, as a
<a class="link" href="gtk3-Standard-Enumerations.html#GtkMovementStep" title="enum GtkMovementStep"><span class="type">GtkMovementStep</span></a>. <a class="link" href="gtk3-Standard-Enumerations.html#GTK-MOVEMENT-LOGICAL-POSITIONS:CAPS"><code class="literal">GTK_MOVEMENT_LOGICAL_POSITIONS</code></a>,
<a class="link" href="gtk3-Standard-Enumerations.html#GTK-MOVEMENT-VISUAL-POSITIONS:CAPS"><code class="literal">GTK_MOVEMENT_VISUAL_POSITIONS</code></a>, <a class="link" href="gtk3-Standard-Enumerations.html#GTK-MOVEMENT-DISPLAY-LINES:CAPS"><code class="literal">GTK_MOVEMENT_DISPLAY_LINES</code></a>,
<a class="link" href="gtk3-Standard-Enumerations.html#GTK-MOVEMENT-PAGES:CAPS"><code class="literal">GTK_MOVEMENT_PAGES</code></a> and <a class="link" href="gtk3-Standard-Enumerations.html#GTK-MOVEMENT-BUFFER-ENDS:CAPS"><code class="literal">GTK_MOVEMENT_BUFFER_ENDS</code></a> are
supported. <a class="link" href="gtk3-Standard-Enumerations.html#GTK-MOVEMENT-LOGICAL-POSITIONS:CAPS"><code class="literal">GTK_MOVEMENT_LOGICAL_POSITIONS</code></a> and
<a class="link" href="gtk3-Standard-Enumerations.html#GTK-MOVEMENT-VISUAL-POSITIONS:CAPS"><code class="literal">GTK_MOVEMENT_VISUAL_POSITIONS</code></a> are treated identically.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>direction</p></td>
<td class="parameter_description"><p>the direction to move: +1 to move forwards;
-1 to move backwards. The resulting movement is
undefined for all other values.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="GtkTreeView-move-cursor.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>step</code></em>
is supported, <code class="literal">FALSE</code> otherwise.</p>
</div>
<p>Flags: Action</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView-row-activated"></a><h3>The <code class="literal">“row-activated”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view,
<a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path,
<a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *column,
<span class="type">gpointer</span> user_data)</pre>
<p>The "row-activated" signal is emitted when the method
<a class="link" href="GtkTreeView.html#gtk-tree-view-row-activated" title="gtk_tree_view_row_activated ()"><code class="function">gtk_tree_view_row_activated()</code></a> is called, when the user double
clicks a treeview row with the "activate-on-single-click"
property set to <code class="literal">FALSE</code>, or when the user single clicks a row when
the "activate-on-single-click" property set to <code class="literal">TRUE</code>. 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 class="link" href="TreeWidget.html" title="Tree and List Widget Overview">tree widget conceptual overview</a>
as well as <a class="link" href="GtkTreeSelection.html" title="GtkTreeSelection"><span class="type">GtkTreeSelection</span></a>.</p>
<div class="refsect3">
<a name="GtkTreeView-row-activated.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>the object on which the signal is emitted</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>the <a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> for the activated row</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>column</p></td>
<td class="parameter_description"><p>the <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> in which the activation occurred</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: Action</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView-row-collapsed"></a><h3>The <code class="literal">“row-collapsed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view,
<a class="link" href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter,
<a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path,
<span class="type">gpointer</span> user_data)</pre>
<p>The given row has been collapsed (child nodes are hidden).</p>
<div class="refsect3">
<a name="GtkTreeView-row-collapsed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>the object on which the signal is emitted</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>iter</p></td>
<td class="parameter_description"><p>the tree iter of the collapsed row</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>a tree path that points to the row </p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: Run Last</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView-row-expanded"></a><h3>The <code class="literal">“row-expanded”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view,
<a class="link" href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter,
<a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path,
<span class="type">gpointer</span> user_data)</pre>
<p>The given row has been expanded (child nodes are shown).</p>
<div class="refsect3">
<a name="GtkTreeView-row-expanded.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>the object on which the signal is emitted</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>iter</p></td>
<td class="parameter_description"><p>the tree iter of the expanded row</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>a tree path that points to the row </p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: Run Last</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView-select-all"></a><h3>The <code class="literal">“select-all”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
user_function (<a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *treeview,
<span class="type">gpointer</span> user_data)</pre>
<p>Flags: Action</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView-select-cursor-parent"></a><h3>The <code class="literal">“select-cursor-parent”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
user_function (<a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *treeview,
<span class="type">gpointer</span> user_data)</pre>
<p>Flags: Action</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView-select-cursor-row"></a><h3>The <code class="literal">“select-cursor-row”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
user_function (<a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *treeview,
<span class="type">gboolean</span> arg1,
<span class="type">gpointer</span> user_data)</pre>
<p>Flags: Action</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView-start-interactive-search"></a><h3>The <code class="literal">“start-interactive-search”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
user_function (<a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *treeview,
<span class="type">gpointer</span> user_data)</pre>
<p>Flags: Action</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView-test-collapse-row"></a><h3>The <code class="literal">“test-collapse-row”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
user_function (<a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view,
<a class="link" href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter,
<a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path,
<span class="type">gpointer</span> user_data)</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>
<div class="refsect3">
<a name="GtkTreeView-test-collapse-row.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>the object on which the signal is emitted</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>iter</p></td>
<td class="parameter_description"><p>the tree iter of the row to collapse</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>a tree path that points to the row </p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="GtkTreeView-test-collapse-row.returns"></a><h4>Returns</h4>
<p> <code class="literal">FALSE</code> to allow collapsing, <code class="literal">TRUE</code> to reject</p>
</div>
<p>Flags: Run Last</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView-test-expand-row"></a><h3>The <code class="literal">“test-expand-row”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
user_function (<a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view,
<a class="link" href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter,
<a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path,
<span class="type">gpointer</span> user_data)</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>
<div class="refsect3">
<a name="GtkTreeView-test-expand-row.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tree_view</p></td>
<td class="parameter_description"><p>the object on which the signal is emitted</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>iter</p></td>
<td class="parameter_description"><p>the tree iter of the row to expand</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>a tree path that points to the row </p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="GtkTreeView-test-expand-row.returns"></a><h4>Returns</h4>
<p> <code class="literal">FALSE</code> to allow expansion, <code class="literal">TRUE</code> to reject</p>
</div>
<p>Flags: Run Last</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView-toggle-cursor-row"></a><h3>The <code class="literal">“toggle-cursor-row”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
user_function (<a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *treeview,
<span class="type">gpointer</span> user_data)</pre>
<p>Flags: Action</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTreeView-unselect-all"></a><h3>The <code class="literal">“unselect-all”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
user_function (<a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *treeview,
<span class="type">gpointer</span> user_data)</pre>
<p>Flags: Action</p>
</div>
</div>
<div class="refsect1">
<a name="GtkTreeView.see-also"></a><h2>See Also</h2>
<p><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>, <a class="link" href="GtkTreeSelection.html" title="GtkTreeSelection"><span class="type">GtkTreeSelection</span></a>, <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a>,
<a class="link" href="gtk3-GtkTreeView-drag-and-drop.html" title="GtkTreeView drag-and-drop">GtkTreeView drag-and-drop</a>,
<a class="link" href="GtkTreeSortable.html" title="GtkTreeSortable"><span class="type">GtkTreeSortable</span></a>, <a class="link" href="GtkTreeModelSort.html" title="GtkTreeModelSort"><span class="type">GtkTreeModelSort</span></a>, <a class="link" href="GtkListStore.html" title="GtkListStore"><span class="type">GtkListStore</span></a>, <a class="link" href="GtkTreeStore.html" title="GtkTreeStore"><span class="type">GtkTreeStore</span></a>,
<a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a>, <a class="link" href="GtkCellEditable.html" title="GtkCellEditable"><span class="type">GtkCellEditable</span></a>, <a class="link" href="GtkCellRendererPixbuf.html" title="GtkCellRendererPixbuf"><span class="type">GtkCellRendererPixbuf</span></a>,
<a class="link" href="GtkCellRendererText.html" title="GtkCellRendererText"><span class="type">GtkCellRendererText</span></a>, <a class="link" href="GtkCellRendererToggle.html" title="GtkCellRendererToggle"><span class="type">GtkCellRendererToggle</span></a></p>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.28</div>
</body>
</html>