⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.83
Server IP:
157.245.101.34
Server:
Linux skvinfotech-website 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022 x86_64
Server Software:
Apache/2.4.41 (Ubuntu)
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
doc
/
libgtk-3-doc
/
gtk3
/
View File Name :
GtkTreeViewColumn.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>GtkTreeViewColumn: GTK+ 3 Reference Manual</title> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <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="GtkTreeSelection.html" title="GtkTreeSelection"> <link rel="next" href="GtkTreeView.html" title="GtkTreeView"> <meta name="generator" content="GTK-Doc V1.32 (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="#GtkTreeViewColumn.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> <a href="#GtkTreeViewColumn.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces"> <span class="dim">|</span> <a href="#GtkTreeViewColumn.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_properties"> <span class="dim">|</span> <a href="#GtkTreeViewColumn.properties" class="shortcut">Properties</a></span><span id="nav_signals"> <span class="dim">|</span> <a href="#GtkTreeViewColumn.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="GtkTreeSelection.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> <td><a accesskey="n" href="GtkTreeView.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> </tr></table> <div class="refentry"> <a name="GtkTreeViewColumn"></a><div class="titlepage"></div> <div class="refnamediv"><table width="100%"><tr> <td valign="top"> <h2><span class="refentrytitle"><a name="GtkTreeViewColumn.top_of_page"></a>GtkTreeViewColumn</span></h2> <p>GtkTreeViewColumn — A visible column in a GtkTreeView widget</p> </td> <td class="gallery_image" valign="top" align="right"></td> </tr></table></div> <div class="refsect1"> <a name="GtkTreeViewColumn.functions"></a><h2>Functions</h2> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="functions_proto_type"> <col class="functions_proto_name"> </colgroup> <tbody> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <span class="c_punctuation">(</span><a class="link" href="GtkTreeViewColumn.html#GtkTreeCellDataFunc" title="GtkTreeCellDataFunc ()">*GtkTreeCellDataFunc</a><span class="c_punctuation">)</span> <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="GtkTreeViewColumn.html#gtk-tree-view-column-new" title="gtk_tree_view_column_new ()">gtk_tree_view_column_new</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="GtkTreeViewColumn.html#gtk-tree-view-column-new-with-area" title="gtk_tree_view_column_new_with_area ()">gtk_tree_view_column_new_with_area</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="GtkTreeViewColumn.html#gtk-tree-view-column-new-with-attributes" title="gtk_tree_view_column_new_with_attributes ()">gtk_tree_view_column_new_with_attributes</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="GtkTreeViewColumn.html#gtk-tree-view-column-pack-start" title="gtk_tree_view_column_pack_start ()">gtk_tree_view_column_pack_start</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="GtkTreeViewColumn.html#gtk-tree-view-column-pack-end" title="gtk_tree_view_column_pack_end ()">gtk_tree_view_column_pack_end</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="GtkTreeViewColumn.html#gtk-tree-view-column-clear" title="gtk_tree_view_column_clear ()">gtk_tree_view_column_clear</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="GtkTreeViewColumn.html#gtk-tree-view-column-add-attribute" title="gtk_tree_view_column_add_attribute ()">gtk_tree_view_column_add_attribute</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="GtkTreeViewColumn.html#gtk-tree-view-column-set-attributes" title="gtk_tree_view_column_set_attributes ()">gtk_tree_view_column_set_attributes</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="GtkTreeViewColumn.html#gtk-tree-view-column-set-cell-data-func" title="gtk_tree_view_column_set_cell_data_func ()">gtk_tree_view_column_set_cell_data_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="GtkTreeViewColumn.html#gtk-tree-view-column-clear-attributes" title="gtk_tree_view_column_clear_attributes ()">gtk_tree_view_column_clear_attributes</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="GtkTreeViewColumn.html#gtk-tree-view-column-set-spacing" title="gtk_tree_view_column_set_spacing ()">gtk_tree_view_column_set_spacing</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> </td> <td class="function_name"> <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-get-spacing" title="gtk_tree_view_column_get_spacing ()">gtk_tree_view_column_get_spacing</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="GtkTreeViewColumn.html#gtk-tree-view-column-set-visible" title="gtk_tree_view_column_set_visible ()">gtk_tree_view_column_set_visible</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-get-visible" title="gtk_tree_view_column_get_visible ()">gtk_tree_view_column_get_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="GtkTreeViewColumn.html#gtk-tree-view-column-set-resizable" title="gtk_tree_view_column_set_resizable ()">gtk_tree_view_column_set_resizable</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-get-resizable" title="gtk_tree_view_column_get_resizable ()">gtk_tree_view_column_get_resizable</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="GtkTreeViewColumn.html#gtk-tree-view-column-set-sizing" title="gtk_tree_view_column_set_sizing ()">gtk_tree_view_column_set_sizing</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="GtkTreeViewColumn.html#GtkTreeViewColumnSizing" title="enum GtkTreeViewColumnSizing"><span class="returnvalue">GtkTreeViewColumnSizing</span></a> </td> <td class="function_name"> <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-get-sizing" title="gtk_tree_view_column_get_sizing ()">gtk_tree_view_column_get_sizing</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> </td> <td class="function_name"> <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-get-width" title="gtk_tree_view_column_get_width ()">gtk_tree_view_column_get_width</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> </td> <td class="function_name"> <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-get-fixed-width" title="gtk_tree_view_column_get_fixed_width ()">gtk_tree_view_column_get_fixed_width</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="GtkTreeViewColumn.html#gtk-tree-view-column-set-fixed-width" title="gtk_tree_view_column_set_fixed_width ()">gtk_tree_view_column_set_fixed_width</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="GtkTreeViewColumn.html#gtk-tree-view-column-set-min-width" title="gtk_tree_view_column_set_min_width ()">gtk_tree_view_column_set_min_width</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> </td> <td class="function_name"> <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-get-min-width" title="gtk_tree_view_column_get_min_width ()">gtk_tree_view_column_get_min_width</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="GtkTreeViewColumn.html#gtk-tree-view-column-set-max-width" title="gtk_tree_view_column_set_max_width ()">gtk_tree_view_column_set_max_width</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> </td> <td class="function_name"> <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-get-max-width" title="gtk_tree_view_column_get_max_width ()">gtk_tree_view_column_get_max_width</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="GtkTreeViewColumn.html#gtk-tree-view-column-clicked" title="gtk_tree_view_column_clicked ()">gtk_tree_view_column_clicked</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="GtkTreeViewColumn.html#gtk-tree-view-column-set-title" title="gtk_tree_view_column_set_title ()">gtk_tree_view_column_set_title</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * </td> <td class="function_name"> <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-get-title" title="gtk_tree_view_column_get_title ()">gtk_tree_view_column_get_title</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="GtkTreeViewColumn.html#gtk-tree-view-column-set-expand" title="gtk_tree_view_column_set_expand ()">gtk_tree_view_column_set_expand</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-get-expand" title="gtk_tree_view_column_get_expand ()">gtk_tree_view_column_get_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="GtkTreeViewColumn.html#gtk-tree-view-column-set-clickable" title="gtk_tree_view_column_set_clickable ()">gtk_tree_view_column_set_clickable</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-get-clickable" title="gtk_tree_view_column_get_clickable ()">gtk_tree_view_column_get_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="GtkTreeViewColumn.html#gtk-tree-view-column-set-widget" title="gtk_tree_view_column_set_widget ()">gtk_tree_view_column_set_widget</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="GtkTreeViewColumn.html#gtk-tree-view-column-get-widget" title="gtk_tree_view_column_get_widget ()">gtk_tree_view_column_get_widget</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="GtkTreeViewColumn.html#gtk-tree-view-column-get-button" title="gtk_tree_view_column_get_button ()">gtk_tree_view_column_get_button</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="GtkTreeViewColumn.html#gtk-tree-view-column-set-alignment" title="gtk_tree_view_column_set_alignment ()">gtk_tree_view_column_set_alignment</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="returnvalue">gfloat</span></a> </td> <td class="function_name"> <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-get-alignment" title="gtk_tree_view_column_get_alignment ()">gtk_tree_view_column_get_alignment</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="GtkTreeViewColumn.html#gtk-tree-view-column-set-reorderable" title="gtk_tree_view_column_set_reorderable ()">gtk_tree_view_column_set_reorderable</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-get-reorderable" title="gtk_tree_view_column_get_reorderable ()">gtk_tree_view_column_get_reorderable</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="GtkTreeViewColumn.html#gtk-tree-view-column-set-sort-column-id" title="gtk_tree_view_column_set_sort_column_id ()">gtk_tree_view_column_set_sort_column_id</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> </td> <td class="function_name"> <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-get-sort-column-id" title="gtk_tree_view_column_get_sort_column_id ()">gtk_tree_view_column_get_sort_column_id</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="GtkTreeViewColumn.html#gtk-tree-view-column-set-sort-indicator" title="gtk_tree_view_column_set_sort_indicator ()">gtk_tree_view_column_set_sort_indicator</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-get-sort-indicator" title="gtk_tree_view_column_get_sort_indicator ()">gtk_tree_view_column_get_sort_indicator</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="GtkTreeViewColumn.html#gtk-tree-view-column-set-sort-order" title="gtk_tree_view_column_set_sort_order ()">gtk_tree_view_column_set_sort_order</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="gtk3-Standard-Enumerations.html#GtkSortType" title="enum GtkSortType"><span class="returnvalue">GtkSortType</span></a> </td> <td class="function_name"> <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-get-sort-order" title="gtk_tree_view_column_get_sort_order ()">gtk_tree_view_column_get_sort_order</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="GtkTreeViewColumn.html#gtk-tree-view-column-cell-set-cell-data" title="gtk_tree_view_column_cell_set_cell_data ()">gtk_tree_view_column_cell_set_cell_data</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="GtkTreeViewColumn.html#gtk-tree-view-column-cell-get-size" title="gtk_tree_view_column_cell_get_size ()">gtk_tree_view_column_cell_get_size</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-cell-get-position" title="gtk_tree_view_column_cell_get_position ()">gtk_tree_view_column_cell_get_position</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-cell-is-visible" title="gtk_tree_view_column_cell_is_visible ()">gtk_tree_view_column_cell_is_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="GtkTreeViewColumn.html#gtk-tree-view-column-focus-cell" title="gtk_tree_view_column_focus_cell ()">gtk_tree_view_column_focus_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="GtkTreeViewColumn.html#gtk-tree-view-column-queue-resize" title="gtk_tree_view_column_queue_resize ()">gtk_tree_view_column_queue_resize</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="GtkTreeViewColumn.html#gtk-tree-view-column-get-tree-view" title="gtk_tree_view_column_get_tree_view ()">gtk_tree_view_column_get_tree_view</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> </td> <td class="function_name"> <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-get-x-offset" title="gtk_tree_view_column_get_x_offset ()">gtk_tree_view_column_get_x_offset</a> <span class="c_punctuation">()</span> </td> </tr> </tbody> </table></div> </div> <div class="refsect1"> <a name="GtkTreeViewColumn.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"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a></td> <td class="property_name"><a class="link" href="GtkTreeViewColumn.html#GtkTreeViewColumn--alignment" title="The “alignment” property">alignment</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"> <a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a> *</td> <td class="property_name"><a class="link" href="GtkTreeViewColumn.html#GtkTreeViewColumn--cell-area" title="The “cell-area” property">cell-area</a></td> <td class="property_flags">Read / Write / Construct Only</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTreeViewColumn.html#GtkTreeViewColumn--clickable" title="The “clickable” property">clickable</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTreeViewColumn.html#GtkTreeViewColumn--expand" title="The “expand” property">expand</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td> <td class="property_name"><a class="link" href="GtkTreeViewColumn.html#GtkTreeViewColumn--fixed-width" title="The “fixed-width” property">fixed-width</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td> <td class="property_name"><a class="link" href="GtkTreeViewColumn.html#GtkTreeViewColumn--max-width" title="The “max-width” property">max-width</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td> <td class="property_name"><a class="link" href="GtkTreeViewColumn.html#GtkTreeViewColumn--min-width" title="The “min-width” property">min-width</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTreeViewColumn.html#GtkTreeViewColumn--reorderable" title="The “reorderable” property">reorderable</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTreeViewColumn.html#GtkTreeViewColumn--resizable" title="The “resizable” property">resizable</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a class="link" href="GtkTreeViewColumn.html#GtkTreeViewColumnSizing" title="enum GtkTreeViewColumnSizing"><span class="type">GtkTreeViewColumnSizing</span></a></td> <td class="property_name"><a class="link" href="GtkTreeViewColumn.html#GtkTreeViewColumn--sizing" title="The “sizing” property">sizing</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td> <td class="property_name"><a class="link" href="GtkTreeViewColumn.html#GtkTreeViewColumn--sort-column-id" title="The “sort-column-id” property">sort-column-id</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTreeViewColumn.html#GtkTreeViewColumn--sort-indicator" title="The “sort-indicator” property">sort-indicator</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a class="link" href="gtk3-Standard-Enumerations.html#GtkSortType" title="enum GtkSortType"><span class="type">GtkSortType</span></a></td> <td class="property_name"><a class="link" href="GtkTreeViewColumn.html#GtkTreeViewColumn--sort-order" title="The “sort-order” property">sort-order</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td> <td class="property_name"><a class="link" href="GtkTreeViewColumn.html#GtkTreeViewColumn--spacing" title="The “spacing” property">spacing</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"> <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td> <td class="property_name"><a class="link" href="GtkTreeViewColumn.html#GtkTreeViewColumn--title" title="The “title” property">title</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTreeViewColumn.html#GtkTreeViewColumn--visible" title="The “visible” property">visible</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"> <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *</td> <td class="property_name"><a class="link" href="GtkTreeViewColumn.html#GtkTreeViewColumn--widget" title="The “widget” property">widget</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td> <td class="property_name"><a class="link" href="GtkTreeViewColumn.html#GtkTreeViewColumn--width" title="The “width” property">width</a></td> <td class="property_flags">Read</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td> <td class="property_name"><a class="link" href="GtkTreeViewColumn.html#GtkTreeViewColumn--x-offset" title="The “x-offset” property">x-offset</a></td> <td class="property_flags">Read</td> </tr> </tbody> </table></div> </div> <div class="refsect1"> <a name="GtkTreeViewColumn.signals"></a><h2>Signals</h2> <div class="informaltable"><table class="informaltable" border="0"> <colgroup> <col width="150px" class="signal_proto_type"> <col width="300px" class="signal_proto_name"> <col width="200px" class="signal_proto_flags"> </colgroup> <tbody><tr> <td class="signal_type"><span class="returnvalue">void</span></td> <td class="signal_name"><a class="link" href="GtkTreeViewColumn.html#GtkTreeViewColumn-clicked" title="The “clicked” signal">clicked</a></td> <td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td> </tr></tbody> </table></div> </div> <div class="refsect1"> <a name="GtkTreeViewColumn.other"></a><h2>Types and Values</h2> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="other_proto_type"> <col class="other_proto_name"> </colgroup> <tbody> <tr> <td class="datatype_keyword">enum</td> <td class="function_name"><a class="link" href="GtkTreeViewColumn.html#GtkTreeViewColumnSizing" title="enum GtkTreeViewColumnSizing">GtkTreeViewColumnSizing</a></td> </tr> <tr> <td class="datatype_keyword">struct</td> <td class="function_name"><a class="link" href="GtkTreeViewColumn.html#GtkTreeViewColumn-struct" title="struct GtkTreeViewColumn">GtkTreeViewColumn</a></td> </tr> </tbody> </table></div> </div> <div class="refsect1"> <a name="GtkTreeViewColumn.object-hierarchy"></a><h2>Object Hierarchy</h2> <pre class="screen"> <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a> <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a> <span class="lineart">╰──</span> GtkTreeViewColumn </pre> </div> <div class="refsect1"> <a name="GtkTreeViewColumn.implemented-interfaces"></a><h2>Implemented Interfaces</h2> <p> GtkTreeViewColumn implements <a class="link" href="GtkCellLayout.html" title="GtkCellLayout">GtkCellLayout</a> and <a class="link" href="GtkBuildable.html" title="GtkBuildable">GtkBuildable</a>.</p> </div> <div class="refsect1"> <a name="GtkTreeViewColumn.includes"></a><h2>Includes</h2> <pre class="synopsis">#include <gtk/gtk.h> </pre> </div> <div class="refsect1"> <a name="GtkTreeViewColumn.description"></a><h2>Description</h2> <p>The GtkTreeViewColumn object represents a visible column in a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> widget. It allows to set properties of the column header, and functions as a holding pen for the cell renderers which determine how the data in the column is displayed.</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> </div> <div class="refsect1"> <a name="GtkTreeViewColumn.functions_details"></a><h2>Functions</h2> <div class="refsect2"> <a name="GtkTreeCellDataFunc"></a><h3>GtkTreeCellDataFunc ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> <span class="c_punctuation">(</span>*GtkTreeCellDataFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</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="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> *tree_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><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre> <p>A function to set the properties of a cell instead of just using the straight mapping between the cell and the model. This is useful for customizing the cell renderer. For example, a function might get an integer from the <em class="parameter"><code>tree_model</code></em> , and render it to the “text” attribute of “cell” by converting it to its written equivalent. This is set by calling <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></p> <div class="refsect3"> <a name="GtkTreeCellDataFunc.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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a></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> that is being rendered by <em class="parameter"><code>tree_column</code></em> </p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>tree_model</p></td> <td class="parameter_description"><p>The <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> being rendered</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> of the current row rendered</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> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-new"></a><h3>gtk_tree_view_column_new ()</h3> <pre class="programlisting"><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="returnvalue">GtkTreeViewColumn</span></a> * gtk_tree_view_column_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> <p>Creates a new <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.</p> <div class="refsect3"> <a name="gtk-tree-view-column-new.returns"></a><h4>Returns</h4> <p> A newly created <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.</p> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-new-with-area"></a><h3>gtk_tree_view_column_new_with_area ()</h3> <pre class="programlisting"><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="returnvalue">GtkTreeViewColumn</span></a> * gtk_tree_view_column_new_with_area (<em class="parameter"><code><a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a> *area</code></em>);</pre> <p>Creates a new <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> using <em class="parameter"><code>area</code></em> to render its cells.</p> <div class="refsect3"> <a name="gtk-tree-view-column-new-with-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>area</p></td> <td class="parameter_description"><p>the <a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a> that the newly created column should use to layout cells.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="gtk-tree-view-column-new-with-area.returns"></a><h4>Returns</h4> <p> A newly created <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.</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-column-new-with-attributes"></a><h3>gtk_tree_view_column_new_with_attributes ()</h3> <pre class="programlisting"><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="returnvalue">GtkTreeViewColumn</span></a> * gtk_tree_view_column_new_with_attributes (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *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> with a number of default values. This is equivalent to calling <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-set-title" title="gtk_tree_view_column_set_title ()"><code class="function">gtk_tree_view_column_set_title()</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>, and <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-set-attributes" title="gtk_tree_view_column_set_attributes ()"><code class="function">gtk_tree_view_column_set_attributes()</code></a> on the newly created <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.</p> <p>Here’s a simple example:</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</pre></td> <td class="listing_code"><pre class="programlisting"><span class="k">enum</span> <span class="p">{</span> <span class="n">TEXT_COLUMN</span><span class="p">,</span> <span class="n">COLOR_COLUMN</span><span class="p">,</span> <span class="n">N_COLUMNS</span> <span class="p">};</span> <span class="c1">// ...</span> <span class="p">{</span> <span class="n">GtkTreeViewColumn</span> <span class="o">*</span><span class="n">column</span><span class="p">;</span> <span class="n">GtkCellRenderer</span> <span class="o">*</span><span class="n">renderer</span> <span class="o">=</span> <span class="n">gtk_cell_renderer_text_new</span> <span class="p">();</span> <span class="n">column</span> <span class="o">=</span> <span class="n">gtk_tree_view_column_new_with_attributes</span> <span class="p">(</span><span class="s">"Title"</span><span class="p">,</span> <span class="n">renderer</span><span class="p">,</span> <span class="s">"text"</span><span class="p">,</span> <span class="n">TEXT_COLUMN</span><span class="p">,</span> <span class="s">"foreground"</span><span class="p">,</span> <span class="n">COLOR_COLUMN</span><span class="p">,</span> <span class="nb">NULL</span><span class="p">);</span> <span class="p">}</span></pre></td> </tr> </tbody> </table> </div> <p></p> <div class="refsect3"> <a name="gtk-tree-view-column-new-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>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 <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated list of attributes</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="gtk-tree-view-column-new-with-attributes.returns"></a><h4>Returns</h4> <p> A newly created <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.</p> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-pack-start"></a><h3>gtk_tree_view_column_pack_start ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> gtk_tree_view_column_pack_start (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</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 href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> expand</code></em>);</pre> <p>Packs the <em class="parameter"><code>cell</code></em> into the beginning of the column. If <em class="parameter"><code>expand</code></em> is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, then the <em class="parameter"><code>cell</code></em> is allocated no more space than it needs. Any unused space is divided evenly between cells for which <em class="parameter"><code>expand</code></em> is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p> <div class="refsect3"> <a name="gtk-tree-view-column-pack-start.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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.</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>expand</p></td> <td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>cell</code></em> is to be given extra space allocated to <em class="parameter"><code>tree_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-column-pack-end"></a><h3>gtk_tree_view_column_pack_end ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> gtk_tree_view_column_pack_end (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</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 href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> expand</code></em>);</pre> <p>Adds the <em class="parameter"><code>cell</code></em> to end of the column. If <em class="parameter"><code>expand</code></em> is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, then the <em class="parameter"><code>cell</code></em> is allocated no more space than it needs. Any unused space is divided evenly between cells for which <em class="parameter"><code>expand</code></em> is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p> <div class="refsect3"> <a name="gtk-tree-view-column-pack-end.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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.</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>expand</p></td> <td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>cell</code></em> is to be given extra space allocated to <em class="parameter"><code>tree_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-column-clear"></a><h3>gtk_tree_view_column_clear ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> gtk_tree_view_column_clear (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>);</pre> <p>Unsets all the mappings on all renderers on the <em class="parameter"><code>tree_column</code></em> .</p> <div class="refsect3"> <a name="gtk-tree-view-column-clear.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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-add-attribute"></a><h3>gtk_tree_view_column_add_attribute ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> gtk_tree_view_column_add_attribute (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>, <em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell_renderer</code></em>, <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *attribute</code></em>, <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> column</code></em>);</pre> <p>Adds an attribute mapping to the list in <em class="parameter"><code>tree_column</code></em> . The <em class="parameter"><code>column</code></em> is the column of the model to get a value from, and the <em class="parameter"><code>attribute</code></em> is the parameter on <em class="parameter"><code>cell_renderer</code></em> to be set from the value. So for example if column 2 of the model contains strings, you could have the “text” attribute of a <a class="link" href="GtkCellRendererText.html" title="GtkCellRendererText"><span class="type">GtkCellRendererText</span></a> get its values from column 2.</p> <div class="refsect3"> <a name="gtk-tree-view-column-add-attribute.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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>cell_renderer</p></td> <td class="parameter_description"><p>the <a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> to set attributes on</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>attribute</p></td> <td class="parameter_description"><p>An attribute on the renderer</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>column</p></td> <td class="parameter_description"><p>The column position on the model to get the attribute from.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-set-attributes"></a><h3>gtk_tree_view_column_set_attributes ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> gtk_tree_view_column_set_attributes (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>, <em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell_renderer</code></em>, <em class="parameter"><code>...</code></em>);</pre> <p>Sets the attributes in the list as the attributes of <em class="parameter"><code>tree_column</code></em> . The attributes should be in attribute/column order, as in <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-add-attribute" title="gtk_tree_view_column_add_attribute ()"><code class="function">gtk_tree_view_column_add_attribute()</code></a>. All existing attributes are removed, and replaced with the new attributes.</p> <div class="refsect3"> <a name="gtk-tree-view-column-set-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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>cell_renderer</p></td> <td class="parameter_description"><p>the <a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> we’re setting the attributes of</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>...</p></td> <td class="parameter_description"><p>A <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated list of attributes</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-set-cell-data-func"></a><h3>gtk_tree_view_column_set_cell_data_func ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> gtk_tree_view_column_set_cell_data_func (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>, <em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell_renderer</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><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> func_data</code></em>, <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>);</pre> <p>Sets the <a class="link" href="GtkTreeViewColumn.html#GtkTreeCellDataFunc" title="GtkTreeCellDataFunc ()"><span class="type">GtkTreeCellDataFunc</span></a> to use for the column. This function is used instead of the standard attributes mapping for setting the column value, and should set the value of <em class="parameter"><code>tree_column</code></em> 's cell renderer as appropriate. <em class="parameter"><code>func</code></em> may be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to remove an older one.</p> <div class="refsect3"> <a name="gtk-tree-view-column-set-cell-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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>cell_renderer</p></td> <td class="parameter_description"><p>A <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>func</p></td> <td class="parameter_description"><p>The <a class="link" href="GtkTreeViewColumn.html#GtkTreeCellDataFunc" title="GtkTreeCellDataFunc ()"><span class="type">GtkTreeCellDataFunc</span></a> to use. </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>func_data</p></td> <td class="parameter_description"><p>The user data for <em class="parameter"><code>func</code></em> . </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> <tr> <td class="parameter_name"><p>destroy</p></td> <td class="parameter_description"><p>The destroy notification for <em class="parameter"><code>func_data</code></em> </p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-clear-attributes"></a><h3>gtk_tree_view_column_clear_attributes ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> gtk_tree_view_column_clear_attributes (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>, <em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell_renderer</code></em>);</pre> <p>Clears all existing attributes previously set with <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-set-attributes" title="gtk_tree_view_column_set_attributes ()"><code class="function">gtk_tree_view_column_set_attributes()</code></a>.</p> <div class="refsect3"> <a name="gtk-tree-view-column-clear-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_column</p></td> <td class="parameter_description"><p>a <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>cell_renderer</p></td> <td class="parameter_description"><p>a <a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> to clear the attribute mapping on.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-set-spacing"></a><h3>gtk_tree_view_column_set_spacing ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> gtk_tree_view_column_set_spacing (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>, <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> spacing</code></em>);</pre> <p>Sets the spacing field of <em class="parameter"><code>tree_column</code></em> , which is the number of pixels to place between cell renderers packed into it.</p> <div class="refsect3"> <a name="gtk-tree-view-column-set-spacing.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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>spacing</p></td> <td class="parameter_description"><p>distance between cell renderers in pixels.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-get-spacing"></a><h3>gtk_tree_view_column_get_spacing ()</h3> <pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_tree_view_column_get_spacing (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>);</pre> <p>Returns the spacing of <em class="parameter"><code>tree_column</code></em> .</p> <div class="refsect3"> <a name="gtk-tree-view-column-get-spacing.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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="gtk-tree-view-column-get-spacing.returns"></a><h4>Returns</h4> <p> the spacing of <em class="parameter"><code>tree_column</code></em> .</p> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-set-visible"></a><h3>gtk_tree_view_column_set_visible ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> gtk_tree_view_column_set_visible (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>, <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> visible</code></em>);</pre> <p>Sets the visibility of <em class="parameter"><code>tree_column</code></em> .</p> <div class="refsect3"> <a name="gtk-tree-view-column-set-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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>visible</p></td> <td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <em class="parameter"><code>tree_column</code></em> is visible.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-get-visible"></a><h3>gtk_tree_view_column_get_visible ()</h3> <pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_tree_view_column_get_visible (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>);</pre> <p>Returns <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>tree_column</code></em> is visible.</p> <div class="refsect3"> <a name="gtk-tree-view-column-get-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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="gtk-tree-view-column-get-visible.returns"></a><h4>Returns</h4> <p> whether the column is visible or not. If it is visible, then the tree will show the column.</p> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-set-resizable"></a><h3>gtk_tree_view_column_set_resizable ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> gtk_tree_view_column_set_resizable (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>, <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> resizable</code></em>);</pre> <p>If <em class="parameter"><code>resizable</code></em> is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, then the user can explicitly resize the column by grabbing the outer edge of the column button. If resizable is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> and sizing mode of the column is <a class="link" href="GtkTreeViewColumn.html#GTK-TREE-VIEW-COLUMN-AUTOSIZE:CAPS"><span class="type">GTK_TREE_VIEW_COLUMN_AUTOSIZE</span></a>, then the sizing mode is changed to <a class="link" href="GtkTreeViewColumn.html#GTK-TREE-VIEW-COLUMN-GROW-ONLY:CAPS"><span class="type">GTK_TREE_VIEW_COLUMN_GROW_ONLY</span></a>.</p> <div class="refsect3"> <a name="gtk-tree-view-column-set-resizable.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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>resizable</p></td> <td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, if the column can be resized</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-get-resizable"></a><h3>gtk_tree_view_column_get_resizable ()</h3> <pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_tree_view_column_get_resizable (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>);</pre> <p>Returns <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <em class="parameter"><code>tree_column</code></em> can be resized by the end user.</p> <div class="refsect3"> <a name="gtk-tree-view-column-get-resizable.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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="gtk-tree-view-column-get-resizable.returns"></a><h4>Returns</h4> <p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, if the <em class="parameter"><code>tree_column</code></em> can be resized.</p> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-set-sizing"></a><h3>gtk_tree_view_column_set_sizing ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> gtk_tree_view_column_set_sizing (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>, <em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html#GtkTreeViewColumnSizing" title="enum GtkTreeViewColumnSizing"><span class="type">GtkTreeViewColumnSizing</span></a> type</code></em>);</pre> <p>Sets the growth behavior of <em class="parameter"><code>tree_column</code></em> to <em class="parameter"><code>type</code></em> .</p> <div class="refsect3"> <a name="gtk-tree-view-column-set-sizing.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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>type</p></td> <td class="parameter_description"><p>The <a class="link" href="GtkTreeViewColumn.html#GtkTreeViewColumnSizing" title="enum GtkTreeViewColumnSizing"><span class="type">GtkTreeViewColumnSizing</span></a>.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-get-sizing"></a><h3>gtk_tree_view_column_get_sizing ()</h3> <pre class="programlisting"><a class="link" href="GtkTreeViewColumn.html#GtkTreeViewColumnSizing" title="enum GtkTreeViewColumnSizing"><span class="returnvalue">GtkTreeViewColumnSizing</span></a> gtk_tree_view_column_get_sizing (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>);</pre> <p>Returns the current type of <em class="parameter"><code>tree_column</code></em> .</p> <div class="refsect3"> <a name="gtk-tree-view-column-get-sizing.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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="gtk-tree-view-column-get-sizing.returns"></a><h4>Returns</h4> <p> The type of <em class="parameter"><code>tree_column</code></em> .</p> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-get-width"></a><h3>gtk_tree_view_column_get_width ()</h3> <pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_tree_view_column_get_width (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>);</pre> <p>Returns the current size of <em class="parameter"><code>tree_column</code></em> in pixels.</p> <div class="refsect3"> <a name="gtk-tree-view-column-get-width.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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="gtk-tree-view-column-get-width.returns"></a><h4>Returns</h4> <p> The current width of <em class="parameter"><code>tree_column</code></em> .</p> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-get-fixed-width"></a><h3>gtk_tree_view_column_get_fixed_width ()</h3> <pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_tree_view_column_get_fixed_width (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>);</pre> <p>Gets the fixed width of the column. This may not be the actual displayed width of the column; for that, use <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-get-width" title="gtk_tree_view_column_get_width ()"><code class="function">gtk_tree_view_column_get_width()</code></a>.</p> <div class="refsect3"> <a name="gtk-tree-view-column-get-fixed-width.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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="gtk-tree-view-column-get-fixed-width.returns"></a><h4>Returns</h4> <p> The fixed width of the column.</p> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-set-fixed-width"></a><h3>gtk_tree_view_column_set_fixed_width ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> gtk_tree_view_column_set_fixed_width (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>, <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> fixed_width</code></em>);</pre> <p>If <em class="parameter"><code>fixed_width</code></em> is not -1, sets the fixed width of <em class="parameter"><code>tree_column</code></em> ; otherwise unsets it. The effective value of <em class="parameter"><code>fixed_width</code></em> is clamped between the minimum and maximum width of the column; however, the value stored in the “fixed-width” property is not clamped. If the column sizing is <a class="link" href="GtkTreeViewColumn.html#GTK-TREE-VIEW-COLUMN-GROW-ONLY:CAPS"><span class="type">GTK_TREE_VIEW_COLUMN_GROW_ONLY</span></a> or <a class="link" href="GtkTreeViewColumn.html#GTK-TREE-VIEW-COLUMN-AUTOSIZE:CAPS"><span class="type">GTK_TREE_VIEW_COLUMN_AUTOSIZE</span></a>, setting a fixed width overrides the automatically calculated width. Note that <em class="parameter"><code>fixed_width</code></em> is only a hint to GTK+; the width actually allocated to the column may be greater or less than requested.</p> <p>Along with “expand”, the “fixed-width” property changes when the column is resized by the user.</p> <div class="refsect3"> <a name="gtk-tree-view-column-set-fixed-width.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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>fixed_width</p></td> <td class="parameter_description"><p>The new fixed width, in pixels, or -1.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-set-min-width"></a><h3>gtk_tree_view_column_set_min_width ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> gtk_tree_view_column_set_min_width (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>, <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> min_width</code></em>);</pre> <p>Sets the minimum width of the <em class="parameter"><code>tree_column</code></em> . If <em class="parameter"><code>min_width</code></em> is -1, then the minimum width is unset.</p> <div class="refsect3"> <a name="gtk-tree-view-column-set-min-width.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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>min_width</p></td> <td class="parameter_description"><p>The minimum width of the column in pixels, or -1.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-get-min-width"></a><h3>gtk_tree_view_column_get_min_width ()</h3> <pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_tree_view_column_get_min_width (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>);</pre> <p>Returns the minimum width in pixels of the <em class="parameter"><code>tree_column</code></em> , or -1 if no minimum width is set.</p> <div class="refsect3"> <a name="gtk-tree-view-column-get-min-width.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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="gtk-tree-view-column-get-min-width.returns"></a><h4>Returns</h4> <p> The minimum width of the <em class="parameter"><code>tree_column</code></em> .</p> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-set-max-width"></a><h3>gtk_tree_view_column_set_max_width ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> gtk_tree_view_column_set_max_width (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>, <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_width</code></em>);</pre> <p>Sets the maximum width of the <em class="parameter"><code>tree_column</code></em> . If <em class="parameter"><code>max_width</code></em> is -1, then the maximum width is unset. Note, the column can actually be wider than max width if it’s the last column in a view. In this case, the column expands to fill any extra space.</p> <div class="refsect3"> <a name="gtk-tree-view-column-set-max-width.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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>max_width</p></td> <td class="parameter_description"><p>The maximum width of the column in pixels, or -1.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-get-max-width"></a><h3>gtk_tree_view_column_get_max_width ()</h3> <pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_tree_view_column_get_max_width (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>);</pre> <p>Returns the maximum width in pixels of the <em class="parameter"><code>tree_column</code></em> , or -1 if no maximum width is set.</p> <div class="refsect3"> <a name="gtk-tree-view-column-get-max-width.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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="gtk-tree-view-column-get-max-width.returns"></a><h4>Returns</h4> <p> The maximum width of the <em class="parameter"><code>tree_column</code></em> .</p> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-clicked"></a><h3>gtk_tree_view_column_clicked ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> gtk_tree_view_column_clicked (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>);</pre> <p>Emits the “clicked” signal on the column. This function will only work if <em class="parameter"><code>tree_column</code></em> is clickable.</p> <div class="refsect3"> <a name="gtk-tree-view-column-clicked.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_column</p></td> <td class="parameter_description"><p>a <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-set-title"></a><h3>gtk_tree_view_column_set_title ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> gtk_tree_view_column_set_title (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>, <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);</pre> <p>Sets the title of the <em class="parameter"><code>tree_column</code></em> . If a custom widget has been set, then this value is ignored.</p> <div class="refsect3"> <a name="gtk-tree-view-column-set-title.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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>title</p></td> <td class="parameter_description"><p>The title of the <em class="parameter"><code>tree_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-column-get-title"></a><h3>gtk_tree_view_column_get_title ()</h3> <pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gtk_tree_view_column_get_title (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>);</pre> <p>Returns the title of the widget.</p> <div class="refsect3"> <a name="gtk-tree-view-column-get-title.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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="gtk-tree-view-column-get-title.returns"></a><h4>Returns</h4> <p> the title of the column. This string should not be modified or freed.</p> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-set-expand"></a><h3>gtk_tree_view_column_set_expand ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> gtk_tree_view_column_set_expand (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>, <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> expand</code></em>);</pre> <p>Sets the column to take available extra space. This space is shared equally amongst all columns that have the expand set to <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>. If no column has this option set, then the last column gets all extra space. By default, every column is created with this <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p> <p>Along with “fixed-width”, the “expand” property changes when the column is resized by the user.</p> <div class="refsect3"> <a name="gtk-tree-view-column-set-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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>expand</p></td> <td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the column should expand to fill available space.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <p class="since">Since: 2.4</p> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-get-expand"></a><h3>gtk_tree_view_column_get_expand ()</h3> <pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_tree_view_column_get_expand (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>);</pre> <p>Returns <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the column expands to fill available space.</p> <div class="refsect3"> <a name="gtk-tree-view-column-get-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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="gtk-tree-view-column-get-expand.returns"></a><h4>Returns</h4> <p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the column expands to fill available space.</p> </div> <p class="since">Since: 2.4</p> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-set-clickable"></a><h3>gtk_tree_view_column_set_clickable ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> gtk_tree_view_column_set_clickable (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>, <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> clickable</code></em>);</pre> <p>Sets the header to be active if <em class="parameter"><code>clickable</code></em> is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>. When the header is active, then it can take keyboard focus, and can be clicked.</p> <div class="refsect3"> <a name="gtk-tree-view-column-set-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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>clickable</p></td> <td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the header is active.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-get-clickable"></a><h3>gtk_tree_view_column_get_clickable ()</h3> <pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_tree_view_column_get_clickable (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>);</pre> <p>Returns <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the user can click on the header for the column.</p> <div class="refsect3"> <a name="gtk-tree-view-column-get-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_column</p></td> <td class="parameter_description"><p>a <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="gtk-tree-view-column-get-clickable.returns"></a><h4>Returns</h4> <p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if user can click the column header.</p> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-set-widget"></a><h3>gtk_tree_view_column_set_widget ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> gtk_tree_view_column_set_widget (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>, <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre> <p>Sets the widget in the header to be <em class="parameter"><code>widget</code></em> . If widget is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then the header button is set with a <a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> set to the title of <em class="parameter"><code>tree_column</code></em> .</p> <div class="refsect3"> <a name="gtk-tree-view-column-set-widget.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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>widget</p></td> <td class="parameter_description"><p>A child <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></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> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-get-widget"></a><h3>gtk_tree_view_column_get_widget ()</h3> <pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_tree_view_column_get_widget (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>);</pre> <p>Returns the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> in the button on the column header. If a custom widget has not been set then <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned.</p> <div class="refsect3"> <a name="gtk-tree-view-column-get-widget.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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="gtk-tree-view-column-get-widget.returns"></a><h4>Returns</h4> <p>The <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> in the column header, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </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-column-get-button"></a><h3>gtk_tree_view_column_get_button ()</h3> <pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_tree_view_column_get_button (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>);</pre> <p>Returns the button used in the treeview column header</p> <div class="refsect3"> <a name="gtk-tree-view-column-get-button.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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="gtk-tree-view-column-get-button.returns"></a><h4>Returns</h4> <p>The button for the column header. </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: <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-column-set-alignment"></a><h3>gtk_tree_view_column_set_alignment ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> gtk_tree_view_column_set_alignment (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>, <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> xalign</code></em>);</pre> <p>Sets the alignment of the title or custom widget inside the column header. The alignment determines its location inside the button -- 0.0 for left, 0.5 for center, 1.0 for right.</p> <div class="refsect3"> <a name="gtk-tree-view-column-set-alignment.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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>xalign</p></td> <td class="parameter_description"><p>The alignment, which is between [0.0 and 1.0] inclusive.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-get-alignment"></a><h3>gtk_tree_view_column_get_alignment ()</h3> <pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="returnvalue">gfloat</span></a> gtk_tree_view_column_get_alignment (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>);</pre> <p>Returns the current x alignment of <em class="parameter"><code>tree_column</code></em> . This value can range between 0.0 and 1.0.</p> <div class="refsect3"> <a name="gtk-tree-view-column-get-alignment.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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="gtk-tree-view-column-get-alignment.returns"></a><h4>Returns</h4> <p> The current alignent of <em class="parameter"><code>tree_column</code></em> .</p> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-set-reorderable"></a><h3>gtk_tree_view_column_set_reorderable ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> gtk_tree_view_column_set_reorderable (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>, <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> reorderable</code></em>);</pre> <p>If <em class="parameter"><code>reorderable</code></em> is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, then the column can be reordered by the end user dragging the header.</p> <div class="refsect3"> <a name="gtk-tree-view-column-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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>reorderable</p></td> <td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, if the column 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-column-get-reorderable"></a><h3>gtk_tree_view_column_get_reorderable ()</h3> <pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_tree_view_column_get_reorderable (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>);</pre> <p>Returns <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <em class="parameter"><code>tree_column</code></em> can be reordered by the user.</p> <div class="refsect3"> <a name="gtk-tree-view-column-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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="gtk-tree-view-column-get-reorderable.returns"></a><h4>Returns</h4> <p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <em class="parameter"><code>tree_column</code></em> can be reordered by the user.</p> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-set-sort-column-id"></a><h3>gtk_tree_view_column_set_sort_column_id ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> gtk_tree_view_column_set_sort_column_id (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>, <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> sort_column_id</code></em>);</pre> <p>Sets the logical <em class="parameter"><code>sort_column_id</code></em> that this column sorts on when this column is selected for sorting. Doing so makes the column header clickable.</p> <div class="refsect3"> <a name="gtk-tree-view-column-set-sort-column-id.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_column</p></td> <td class="parameter_description"><p>a <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>sort_column_id</p></td> <td class="parameter_description"><p>The <em class="parameter"><code>sort_column_id</code></em> of the model to sort on.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-get-sort-column-id"></a><h3>gtk_tree_view_column_get_sort_column_id ()</h3> <pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_tree_view_column_get_sort_column_id (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>);</pre> <p>Gets the logical <em class="parameter"><code>sort_column_id</code></em> that the model sorts on when this column is selected for sorting. See <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-set-sort-column-id" title="gtk_tree_view_column_set_sort_column_id ()"><code class="function">gtk_tree_view_column_set_sort_column_id()</code></a>.</p> <div class="refsect3"> <a name="gtk-tree-view-column-get-sort-column-id.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_column</p></td> <td class="parameter_description"><p>a <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="gtk-tree-view-column-get-sort-column-id.returns"></a><h4>Returns</h4> <p> the current <em class="parameter"><code>sort_column_id</code></em> for this column, or -1 if this column can’t be used for sorting.</p> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-set-sort-indicator"></a><h3>gtk_tree_view_column_set_sort_indicator ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> gtk_tree_view_column_set_sort_indicator (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>, <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> setting</code></em>);</pre> <p>Call this function with a <em class="parameter"><code>setting</code></em> of <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to display an arrow in the header button indicating the column is sorted. Call <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-set-sort-order" title="gtk_tree_view_column_set_sort_order ()"><code class="function">gtk_tree_view_column_set_sort_order()</code></a> to change the direction of the arrow.</p> <div class="refsect3"> <a name="gtk-tree-view-column-set-sort-indicator.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_column</p></td> <td class="parameter_description"><p>a <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>setting</p></td> <td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to display an indicator that the column is sorted</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-get-sort-indicator"></a><h3>gtk_tree_view_column_get_sort_indicator ()</h3> <pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_tree_view_column_get_sort_indicator (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>);</pre> <p>Gets the value set by <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-set-sort-indicator" title="gtk_tree_view_column_set_sort_indicator ()"><code class="function">gtk_tree_view_column_set_sort_indicator()</code></a>.</p> <div class="refsect3"> <a name="gtk-tree-view-column-get-sort-indicator.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_column</p></td> <td class="parameter_description"><p>a <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="gtk-tree-view-column-get-sort-indicator.returns"></a><h4>Returns</h4> <p> whether the sort indicator arrow is displayed</p> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-set-sort-order"></a><h3>gtk_tree_view_column_set_sort_order ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> gtk_tree_view_column_set_sort_order (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>, <em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkSortType" title="enum GtkSortType"><span class="type">GtkSortType</span></a> order</code></em>);</pre> <p>Changes the appearance of the sort indicator. </p> <p>This does not actually sort the model. Use <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-set-sort-column-id" title="gtk_tree_view_column_set_sort_column_id ()"><code class="function">gtk_tree_view_column_set_sort_column_id()</code></a> if you want automatic sorting support. This function is primarily for custom sorting behavior, and should be used in conjunction with <a class="link" href="GtkTreeSortable.html#gtk-tree-sortable-set-sort-column-id" title="gtk_tree_sortable_set_sort_column_id ()"><code class="function">gtk_tree_sortable_set_sort_column_id()</code></a> to do that. For custom models, the mechanism will vary. </p> <p>The sort indicator changes direction to indicate normal sort or reverse sort. Note that you must have the sort indicator enabled to see anything when calling this function; see <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-set-sort-indicator" title="gtk_tree_view_column_set_sort_indicator ()"><code class="function">gtk_tree_view_column_set_sort_indicator()</code></a>.</p> <div class="refsect3"> <a name="gtk-tree-view-column-set-sort-order.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_column</p></td> <td class="parameter_description"><p>a <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>order</p></td> <td class="parameter_description"><p>sort order that the sort indicator should indicate</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-get-sort-order"></a><h3>gtk_tree_view_column_get_sort_order ()</h3> <pre class="programlisting"><a class="link" href="gtk3-Standard-Enumerations.html#GtkSortType" title="enum GtkSortType"><span class="returnvalue">GtkSortType</span></a> gtk_tree_view_column_get_sort_order (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>);</pre> <p>Gets the value set by <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-set-sort-order" title="gtk_tree_view_column_set_sort_order ()"><code class="function">gtk_tree_view_column_set_sort_order()</code></a>.</p> <div class="refsect3"> <a name="gtk-tree-view-column-get-sort-order.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_column</p></td> <td class="parameter_description"><p>a <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="gtk-tree-view-column-get-sort-order.returns"></a><h4>Returns</h4> <p> the sort order the sort indicator is indicating</p> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-cell-set-cell-data"></a><h3>gtk_tree_view_column_cell_set_cell_data ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> gtk_tree_view_column_cell_set_cell_data (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>, <em class="parameter"><code><a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> *tree_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><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_expander</code></em>, <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_expanded</code></em>);</pre> <p>Sets the cell renderer based on the <em class="parameter"><code>tree_model</code></em> and <em class="parameter"><code>iter</code></em> . That is, for every attribute mapping in <em class="parameter"><code>tree_column</code></em> , it will get a value from the set column on the <em class="parameter"><code>iter</code></em> , and use that value to set the attribute on the cell renderer. This is used primarily by the <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.</p> <div class="refsect3"> <a name="gtk-tree-view-column-cell-set-cell-data.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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>tree_model</p></td> <td class="parameter_description"><p>The <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> to to get the cell renderers attributes from.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>iter</p></td> <td class="parameter_description"><p>The <a class="link" href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> to to get the cell renderer’s attributes from.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>is_expander</p></td> <td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, if the row has children</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>is_expanded</p></td> <td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, if the row has visible children</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-cell-get-size"></a><h3>gtk_tree_view_column_cell_get_size ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> gtk_tree_view_column_cell_get_size (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>, <em class="parameter"><code>const <a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *cell_area</code></em>, <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x_offset</code></em>, <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *y_offset</code></em>, <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *width</code></em>, <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *height</code></em>);</pre> <p>Obtains the width and height needed to render the column. This is used primarily by the <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.</p> <div class="refsect3"> <a name="gtk-tree-view-column-cell-get-size.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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>cell_area</p></td> <td class="parameter_description"><p>The area a cell in the column will be allocated, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></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>x_offset</p></td> <td class="parameter_description"><p>location to return x offset of a cell relative to <em class="parameter"><code>cell_area</code></em> , or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </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>y_offset</p></td> <td class="parameter_description"><p>location to return y offset of a cell relative to <em class="parameter"><code>cell_area</code></em> , or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </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>width</p></td> <td class="parameter_description"><p>location to return width needed to render a cell, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </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>height</p></td> <td class="parameter_description"><p>location to return height needed to render a cell, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </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-column-cell-get-position"></a><h3>gtk_tree_view_column_cell_get_position ()</h3> <pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_tree_view_column_cell_get_position (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>, <em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell_renderer</code></em>, <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x_offset</code></em>, <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *width</code></em>);</pre> <p>Obtains the horizontal position and size of a cell in a column. If the cell is not found in the column, <em class="parameter"><code>start_pos</code></em> and <em class="parameter"><code>width</code></em> are not changed and <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned.</p> <div class="refsect3"> <a name="gtk-tree-view-column-cell-get-position.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_column</p></td> <td class="parameter_description"><p>a <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>cell_renderer</p></td> <td class="parameter_description"><p>a <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>x_offset</p></td> <td class="parameter_description"><p>return location for the horizontal position of <em class="parameter"><code>cell</code></em> within <em class="parameter"><code>tree_column</code></em> , may be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </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>width</p></td> <td class="parameter_description"><p>return location for the width of <em class="parameter"><code>cell</code></em> , may be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </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-column-cell-get-position.returns"></a><h4>Returns</h4> <p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>cell</code></em> belongs to <em class="parameter"><code>tree_column</code></em> .</p> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-cell-is-visible"></a><h3>gtk_tree_view_column_cell_is_visible ()</h3> <pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_tree_view_column_cell_is_visible (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>);</pre> <p>Returns <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if any of the cells packed into the <em class="parameter"><code>tree_column</code></em> are visible. For this to be meaningful, you must first initialize the cells with <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-cell-set-cell-data" title="gtk_tree_view_column_cell_set_cell_data ()"><code class="function">gtk_tree_view_column_cell_set_cell_data()</code></a></p> <div class="refsect3"> <a name="gtk-tree-view-column-cell-is-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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="gtk-tree-view-column-cell-is-visible.returns"></a><h4>Returns</h4> <p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, if any of the cells packed into the <em class="parameter"><code>tree_column</code></em> are currently visible</p> </div> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-focus-cell"></a><h3>gtk_tree_view_column_focus_cell ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> gtk_tree_view_column_focus_cell (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_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 current keyboard focus to be at <em class="parameter"><code>cell</code></em> , if the column contains 2 or more editable and activatable cells.</p> <div class="refsect3"> <a name="gtk-tree-view-column-focus-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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a></p></td> <td class="parameter_annotations"> </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></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-column-queue-resize"></a><h3>gtk_tree_view_column_queue_resize ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> gtk_tree_view_column_queue_resize (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>);</pre> <p>Flags the column, and the cell renderers added to this column, to have their sizes renegotiated.</p> <div class="refsect3"> <a name="gtk-tree-view-column-queue-resize.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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <p class="since">Since: 2.8</p> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-get-tree-view"></a><h3>gtk_tree_view_column_get_tree_view ()</h3> <pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_tree_view_column_get_tree_view (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>);</pre> <p>Returns the <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> wherein <em class="parameter"><code>tree_column</code></em> has been inserted. If <em class="parameter"><code>column</code></em> is currently not inserted in any tree view, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned.</p> <div class="refsect3"> <a name="gtk-tree-view-column-get-tree-view.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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="gtk-tree-view-column-get-tree-view.returns"></a><h4>Returns</h4> <p>The tree view wherein <em class="parameter"><code>column</code></em> has been inserted if any, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> otherwise. </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> <p class="since">Since: 2.12</p> </div> <hr> <div class="refsect2"> <a name="gtk-tree-view-column-get-x-offset"></a><h3>gtk_tree_view_column_get_x_offset ()</h3> <pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_tree_view_column_get_x_offset (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>);</pre> <p>Returns the current X offset of <em class="parameter"><code>tree_column</code></em> in pixels.</p> <div class="refsect3"> <a name="gtk-tree-view-column-get-x-offset.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_column</p></td> <td class="parameter_description"><p>A <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="gtk-tree-view-column-get-x-offset.returns"></a><h4>Returns</h4> <p> The current X offset of <em class="parameter"><code>tree_column</code></em> .</p> </div> <p class="since">Since: <a class="link" href="api-index-3-2.html#api-index-3.2">3.2</a></p> </div> </div> <div class="refsect1"> <a name="GtkTreeViewColumn.other_details"></a><h2>Types and Values</h2> <div class="refsect2"> <a name="GtkTreeViewColumnSizing"></a><h3>enum GtkTreeViewColumnSizing</h3> <p>The sizing method the column uses to determine its width. Please note that <em class="parameter"><code>GTK_TREE_VIEW_COLUMN_AUTOSIZE</code></em> are inefficient for large views, and can make columns appear choppy.</p> <div class="refsect3"> <a name="GtkTreeViewColumnSizing.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-COLUMN-GROW-ONLY:CAPS"></a>GTK_TREE_VIEW_COLUMN_GROW_ONLY</p></td> <td class="enum_member_description"> <p>Columns only get bigger in reaction to changes in the model</p> </td> <td class="enum_member_annotations"> </td> </tr> <tr> <td class="enum_member_name"><p><a name="GTK-TREE-VIEW-COLUMN-AUTOSIZE:CAPS"></a>GTK_TREE_VIEW_COLUMN_AUTOSIZE</p></td> <td class="enum_member_description"> <p>Columns resize to be the optimal size everytime the model changes.</p> </td> <td class="enum_member_annotations"> </td> </tr> <tr> <td class="enum_member_name"><p><a name="GTK-TREE-VIEW-COLUMN-FIXED:CAPS"></a>GTK_TREE_VIEW_COLUMN_FIXED</p></td> <td class="enum_member_description"> <p>Columns are a fixed numbers of pixels wide.</p> </td> <td class="enum_member_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="GtkTreeViewColumn-struct"></a><h3>struct GtkTreeViewColumn</h3> <pre class="programlisting">struct GtkTreeViewColumn;</pre> </div> </div> <div class="refsect1"> <a name="GtkTreeViewColumn.property-details"></a><h2>Property Details</h2> <div class="refsect2"> <a name="GtkTreeViewColumn--alignment"></a><h3>The <code class="literal">“alignment”</code> property</h3> <pre class="programlisting"> “alignment” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a></pre> <p>X Alignment of the column header text or widget.</p> <p>Owner: GtkTreeViewColumn</p> <p>Flags: Read / Write</p> <p>Allowed values: [0,1]</p> <p>Default value: 0</p> </div> <hr> <div class="refsect2"> <a name="GtkTreeViewColumn--cell-area"></a><h3>The <code class="literal">“cell-area”</code> property</h3> <pre class="programlisting"> “cell-area” <a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a> *</pre> <p>The <a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a> used to layout cell renderers for this column.</p> <p>If no area is specified when creating the tree view column with <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-new-with-area" title="gtk_tree_view_column_new_with_area ()"><code class="function">gtk_tree_view_column_new_with_area()</code></a> a horizontally oriented <a class="link" href="GtkCellAreaBox.html" title="GtkCellAreaBox"><span class="type">GtkCellAreaBox</span></a> will be used.</p> <p>Owner: GtkTreeViewColumn</p> <p>Flags: Read / Write / Construct Only</p> <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="GtkTreeViewColumn--clickable"></a><h3>The <code class="literal">“clickable”</code> property</h3> <pre class="programlisting"> “clickable” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether the header can be clicked.</p> <p>Owner: GtkTreeViewColumn</p> <p>Flags: Read / Write</p> <p>Default value: FALSE</p> </div> <hr> <div class="refsect2"> <a name="GtkTreeViewColumn--expand"></a><h3>The <code class="literal">“expand”</code> property</h3> <pre class="programlisting"> “expand” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Column gets share of extra width allocated to the widget.</p> <p>Owner: GtkTreeViewColumn</p> <p>Flags: Read / Write</p> <p>Default value: FALSE</p> </div> <hr> <div class="refsect2"> <a name="GtkTreeViewColumn--fixed-width"></a><h3>The <code class="literal">“fixed-width”</code> property</h3> <pre class="programlisting"> “fixed-width” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> <p>Current fixed width of the column.</p> <p>Owner: GtkTreeViewColumn</p> <p>Flags: Read / Write</p> <p>Allowed values: >= -1</p> <p>Default value: -1</p> </div> <hr> <div class="refsect2"> <a name="GtkTreeViewColumn--max-width"></a><h3>The <code class="literal">“max-width”</code> property</h3> <pre class="programlisting"> “max-width” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> <p>Maximum allowed width of the column.</p> <p>Owner: GtkTreeViewColumn</p> <p>Flags: Read / Write</p> <p>Allowed values: >= -1</p> <p>Default value: -1</p> </div> <hr> <div class="refsect2"> <a name="GtkTreeViewColumn--min-width"></a><h3>The <code class="literal">“min-width”</code> property</h3> <pre class="programlisting"> “min-width” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> <p>Minimum allowed width of the column.</p> <p>Owner: GtkTreeViewColumn</p> <p>Flags: Read / Write</p> <p>Allowed values: >= -1</p> <p>Default value: -1</p> </div> <hr> <div class="refsect2"> <a name="GtkTreeViewColumn--reorderable"></a><h3>The <code class="literal">“reorderable”</code> property</h3> <pre class="programlisting"> “reorderable” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether the column can be reordered around the headers.</p> <p>Owner: GtkTreeViewColumn</p> <p>Flags: Read / Write</p> <p>Default value: FALSE</p> </div> <hr> <div class="refsect2"> <a name="GtkTreeViewColumn--resizable"></a><h3>The <code class="literal">“resizable”</code> property</h3> <pre class="programlisting"> “resizable” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Column is user-resizable.</p> <p>Owner: GtkTreeViewColumn</p> <p>Flags: Read / Write</p> <p>Default value: FALSE</p> </div> <hr> <div class="refsect2"> <a name="GtkTreeViewColumn--sizing"></a><h3>The <code class="literal">“sizing”</code> property</h3> <pre class="programlisting"> “sizing” <a class="link" href="GtkTreeViewColumn.html#GtkTreeViewColumnSizing" title="enum GtkTreeViewColumnSizing"><span class="type">GtkTreeViewColumnSizing</span></a></pre> <p>Resize mode of the column.</p> <p>Owner: GtkTreeViewColumn</p> <p>Flags: Read / Write</p> <p>Default value: GTK_TREE_VIEW_COLUMN_GROW_ONLY</p> </div> <hr> <div class="refsect2"> <a name="GtkTreeViewColumn--sort-column-id"></a><h3>The <code class="literal">“sort-column-id”</code> property</h3> <pre class="programlisting"> “sort-column-id” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> <p>Logical sort column ID this column sorts on when selected for sorting. Setting the sort column ID makes the column header clickable. Set to -1 to make the column unsortable.</p> <p>Owner: GtkTreeViewColumn</p> <p>Flags: Read / Write</p> <p>Allowed values: >= -1</p> <p>Default value: -1</p> <p class="since">Since: 2.18</p> </div> <hr> <div class="refsect2"> <a name="GtkTreeViewColumn--sort-indicator"></a><h3>The <code class="literal">“sort-indicator”</code> property</h3> <pre class="programlisting"> “sort-indicator” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether to show a sort indicator.</p> <p>Owner: GtkTreeViewColumn</p> <p>Flags: Read / Write</p> <p>Default value: FALSE</p> </div> <hr> <div class="refsect2"> <a name="GtkTreeViewColumn--sort-order"></a><h3>The <code class="literal">“sort-order”</code> property</h3> <pre class="programlisting"> “sort-order” <a class="link" href="gtk3-Standard-Enumerations.html#GtkSortType" title="enum GtkSortType"><span class="type">GtkSortType</span></a></pre> <p>Sort direction the sort indicator should indicate.</p> <p>Owner: GtkTreeViewColumn</p> <p>Flags: Read / Write</p> <p>Default value: GTK_SORT_ASCENDING</p> </div> <hr> <div class="refsect2"> <a name="GtkTreeViewColumn--spacing"></a><h3>The <code class="literal">“spacing”</code> property</h3> <pre class="programlisting"> “spacing” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> <p>Space which is inserted between cells.</p> <p>Owner: GtkTreeViewColumn</p> <p>Flags: Read / Write</p> <p>Allowed values: >= 0</p> <p>Default value: 0</p> </div> <hr> <div class="refsect2"> <a name="GtkTreeViewColumn--title"></a><h3>The <code class="literal">“title”</code> property</h3> <pre class="programlisting"> “title” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre> <p>Title to appear in column header.</p> <p>Owner: GtkTreeViewColumn</p> <p>Flags: Read / Write</p> <p>Default value: ""</p> </div> <hr> <div class="refsect2"> <a name="GtkTreeViewColumn--visible"></a><h3>The <code class="literal">“visible”</code> property</h3> <pre class="programlisting"> “visible” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether to display the column.</p> <p>Owner: GtkTreeViewColumn</p> <p>Flags: Read / Write</p> <p>Default value: TRUE</p> </div> <hr> <div class="refsect2"> <a name="GtkTreeViewColumn--widget"></a><h3>The <code class="literal">“widget”</code> property</h3> <pre class="programlisting"> “widget” <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *</pre> <p>Widget to put in column header button instead of column title.</p> <p>Owner: GtkTreeViewColumn</p> <p>Flags: Read / Write</p> </div> <hr> <div class="refsect2"> <a name="GtkTreeViewColumn--width"></a><h3>The <code class="literal">“width”</code> property</h3> <pre class="programlisting"> “width” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> <p>Current width of the column.</p> <p>Owner: GtkTreeViewColumn</p> <p>Flags: Read</p> <p>Allowed values: >= 0</p> <p>Default value: 0</p> </div> <hr> <div class="refsect2"> <a name="GtkTreeViewColumn--x-offset"></a><h3>The <code class="literal">“x-offset”</code> property</h3> <pre class="programlisting"> “x-offset” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> <p>Current X position of the column.</p> <p>Owner: GtkTreeViewColumn</p> <p>Flags: Read</p> <p>Allowed values: >= -2147483647</p> <p>Default value: 0</p> </div> </div> <div class="refsect1"> <a name="GtkTreeViewColumn.signal-details"></a><h2>Signal Details</h2> <div class="refsect2"> <a name="GtkTreeViewColumn-clicked"></a><h3>The <code class="literal">“clicked”</code> signal</h3> <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *treeviewcolumn, <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre> <p>Flags: <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p> </div> </div> <div class="refsect1"> <a name="GtkTreeViewColumn.see-also"></a><h2>See Also</h2> <p><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</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="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>, <a class="link" href="gtk3-GtkTreeView-drag-and-drop.html" title="GtkTreeView drag-and-drop">GtkTreeView drag-and-drop</a></p> </div> </div> <div class="footer"> <hr>Generated by GTK-Doc V1.32</div> </body> </html>