<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
               "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % local.common.attrib "xmlns:xi  CDATA  #FIXED 'http://www.w3.org/2003/XInclude'">
<!ENTITY version SYSTEM "version.xml">
<!ENTITY pi "&#960;">
<!ENTITY solidus "&#8260;">
]>
<refentry id="GtkTreeViewColumn">
<refmeta>
<refentrytitle role="top_of_page" id="GtkTreeViewColumn.top_of_page">GtkTreeViewColumn</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GTK4 Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GtkTreeViewColumn</refname>
<refpurpose>A visible column in a GtkTreeView widget</refpurpose>
</refnamediv>

<refsect1 id="GtkTreeViewColumn.functions" role="functions_proto">
<title role="functions_proto.title">Functions</title>
<informaltable pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="functions_proto_type" colwidth="150px"/>
<colspec colname="functions_proto_name"/>
<tbody>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><phrase role="c_punctuation">(</phrase><link linkend="GtkTreeCellDataFunc">*GtkTreeCellDataFunc</link><phrase role="c_punctuation">)</phrase>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="GtkTreeViewColumn"><returnvalue>GtkTreeViewColumn</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-new">gtk_tree_view_column_new</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="GtkTreeViewColumn"><returnvalue>GtkTreeViewColumn</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-new-with-area">gtk_tree_view_column_new_with_area</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="GtkTreeViewColumn"><returnvalue>GtkTreeViewColumn</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-new-with-attributes">gtk_tree_view_column_new_with_attributes</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-pack-start">gtk_tree_view_column_pack_start</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-pack-end">gtk_tree_view_column_pack_end</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-clear">gtk_tree_view_column_clear</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-add-attribute">gtk_tree_view_column_add_attribute</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-set-attributes">gtk_tree_view_column_set_attributes</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-set-cell-data-func">gtk_tree_view_column_set_cell_data_func</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-clear-attributes">gtk_tree_view_column_clear_attributes</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-set-spacing">gtk_tree_view_column_set_spacing</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gint"><returnvalue>gint</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-get-spacing">gtk_tree_view_column_get_spacing</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-set-visible">gtk_tree_view_column_set_visible</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-get-visible">gtk_tree_view_column_get_visible</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-set-resizable">gtk_tree_view_column_set_resizable</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-get-resizable">gtk_tree_view_column_get_resizable</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-set-sizing">gtk_tree_view_column_set_sizing</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="GtkTreeViewColumnSizing"><returnvalue>GtkTreeViewColumnSizing</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-get-sizing">gtk_tree_view_column_get_sizing</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gint"><returnvalue>gint</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-get-width">gtk_tree_view_column_get_width</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gint"><returnvalue>gint</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-get-fixed-width">gtk_tree_view_column_get_fixed_width</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-set-fixed-width">gtk_tree_view_column_set_fixed_width</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-set-min-width">gtk_tree_view_column_set_min_width</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gint"><returnvalue>gint</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-get-min-width">gtk_tree_view_column_get_min_width</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-set-max-width">gtk_tree_view_column_set_max_width</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gint"><returnvalue>gint</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-get-max-width">gtk_tree_view_column_get_max_width</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-clicked">gtk_tree_view_column_clicked</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-set-title">gtk_tree_view_column_set_title</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type">const <link linkend="gchar"><returnvalue>gchar</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-get-title">gtk_tree_view_column_get_title</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-set-expand">gtk_tree_view_column_set_expand</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-get-expand">gtk_tree_view_column_get_expand</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-set-clickable">gtk_tree_view_column_set_clickable</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-get-clickable">gtk_tree_view_column_get_clickable</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-set-widget">gtk_tree_view_column_set_widget</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-get-widget">gtk_tree_view_column_get_widget</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-get-button">gtk_tree_view_column_get_button</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-set-alignment">gtk_tree_view_column_set_alignment</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gfloat"><returnvalue>gfloat</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-get-alignment">gtk_tree_view_column_get_alignment</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-set-reorderable">gtk_tree_view_column_set_reorderable</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-get-reorderable">gtk_tree_view_column_get_reorderable</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-set-sort-column-id">gtk_tree_view_column_set_sort_column_id</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gint"><returnvalue>gint</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-get-sort-column-id">gtk_tree_view_column_get_sort_column_id</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-set-sort-indicator">gtk_tree_view_column_set_sort_indicator</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-get-sort-indicator">gtk_tree_view_column_get_sort_indicator</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-set-sort-order">gtk_tree_view_column_set_sort_order</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="GtkSortType"><returnvalue>GtkSortType</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-get-sort-order">gtk_tree_view_column_get_sort_order</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-cell-set-cell-data">gtk_tree_view_column_cell_set_cell_data</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-cell-get-size">gtk_tree_view_column_cell_get_size</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-cell-get-position">gtk_tree_view_column_cell_get_position</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-cell-is-visible">gtk_tree_view_column_cell_is_visible</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-focus-cell">gtk_tree_view_column_focus_cell</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-queue-resize">gtk_tree_view_column_queue_resize</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-get-tree-view">gtk_tree_view_column_get_tree_view</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gint"><returnvalue>gint</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-tree-view-column-get-x-offset">gtk_tree_view_column_get_x_offset</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkTreeViewColumn.properties" role="properties">
<title role="properties.title">Properties</title>
<informaltable frame="none">
<tgroup cols="3">
<colspec colname="properties_type" colwidth="150px"/>
<colspec colname="properties_name" colwidth="300px"/>
<colspec colname="properties_flags" colwidth="200px"/>
<tbody>
<row><entry role="property_type"><link linkend="gfloat"><type>gfloat</type></link></entry><entry role="property_name"><link linkend="GtkTreeViewColumn--alignment">alignment</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="GtkCellArea"><type>GtkCellArea</type></link>&#160;*</entry><entry role="property_name"><link linkend="GtkTreeViewColumn--cell-area">cell-area</link></entry><entry role="property_flags">Read / Write / Construct&#160;Only</entry></row>
<row><entry role="property_type"><link linkend="gboolean"><type>gboolean</type></link></entry><entry role="property_name"><link linkend="GtkTreeViewColumn--clickable">clickable</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="gboolean"><type>gboolean</type></link></entry><entry role="property_name"><link linkend="GtkTreeViewColumn--expand">expand</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="gint"><type>gint</type></link></entry><entry role="property_name"><link linkend="GtkTreeViewColumn--fixed-width">fixed-width</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="gint"><type>gint</type></link></entry><entry role="property_name"><link linkend="GtkTreeViewColumn--max-width">max-width</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="gint"><type>gint</type></link></entry><entry role="property_name"><link linkend="GtkTreeViewColumn--min-width">min-width</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="gboolean"><type>gboolean</type></link></entry><entry role="property_name"><link linkend="GtkTreeViewColumn--reorderable">reorderable</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="gboolean"><type>gboolean</type></link></entry><entry role="property_name"><link linkend="GtkTreeViewColumn--resizable">resizable</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="GtkTreeViewColumnSizing"><type>GtkTreeViewColumnSizing</type></link></entry><entry role="property_name"><link linkend="GtkTreeViewColumn--sizing">sizing</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="gint"><type>gint</type></link></entry><entry role="property_name"><link linkend="GtkTreeViewColumn--sort-column-id">sort-column-id</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="gboolean"><type>gboolean</type></link></entry><entry role="property_name"><link linkend="GtkTreeViewColumn--sort-indicator">sort-indicator</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="GtkSortType"><type>GtkSortType</type></link></entry><entry role="property_name"><link linkend="GtkTreeViewColumn--sort-order">sort-order</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="gint"><type>gint</type></link></entry><entry role="property_name"><link linkend="GtkTreeViewColumn--spacing">spacing</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="gchar"><type>gchar</type></link>&#160;*</entry><entry role="property_name"><link linkend="GtkTreeViewColumn--title">title</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="gboolean"><type>gboolean</type></link></entry><entry role="property_name"><link linkend="GtkTreeViewColumn--visible">visible</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="GtkWidget"><type>GtkWidget</type></link>&#160;*</entry><entry role="property_name"><link linkend="GtkTreeViewColumn--widget">widget</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="gint"><type>gint</type></link></entry><entry role="property_name"><link linkend="GtkTreeViewColumn--width">width</link></entry><entry role="property_flags">Read</entry></row>
<row><entry role="property_type"><link linkend="gint"><type>gint</type></link></entry><entry role="property_name"><link linkend="GtkTreeViewColumn--x-offset">x-offset</link></entry><entry role="property_flags">Read</entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkTreeViewColumn.signals" role="signal_proto">
<title role="signal_proto.title">Signals</title>
<informaltable frame="none">
<tgroup cols="3">
<colspec colname="signal_proto_type" colwidth="150px"/>
<colspec colname="signal_proto_name" colwidth="300px"/>
<colspec colname="signal_proto_flags" colwidth="200px"/>
<tbody>
<row><entry role="signal_type"><link linkend="void"><returnvalue>void</returnvalue></link></entry><entry role="signal_name"><link linkend="GtkTreeViewColumn-clicked">clicked</link></entry><entry role="signal_flags"><link linkend="G-SIGNAL-RUN-LAST:CAPS">Run Last</link></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkTreeViewColumn.other" role="other_proto">
<title role="other_proto.title">Types and Values</title>
<informaltable pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="other_proto_type" colwidth="150px"/>
<colspec colname="other_proto_name"/>
<tbody>
<row><entry role="datatype_keyword">enum</entry><entry role="function_name"><link linkend="GtkTreeViewColumnSizing">GtkTreeViewColumnSizing</link></entry></row>
<row><entry role="datatype_keyword"></entry><entry role="function_name"><link linkend="GtkTreeViewColumn-struct">GtkTreeViewColumn</link></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkTreeViewColumn.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<screen>    <link linkend="GObject">GObject</link>
    <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> <link linkend="GInitiallyUnowned">GInitiallyUnowned</link>
        <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> GtkTreeViewColumn
</screen>
</refsect1>
<refsect1 id="GtkTreeViewColumn.implemented-interfaces" role="impl_interfaces">
<title role="impl_interfaces.title">Implemented Interfaces</title>
<para>
GtkTreeViewColumn implements
 <link linkend="GtkCellLayout">GtkCellLayout</link> and  <link linkend="GtkBuildable">GtkBuildable</link>.</para>

</refsect1>

<refsect1 id="GtkTreeViewColumn.includes"><title>Includes</title><synopsis>#include &lt;gtk/gtk.h&gt;
</synopsis></refsect1>

<refsect1 id="GtkTreeViewColumn.description" role="desc">
<title role="desc.title">Description</title>
<para>The GtkTreeViewColumn object represents a visible column in a <link linkend="GtkTreeView"><type>GtkTreeView</type></link> 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.</para>
<para>Please refer to the <link linkend="TreeWidget">tree widget conceptual overview</link>
for an overview of all the objects and data types related to the tree widget and how
they work together.</para>

</refsect1>
<refsect1 id="GtkTreeViewColumn.functions_details" role="details">
<title role="details.title">Functions</title>
<refsect2 id="GtkTreeCellDataFunc" role="function">
<title>GtkTreeCellDataFunc&#160;()</title>
<indexterm zone="GtkTreeCellDataFunc"><primary>GtkTreeCellDataFunc</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
<phrase role="c_punctuation">(</phrase>*GtkTreeCellDataFunc<phrase role="c_punctuation">)</phrase> (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>,
                        <parameter><link linkend="GtkCellRenderer"><type>GtkCellRenderer</type></link> *cell</parameter>,
                        <parameter><link linkend="GtkTreeModel"><type>GtkTreeModel</type></link> *tree_model</parameter>,
                        <parameter><link linkend="GtkTreeIter"><type>GtkTreeIter</type></link> *iter</parameter>,
                        <parameter><link linkend="gpointer"><type>gpointer</type></link> data</parameter>);</programlisting>
<para>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 <parameter>tree_model</parameter>
, and render it to the “text” attribute of
“cell” by converting it to its written equivalent.  This is set by
calling <link linkend="gtk-tree-view-column-set-cell-data-func"><function>gtk_tree_view_column_set_cell_data_func()</function></link></para>
<refsect3 id="GtkTreeCellDataFunc.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>cell</para></entry>
<entry role="parameter_description"><para>The <link linkend="GtkCellRenderer"><type>GtkCellRenderer</type></link> that is being rendered by <parameter>tree_column</parameter>
</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>tree_model</para></entry>
<entry role="parameter_description"><para>The <link linkend="GtkTreeModel"><type>GtkTreeModel</type></link> being rendered</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>iter</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeIter"><type>GtkTreeIter</type></link> of the current row rendered</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>data</para></entry>
<entry role="parameter_description"><para>user data. </para></entry>
<entry role="parameter_annotations"><emphasis role="annotation">[<acronym>closure</acronym>]</emphasis></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-new" role="function">
<title>gtk_tree_view_column_new&#160;()</title>
<indexterm zone="gtk-tree-view-column-new"><primary>gtk_tree_view_column_new</primary></indexterm>
<programlisting language="C"><link linkend="GtkTreeViewColumn"><returnvalue>GtkTreeViewColumn</returnvalue></link>&#160;*
gtk_tree_view_column_new (<parameter><type>void</type></parameter>);</programlisting>
<para>Creates a new <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link>.</para>
<refsect3 id="gtk-tree-view-column-new.returns" role="returns">
<title>Returns</title>
<para> A newly created <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link>.</para>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-new-with-area" role="function">
<title>gtk_tree_view_column_new_with_area&#160;()</title>
<indexterm zone="gtk-tree-view-column-new-with-area"><primary>gtk_tree_view_column_new_with_area</primary></indexterm>
<programlisting language="C"><link linkend="GtkTreeViewColumn"><returnvalue>GtkTreeViewColumn</returnvalue></link>&#160;*
gtk_tree_view_column_new_with_area (<parameter><link linkend="GtkCellArea"><type>GtkCellArea</type></link> *area</parameter>);</programlisting>
<para>Creates a new <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> using <parameter>area</parameter>
 to render its cells.</para>
<refsect3 id="gtk-tree-view-column-new-with-area.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>area</para></entry>
<entry role="parameter_description"><para>the <link linkend="GtkCellArea"><type>GtkCellArea</type></link> that the newly created column should use to layout cells.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-tree-view-column-new-with-area.returns" role="returns">
<title>Returns</title>
<para> A newly created <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link>.</para>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-new-with-attributes" role="function">
<title>gtk_tree_view_column_new_with_attributes&#160;()</title>
<indexterm zone="gtk-tree-view-column-new-with-attributes"><primary>gtk_tree_view_column_new_with_attributes</primary></indexterm>
<programlisting language="C"><link linkend="GtkTreeViewColumn"><returnvalue>GtkTreeViewColumn</returnvalue></link>&#160;*
gtk_tree_view_column_new_with_attributes
                               (<parameter>const <link linkend="gchar"><type>gchar</type></link> *title</parameter>,
                                <parameter><link linkend="GtkCellRenderer"><type>GtkCellRenderer</type></link> *cell</parameter>,
                                <parameter>...</parameter>);</programlisting>
<para>Creates a new <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> with a number of default values.
This is equivalent to calling <link linkend="gtk-tree-view-column-set-title"><function>gtk_tree_view_column_set_title()</function></link>,
<link linkend="gtk-tree-view-column-pack-start"><function>gtk_tree_view_column_pack_start()</function></link>, and
<link linkend="gtk-tree-view-column-set-attributes"><function>gtk_tree_view_column_set_attributes()</function></link> on the newly created <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link>.</para>
<para>Here’s a simple example:</para>
<informalexample><programlisting role="example"><![CDATA[
 enum { TEXT_COLUMN, COLOR_COLUMN, N_COLUMNS };
 // ...
 {
   GtkTreeViewColumn *column;
   GtkCellRenderer   *renderer = gtk_cell_renderer_text_new ();
 
   column = gtk_tree_view_column_new_with_attributes ("Title",
                                                      renderer,
                                                      "text", TEXT_COLUMN,
                                                      "foreground", COLOR_COLUMN,
                                                      NULL);
 }
]]></programlisting></informalexample>
<para></para>
<refsect3 id="gtk-tree-view-column-new-with-attributes.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>title</para></entry>
<entry role="parameter_description"><para>The title to set the header to</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>cell</para></entry>
<entry role="parameter_description"><para>The <link linkend="GtkCellRenderer"><type>GtkCellRenderer</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>A <link linkend="NULL:CAPS"><literal>NULL</literal></link>-terminated list of attributes</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-tree-view-column-new-with-attributes.returns" role="returns">
<title>Returns</title>
<para> A newly created <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link>.</para>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-pack-start" role="function">
<title>gtk_tree_view_column_pack_start&#160;()</title>
<indexterm zone="gtk-tree-view-column-pack-start"><primary>gtk_tree_view_column_pack_start</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_tree_view_column_pack_start (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>,
                                 <parameter><link linkend="GtkCellRenderer"><type>GtkCellRenderer</type></link> *cell</parameter>,
                                 <parameter><link linkend="gboolean"><type>gboolean</type></link> expand</parameter>);</programlisting>
<para>Packs the <parameter>cell</parameter>
 into the beginning of the column. If <parameter>expand</parameter>
 is <link linkend="FALSE:CAPS"><literal>FALSE</literal></link>, then
the <parameter>cell</parameter>
 is allocated no more space than it needs. Any unused space is divided
evenly between cells for which <parameter>expand</parameter>
 is <link linkend="TRUE:CAPS"><literal>TRUE</literal></link>.</para>
<refsect3 id="gtk-tree-view-column-pack-start.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>cell</para></entry>
<entry role="parameter_description"><para>The <link linkend="GtkCellRenderer"><type>GtkCellRenderer</type></link>. </para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>expand</para></entry>
<entry role="parameter_description"><para><link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if <parameter>cell</parameter>
is to be given extra space allocated to <parameter>tree_column</parameter>
.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-pack-end" role="function">
<title>gtk_tree_view_column_pack_end&#160;()</title>
<indexterm zone="gtk-tree-view-column-pack-end"><primary>gtk_tree_view_column_pack_end</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_tree_view_column_pack_end (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>,
                               <parameter><link linkend="GtkCellRenderer"><type>GtkCellRenderer</type></link> *cell</parameter>,
                               <parameter><link linkend="gboolean"><type>gboolean</type></link> expand</parameter>);</programlisting>
<para>Adds the <parameter>cell</parameter>
 to end of the column. If <parameter>expand</parameter>
 is <link linkend="FALSE:CAPS"><literal>FALSE</literal></link>, then the <parameter>cell</parameter>

is allocated no more space than it needs. Any unused space is divided
evenly between cells for which <parameter>expand</parameter>
 is <link linkend="TRUE:CAPS"><literal>TRUE</literal></link>.</para>
<refsect3 id="gtk-tree-view-column-pack-end.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>cell</para></entry>
<entry role="parameter_description"><para>The <link linkend="GtkCellRenderer"><type>GtkCellRenderer</type></link>. </para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>expand</para></entry>
<entry role="parameter_description"><para><link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if <parameter>cell</parameter>
is to be given extra space allocated to <parameter>tree_column</parameter>
.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-clear" role="function">
<title>gtk_tree_view_column_clear&#160;()</title>
<indexterm zone="gtk-tree-view-column-clear"><primary>gtk_tree_view_column_clear</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_tree_view_column_clear (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>);</programlisting>
<para>Unsets all the mappings on all renderers on the <parameter>tree_column</parameter>
.</para>
<refsect3 id="gtk-tree-view-column-clear.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-add-attribute" role="function">
<title>gtk_tree_view_column_add_attribute&#160;()</title>
<indexterm zone="gtk-tree-view-column-add-attribute"><primary>gtk_tree_view_column_add_attribute</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_tree_view_column_add_attribute (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>,
                                    <parameter><link linkend="GtkCellRenderer"><type>GtkCellRenderer</type></link> *cell_renderer</parameter>,
                                    <parameter>const <link linkend="gchar"><type>gchar</type></link> *attribute</parameter>,
                                    <parameter><link linkend="gint"><type>gint</type></link> column</parameter>);</programlisting>
<para>Adds an attribute mapping to the list in <parameter>tree_column</parameter>
.  The <parameter>column</parameter>
 is the
column of the model to get a value from, and the <parameter>attribute</parameter>
 is the
parameter on <parameter>cell_renderer</parameter>
 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 <link linkend="GtkCellRendererText"><type>GtkCellRendererText</type></link> get its values from
column 2.</para>
<refsect3 id="gtk-tree-view-column-add-attribute.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>cell_renderer</para></entry>
<entry role="parameter_description"><para>the <link linkend="GtkCellRenderer"><type>GtkCellRenderer</type></link> to set attributes on</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>attribute</para></entry>
<entry role="parameter_description"><para>An attribute on the renderer</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>column</para></entry>
<entry role="parameter_description"><para>The column position on the model to get the attribute from.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-set-attributes" role="function">
<title>gtk_tree_view_column_set_attributes&#160;()</title>
<indexterm zone="gtk-tree-view-column-set-attributes"><primary>gtk_tree_view_column_set_attributes</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_tree_view_column_set_attributes (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>,
                                     <parameter><link linkend="GtkCellRenderer"><type>GtkCellRenderer</type></link> *cell_renderer</parameter>,
                                     <parameter>...</parameter>);</programlisting>
<para>Sets the attributes in the list as the attributes of <parameter>tree_column</parameter>
.
The attributes should be in attribute/column order, as in
<link linkend="gtk-tree-view-column-add-attribute"><function>gtk_tree_view_column_add_attribute()</function></link>. All existing attributes
are removed, and replaced with the new attributes.</para>
<refsect3 id="gtk-tree-view-column-set-attributes.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>cell_renderer</para></entry>
<entry role="parameter_description"><para>the <link linkend="GtkCellRenderer"><type>GtkCellRenderer</type></link> we’re setting the attributes of</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>A <link linkend="NULL:CAPS"><literal>NULL</literal></link>-terminated list of attributes</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-set-cell-data-func" role="function">
<title>gtk_tree_view_column_set_cell_data_func&#160;()</title>
<indexterm zone="gtk-tree-view-column-set-cell-data-func"><primary>gtk_tree_view_column_set_cell_data_func</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_tree_view_column_set_cell_data_func
                               (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>,
                                <parameter><link linkend="GtkCellRenderer"><type>GtkCellRenderer</type></link> *cell_renderer</parameter>,
                                <parameter><link linkend="GtkTreeCellDataFunc"><type>GtkTreeCellDataFunc</type></link> func</parameter>,
                                <parameter><link linkend="gpointer"><type>gpointer</type></link> func_data</parameter>,
                                <parameter><link linkend="GDestroyNotify"><type>GDestroyNotify</type></link> destroy</parameter>);</programlisting>
<para>Sets the <link linkend="GtkTreeCellDataFunc"><type>GtkTreeCellDataFunc</type></link> 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 <parameter>tree_column</parameter>
's
cell renderer as appropriate.  <parameter>func</parameter>
 may be <link linkend="NULL:CAPS"><literal>NULL</literal></link> to remove an
older one.</para>
<refsect3 id="gtk-tree-view-column-set-cell-data-func.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>cell_renderer</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkCellRenderer"><type>GtkCellRenderer</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>func</para></entry>
<entry role="parameter_description"><para>The <link linkend="GtkTreeCellDataFunc"><type>GtkTreeCellDataFunc</type></link> to use. </para></entry>
<entry role="parameter_annotations"><emphasis role="annotation">[<acronym>allow-none</acronym>]</emphasis></entry></row>
<row><entry role="parameter_name"><para>func_data</para></entry>
<entry role="parameter_description"><para>The user data for <parameter>func</parameter>
. </para></entry>
<entry role="parameter_annotations"><emphasis role="annotation">[<acronym>closure</acronym>]</emphasis></entry></row>
<row><entry role="parameter_name"><para>destroy</para></entry>
<entry role="parameter_description"><para>The destroy notification for <parameter>func_data</parameter>
</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-clear-attributes" role="function">
<title>gtk_tree_view_column_clear_attributes&#160;()</title>
<indexterm zone="gtk-tree-view-column-clear-attributes"><primary>gtk_tree_view_column_clear_attributes</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_tree_view_column_clear_attributes (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>,
                                       <parameter><link linkend="GtkCellRenderer"><type>GtkCellRenderer</type></link> *cell_renderer</parameter>);</programlisting>
<para>Clears all existing attributes previously set with
<link linkend="gtk-tree-view-column-set-attributes"><function>gtk_tree_view_column_set_attributes()</function></link>.</para>
<refsect3 id="gtk-tree-view-column-clear-attributes.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>cell_renderer</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkCellRenderer"><type>GtkCellRenderer</type></link> to clear the attribute mapping on.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-set-spacing" role="function">
<title>gtk_tree_view_column_set_spacing&#160;()</title>
<indexterm zone="gtk-tree-view-column-set-spacing"><primary>gtk_tree_view_column_set_spacing</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_tree_view_column_set_spacing (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>,
                                  <parameter><link linkend="gint"><type>gint</type></link> spacing</parameter>);</programlisting>
<para>Sets the spacing field of <parameter>tree_column</parameter>
, which is the number of pixels to
place between cell renderers packed into it.</para>
<refsect3 id="gtk-tree-view-column-set-spacing.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>spacing</para></entry>
<entry role="parameter_description"><para>distance between cell renderers in pixels.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-get-spacing" role="function">
<title>gtk_tree_view_column_get_spacing&#160;()</title>
<indexterm zone="gtk-tree-view-column-get-spacing"><primary>gtk_tree_view_column_get_spacing</primary></indexterm>
<programlisting language="C"><link linkend="gint"><returnvalue>gint</returnvalue></link>
gtk_tree_view_column_get_spacing (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>);</programlisting>
<para>Returns the spacing of <parameter>tree_column</parameter>
.</para>
<refsect3 id="gtk-tree-view-column-get-spacing.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-tree-view-column-get-spacing.returns" role="returns">
<title>Returns</title>
<para> the spacing of <parameter>tree_column</parameter>
.</para>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-set-visible" role="function">
<title>gtk_tree_view_column_set_visible&#160;()</title>
<indexterm zone="gtk-tree-view-column-set-visible"><primary>gtk_tree_view_column_set_visible</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_tree_view_column_set_visible (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>,
                                  <parameter><link linkend="gboolean"><type>gboolean</type></link> visible</parameter>);</programlisting>
<para>Sets the visibility of <parameter>tree_column</parameter>
.</para>
<refsect3 id="gtk-tree-view-column-set-visible.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>visible</para></entry>
<entry role="parameter_description"><para><link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the <parameter>tree_column</parameter>
is visible.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-get-visible" role="function">
<title>gtk_tree_view_column_get_visible&#160;()</title>
<indexterm zone="gtk-tree-view-column-get-visible"><primary>gtk_tree_view_column_get_visible</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
gtk_tree_view_column_get_visible (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>);</programlisting>
<para>Returns <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if <parameter>tree_column</parameter>
 is visible.</para>
<refsect3 id="gtk-tree-view-column-get-visible.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-tree-view-column-get-visible.returns" role="returns">
<title>Returns</title>
<para> whether the column is visible or not.  If it is visible, then
the tree will show the column.</para>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-set-resizable" role="function">
<title>gtk_tree_view_column_set_resizable&#160;()</title>
<indexterm zone="gtk-tree-view-column-set-resizable"><primary>gtk_tree_view_column_set_resizable</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_tree_view_column_set_resizable (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>,
                                    <parameter><link linkend="gboolean"><type>gboolean</type></link> resizable</parameter>);</programlisting>
<para>If <parameter>resizable</parameter>
 is <link linkend="TRUE:CAPS"><literal>TRUE</literal></link>, then the user can explicitly resize the column by
grabbing the outer edge of the column button.  If resizable is <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> and
sizing mode of the column is <link linkend="GTK-TREE-VIEW-COLUMN-AUTOSIZE:CAPS"><type>GTK_TREE_VIEW_COLUMN_AUTOSIZE</type></link>, then the sizing
mode is changed to <link linkend="GTK-TREE-VIEW-COLUMN-GROW-ONLY:CAPS"><type>GTK_TREE_VIEW_COLUMN_GROW_ONLY</type></link>.</para>
<refsect3 id="gtk-tree-view-column-set-resizable.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>resizable</para></entry>
<entry role="parameter_description"><para><link linkend="TRUE:CAPS"><literal>TRUE</literal></link>, if the column can be resized</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-get-resizable" role="function">
<title>gtk_tree_view_column_get_resizable&#160;()</title>
<indexterm zone="gtk-tree-view-column-get-resizable"><primary>gtk_tree_view_column_get_resizable</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
gtk_tree_view_column_get_resizable (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>);</programlisting>
<para>Returns <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the <parameter>tree_column</parameter>
 can be resized by the end user.</para>
<refsect3 id="gtk-tree-view-column-get-resizable.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-tree-view-column-get-resizable.returns" role="returns">
<title>Returns</title>
<para> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link>, if the <parameter>tree_column</parameter>
can be resized.</para>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-set-sizing" role="function">
<title>gtk_tree_view_column_set_sizing&#160;()</title>
<indexterm zone="gtk-tree-view-column-set-sizing"><primary>gtk_tree_view_column_set_sizing</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_tree_view_column_set_sizing (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>,
                                 <parameter><link linkend="GtkTreeViewColumnSizing"><type>GtkTreeViewColumnSizing</type></link> type</parameter>);</programlisting>
<para>Sets the growth behavior of <parameter>tree_column</parameter>
 to <parameter>type</parameter>
.</para>
<refsect3 id="gtk-tree-view-column-set-sizing.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>type</para></entry>
<entry role="parameter_description"><para>The <link linkend="GtkTreeViewColumnSizing"><type>GtkTreeViewColumnSizing</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-get-sizing" role="function">
<title>gtk_tree_view_column_get_sizing&#160;()</title>
<indexterm zone="gtk-tree-view-column-get-sizing"><primary>gtk_tree_view_column_get_sizing</primary></indexterm>
<programlisting language="C"><link linkend="GtkTreeViewColumnSizing"><returnvalue>GtkTreeViewColumnSizing</returnvalue></link>
gtk_tree_view_column_get_sizing (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>);</programlisting>
<para>Returns the current type of <parameter>tree_column</parameter>
.</para>
<refsect3 id="gtk-tree-view-column-get-sizing.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-tree-view-column-get-sizing.returns" role="returns">
<title>Returns</title>
<para> The type of <parameter>tree_column</parameter>
.</para>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-get-width" role="function">
<title>gtk_tree_view_column_get_width&#160;()</title>
<indexterm zone="gtk-tree-view-column-get-width"><primary>gtk_tree_view_column_get_width</primary></indexterm>
<programlisting language="C"><link linkend="gint"><returnvalue>gint</returnvalue></link>
gtk_tree_view_column_get_width (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>);</programlisting>
<para>Returns the current size of <parameter>tree_column</parameter>
 in pixels.</para>
<refsect3 id="gtk-tree-view-column-get-width.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-tree-view-column-get-width.returns" role="returns">
<title>Returns</title>
<para> The current width of <parameter>tree_column</parameter>
.</para>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-get-fixed-width" role="function">
<title>gtk_tree_view_column_get_fixed_width&#160;()</title>
<indexterm zone="gtk-tree-view-column-get-fixed-width"><primary>gtk_tree_view_column_get_fixed_width</primary></indexterm>
<programlisting language="C"><link linkend="gint"><returnvalue>gint</returnvalue></link>
gtk_tree_view_column_get_fixed_width (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>);</programlisting>
<para>Gets the fixed width of the column.  This may not be the actual displayed
width of the column; for that, use <link linkend="gtk-tree-view-column-get-width"><function>gtk_tree_view_column_get_width()</function></link>.</para>
<refsect3 id="gtk-tree-view-column-get-fixed-width.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-tree-view-column-get-fixed-width.returns" role="returns">
<title>Returns</title>
<para> The fixed width of the column.</para>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-set-fixed-width" role="function">
<title>gtk_tree_view_column_set_fixed_width&#160;()</title>
<indexterm zone="gtk-tree-view-column-set-fixed-width"><primary>gtk_tree_view_column_set_fixed_width</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_tree_view_column_set_fixed_width (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>,
                                      <parameter><link linkend="gint"><type>gint</type></link> fixed_width</parameter>);</programlisting>
<para>If <parameter>fixed_width</parameter>
 is not -1, sets the fixed width of <parameter>tree_column</parameter>
; otherwise
unsets it.  The effective value of <parameter>fixed_width</parameter>
 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
<link linkend="GTK-TREE-VIEW-COLUMN-GROW-ONLY:CAPS"><type>GTK_TREE_VIEW_COLUMN_GROW_ONLY</type></link> or <link linkend="GTK-TREE-VIEW-COLUMN-AUTOSIZE:CAPS"><type>GTK_TREE_VIEW_COLUMN_AUTOSIZE</type></link>, setting
a fixed width overrides the automatically calculated width.  Note that
<parameter>fixed_width</parameter>
 is only a hint to GTK+; the width actually allocated to the
column may be greater or less than requested.</para>
<para>Along with “expand”, the “fixed-width” property changes when the column is
resized by the user.</para>
<refsect3 id="gtk-tree-view-column-set-fixed-width.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>fixed_width</para></entry>
<entry role="parameter_description"><para>The new fixed width, in pixels, or -1.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-set-min-width" role="function">
<title>gtk_tree_view_column_set_min_width&#160;()</title>
<indexterm zone="gtk-tree-view-column-set-min-width"><primary>gtk_tree_view_column_set_min_width</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_tree_view_column_set_min_width (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>,
                                    <parameter><link linkend="gint"><type>gint</type></link> min_width</parameter>);</programlisting>
<para>Sets the minimum width of the <parameter>tree_column</parameter>
.  If <parameter>min_width</parameter>
 is -1, then the
minimum width is unset.</para>
<refsect3 id="gtk-tree-view-column-set-min-width.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>min_width</para></entry>
<entry role="parameter_description"><para>The minimum width of the column in pixels, or -1.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-get-min-width" role="function">
<title>gtk_tree_view_column_get_min_width&#160;()</title>
<indexterm zone="gtk-tree-view-column-get-min-width"><primary>gtk_tree_view_column_get_min_width</primary></indexterm>
<programlisting language="C"><link linkend="gint"><returnvalue>gint</returnvalue></link>
gtk_tree_view_column_get_min_width (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>);</programlisting>
<para>Returns the minimum width in pixels of the <parameter>tree_column</parameter>
, or -1 if no minimum
width is set.</para>
<refsect3 id="gtk-tree-view-column-get-min-width.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-tree-view-column-get-min-width.returns" role="returns">
<title>Returns</title>
<para> The minimum width of the <parameter>tree_column</parameter>
.</para>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-set-max-width" role="function">
<title>gtk_tree_view_column_set_max_width&#160;()</title>
<indexterm zone="gtk-tree-view-column-set-max-width"><primary>gtk_tree_view_column_set_max_width</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_tree_view_column_set_max_width (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>,
                                    <parameter><link linkend="gint"><type>gint</type></link> max_width</parameter>);</programlisting>
<para>Sets the maximum width of the <parameter>tree_column</parameter>
.  If <parameter>max_width</parameter>
 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.</para>
<refsect3 id="gtk-tree-view-column-set-max-width.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>max_width</para></entry>
<entry role="parameter_description"><para>The maximum width of the column in pixels, or -1.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-get-max-width" role="function">
<title>gtk_tree_view_column_get_max_width&#160;()</title>
<indexterm zone="gtk-tree-view-column-get-max-width"><primary>gtk_tree_view_column_get_max_width</primary></indexterm>
<programlisting language="C"><link linkend="gint"><returnvalue>gint</returnvalue></link>
gtk_tree_view_column_get_max_width (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>);</programlisting>
<para>Returns the maximum width in pixels of the <parameter>tree_column</parameter>
, or -1 if no maximum
width is set.</para>
<refsect3 id="gtk-tree-view-column-get-max-width.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-tree-view-column-get-max-width.returns" role="returns">
<title>Returns</title>
<para> The maximum width of the <parameter>tree_column</parameter>
.</para>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-clicked" role="function">
<title>gtk_tree_view_column_clicked&#160;()</title>
<indexterm zone="gtk-tree-view-column-clicked"><primary>gtk_tree_view_column_clicked</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_tree_view_column_clicked (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>);</programlisting>
<para>Emits the “clicked” signal on the column.  This function will only work if
<parameter>tree_column</parameter>
 is clickable.</para>
<refsect3 id="gtk-tree-view-column-clicked.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-set-title" role="function">
<title>gtk_tree_view_column_set_title&#160;()</title>
<indexterm zone="gtk-tree-view-column-set-title"><primary>gtk_tree_view_column_set_title</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_tree_view_column_set_title (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>,
                                <parameter>const <link linkend="gchar"><type>gchar</type></link> *title</parameter>);</programlisting>
<para>Sets the title of the <parameter>tree_column</parameter>
.  If a custom widget has been set, then
this value is ignored.</para>
<refsect3 id="gtk-tree-view-column-set-title.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>title</para></entry>
<entry role="parameter_description"><para>The title of the <parameter>tree_column</parameter>
.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-get-title" role="function">
<title>gtk_tree_view_column_get_title&#160;()</title>
<indexterm zone="gtk-tree-view-column-get-title"><primary>gtk_tree_view_column_get_title</primary></indexterm>
<programlisting language="C">const <link linkend="gchar"><returnvalue>gchar</returnvalue></link>&#160;*
gtk_tree_view_column_get_title (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>);</programlisting>
<para>Returns the title of the widget.</para>
<refsect3 id="gtk-tree-view-column-get-title.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-tree-view-column-get-title.returns" role="returns">
<title>Returns</title>
<para> the title of the column. This string should not be
modified or freed.</para>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-set-expand" role="function">
<title>gtk_tree_view_column_set_expand&#160;()</title>
<indexterm zone="gtk-tree-view-column-set-expand"><primary>gtk_tree_view_column_set_expand</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_tree_view_column_set_expand (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>,
                                 <parameter><link linkend="gboolean"><type>gboolean</type></link> expand</parameter>);</programlisting>
<para>Sets the column to take available extra space.  This space is shared equally
amongst all columns that have the expand set to <link linkend="TRUE:CAPS"><literal>TRUE</literal></link>.  If no column has this
option set, then the last column gets all extra space.  By default, every
column is created with this <link linkend="FALSE:CAPS"><literal>FALSE</literal></link>.</para>
<para>Along with “fixed-width”, the “expand” property changes when the column is
resized by the user.</para>
<refsect3 id="gtk-tree-view-column-set-expand.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>expand</para></entry>
<entry role="parameter_description"><para><link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the column should expand to fill available space.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-get-expand" role="function">
<title>gtk_tree_view_column_get_expand&#160;()</title>
<indexterm zone="gtk-tree-view-column-get-expand"><primary>gtk_tree_view_column_get_expand</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
gtk_tree_view_column_get_expand (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>);</programlisting>
<para>Returns <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the column expands to fill available space.</para>
<refsect3 id="gtk-tree-view-column-get-expand.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-tree-view-column-get-expand.returns" role="returns">
<title>Returns</title>
<para> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the column expands to fill available space.</para>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-set-clickable" role="function">
<title>gtk_tree_view_column_set_clickable&#160;()</title>
<indexterm zone="gtk-tree-view-column-set-clickable"><primary>gtk_tree_view_column_set_clickable</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_tree_view_column_set_clickable (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>,
                                    <parameter><link linkend="gboolean"><type>gboolean</type></link> clickable</parameter>);</programlisting>
<para>Sets the header to be active if <parameter>clickable</parameter>
 is <link linkend="TRUE:CAPS"><literal>TRUE</literal></link>.  When the header is
active, then it can take keyboard focus, and can be clicked.</para>
<refsect3 id="gtk-tree-view-column-set-clickable.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>clickable</para></entry>
<entry role="parameter_description"><para><link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the header is active.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-get-clickable" role="function">
<title>gtk_tree_view_column_get_clickable&#160;()</title>
<indexterm zone="gtk-tree-view-column-get-clickable"><primary>gtk_tree_view_column_get_clickable</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
gtk_tree_view_column_get_clickable (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>);</programlisting>
<para>Returns <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the user can click on the header for the column.</para>
<refsect3 id="gtk-tree-view-column-get-clickable.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-tree-view-column-get-clickable.returns" role="returns">
<title>Returns</title>
<para> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if user can click the column header.</para>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-set-widget" role="function">
<title>gtk_tree_view_column_set_widget&#160;()</title>
<indexterm zone="gtk-tree-view-column-set-widget"><primary>gtk_tree_view_column_set_widget</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_tree_view_column_set_widget (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>,
                                 <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>);</programlisting>
<para>Sets the widget in the header to be <parameter>widget</parameter>
.  If widget is <link linkend="NULL:CAPS"><literal>NULL</literal></link>, then the
header button is set with a <link linkend="GtkLabel"><type>GtkLabel</type></link> set to the title of <parameter>tree_column</parameter>
.</para>
<refsect3 id="gtk-tree-view-column-set-widget.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>widget</para></entry>
<entry role="parameter_description"><para>A child <link linkend="GtkWidget"><type>GtkWidget</type></link>, or <link linkend="NULL:CAPS"><literal>NULL</literal></link>. </para></entry>
<entry role="parameter_annotations"><emphasis role="annotation">[<acronym>allow-none</acronym>]</emphasis></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-get-widget" role="function">
<title>gtk_tree_view_column_get_widget&#160;()</title>
<indexterm zone="gtk-tree-view-column-get-widget"><primary>gtk_tree_view_column_get_widget</primary></indexterm>
<programlisting language="C"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link>&#160;*
gtk_tree_view_column_get_widget (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>);</programlisting>
<para>Returns the <link linkend="GtkWidget"><type>GtkWidget</type></link> in the button on the column header.
If a custom widget has not been set then <link linkend="NULL:CAPS"><literal>NULL</literal></link> is returned.</para>
<refsect3 id="gtk-tree-view-column-get-widget.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-tree-view-column-get-widget.returns" role="returns">
<title>Returns</title>
<para>The <link linkend="GtkWidget"><type>GtkWidget</type></link> in the column
header, or <link linkend="NULL:CAPS"><literal>NULL</literal></link>. </para>
<para><emphasis role="annotation">[<acronym>nullable</acronym>][<acronym>transfer none</acronym>]</emphasis></para>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-get-button" role="function">
<title>gtk_tree_view_column_get_button&#160;()</title>
<indexterm zone="gtk-tree-view-column-get-button"><primary>gtk_tree_view_column_get_button</primary></indexterm>
<programlisting language="C"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link>&#160;*
gtk_tree_view_column_get_button (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>);</programlisting>
<para>Returns the button used in the treeview column header</para>
<refsect3 id="gtk-tree-view-column-get-button.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-tree-view-column-get-button.returns" role="returns">
<title>Returns</title>
<para>The button for the column header. </para>
<para><emphasis role="annotation">[<acronym>transfer none</acronym>]</emphasis></para>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-set-alignment" role="function">
<title>gtk_tree_view_column_set_alignment&#160;()</title>
<indexterm zone="gtk-tree-view-column-set-alignment"><primary>gtk_tree_view_column_set_alignment</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_tree_view_column_set_alignment (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>,
                                    <parameter><link linkend="gfloat"><type>gfloat</type></link> xalign</parameter>);</programlisting>
<para>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.</para>
<refsect3 id="gtk-tree-view-column-set-alignment.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>xalign</para></entry>
<entry role="parameter_description"><para>The alignment, which is between [0.0 and 1.0] inclusive.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-get-alignment" role="function">
<title>gtk_tree_view_column_get_alignment&#160;()</title>
<indexterm zone="gtk-tree-view-column-get-alignment"><primary>gtk_tree_view_column_get_alignment</primary></indexterm>
<programlisting language="C"><link linkend="gfloat"><returnvalue>gfloat</returnvalue></link>
gtk_tree_view_column_get_alignment (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>);</programlisting>
<para>Returns the current x alignment of <parameter>tree_column</parameter>
.  This value can range
between 0.0 and 1.0.</para>
<refsect3 id="gtk-tree-view-column-get-alignment.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-tree-view-column-get-alignment.returns" role="returns">
<title>Returns</title>
<para> The current alignent of <parameter>tree_column</parameter>
.</para>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-set-reorderable" role="function">
<title>gtk_tree_view_column_set_reorderable&#160;()</title>
<indexterm zone="gtk-tree-view-column-set-reorderable"><primary>gtk_tree_view_column_set_reorderable</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_tree_view_column_set_reorderable (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>,
                                      <parameter><link linkend="gboolean"><type>gboolean</type></link> reorderable</parameter>);</programlisting>
<para>If <parameter>reorderable</parameter>
 is <link linkend="TRUE:CAPS"><literal>TRUE</literal></link>, then the column can be reordered by the end user
dragging the header.</para>
<refsect3 id="gtk-tree-view-column-set-reorderable.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>reorderable</para></entry>
<entry role="parameter_description"><para><link linkend="TRUE:CAPS"><literal>TRUE</literal></link>, if the column can be reordered.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-get-reorderable" role="function">
<title>gtk_tree_view_column_get_reorderable&#160;()</title>
<indexterm zone="gtk-tree-view-column-get-reorderable"><primary>gtk_tree_view_column_get_reorderable</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
gtk_tree_view_column_get_reorderable (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>);</programlisting>
<para>Returns <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the <parameter>tree_column</parameter>
 can be reordered by the user.</para>
<refsect3 id="gtk-tree-view-column-get-reorderable.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-tree-view-column-get-reorderable.returns" role="returns">
<title>Returns</title>
<para> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the <parameter>tree_column</parameter>
can be reordered by the user.</para>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-set-sort-column-id" role="function">
<title>gtk_tree_view_column_set_sort_column_id&#160;()</title>
<indexterm zone="gtk-tree-view-column-set-sort-column-id"><primary>gtk_tree_view_column_set_sort_column_id</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_tree_view_column_set_sort_column_id
                               (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>,
                                <parameter><link linkend="gint"><type>gint</type></link> sort_column_id</parameter>);</programlisting>
<para>Sets the logical <parameter>sort_column_id</parameter>
 that this column sorts on when this column 
is selected for sorting.  Doing so makes the column header clickable.</para>
<refsect3 id="gtk-tree-view-column-set-sort-column-id.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>sort_column_id</para></entry>
<entry role="parameter_description"><para>The <parameter>sort_column_id</parameter>
of the model to sort on.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-get-sort-column-id" role="function">
<title>gtk_tree_view_column_get_sort_column_id&#160;()</title>
<indexterm zone="gtk-tree-view-column-get-sort-column-id"><primary>gtk_tree_view_column_get_sort_column_id</primary></indexterm>
<programlisting language="C"><link linkend="gint"><returnvalue>gint</returnvalue></link>
gtk_tree_view_column_get_sort_column_id
                               (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>);</programlisting>
<para>Gets the logical <parameter>sort_column_id</parameter>
 that the model sorts on when this
column is selected for sorting.
See <link linkend="gtk-tree-view-column-set-sort-column-id"><function>gtk_tree_view_column_set_sort_column_id()</function></link>.</para>
<refsect3 id="gtk-tree-view-column-get-sort-column-id.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-tree-view-column-get-sort-column-id.returns" role="returns">
<title>Returns</title>
<para> the current <parameter>sort_column_id</parameter>
for this column, or -1 if
this column can’t be used for sorting.</para>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-set-sort-indicator" role="function">
<title>gtk_tree_view_column_set_sort_indicator&#160;()</title>
<indexterm zone="gtk-tree-view-column-set-sort-indicator"><primary>gtk_tree_view_column_set_sort_indicator</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_tree_view_column_set_sort_indicator
                               (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>,
                                <parameter><link linkend="gboolean"><type>gboolean</type></link> setting</parameter>);</programlisting>
<para>Call this function with a <parameter>setting</parameter>
 of <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> to display an arrow in
the header button indicating the column is sorted. Call
<link linkend="gtk-tree-view-column-set-sort-order"><function>gtk_tree_view_column_set_sort_order()</function></link> to change the direction of
the arrow.</para>
<refsect3 id="gtk-tree-view-column-set-sort-indicator.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>setting</para></entry>
<entry role="parameter_description"><para><link linkend="TRUE:CAPS"><literal>TRUE</literal></link> to display an indicator that the column is sorted</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-get-sort-indicator" role="function">
<title>gtk_tree_view_column_get_sort_indicator&#160;()</title>
<indexterm zone="gtk-tree-view-column-get-sort-indicator"><primary>gtk_tree_view_column_get_sort_indicator</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
gtk_tree_view_column_get_sort_indicator
                               (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>);</programlisting>
<para>Gets the value set by <link linkend="gtk-tree-view-column-set-sort-indicator"><function>gtk_tree_view_column_set_sort_indicator()</function></link>.</para>
<refsect3 id="gtk-tree-view-column-get-sort-indicator.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-tree-view-column-get-sort-indicator.returns" role="returns">
<title>Returns</title>
<para> whether the sort indicator arrow is displayed</para>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-set-sort-order" role="function">
<title>gtk_tree_view_column_set_sort_order&#160;()</title>
<indexterm zone="gtk-tree-view-column-set-sort-order"><primary>gtk_tree_view_column_set_sort_order</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_tree_view_column_set_sort_order (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>,
                                     <parameter><link linkend="GtkSortType"><type>GtkSortType</type></link> order</parameter>);</programlisting>
<para>Changes the appearance of the sort indicator. </para>
<para>This does not actually sort the model.  Use
<link linkend="gtk-tree-view-column-set-sort-column-id"><function>gtk_tree_view_column_set_sort_column_id()</function></link> if you want automatic sorting
support.  This function is primarily for custom sorting behavior, and should
be used in conjunction with <link linkend="gtk-tree-sortable-set-sort-column-id"><function>gtk_tree_sortable_set_sort_column_id()</function></link> to do
that. For custom models, the mechanism will vary. </para>
<para>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 <link linkend="gtk-tree-view-column-set-sort-indicator"><function>gtk_tree_view_column_set_sort_indicator()</function></link>.</para>
<refsect3 id="gtk-tree-view-column-set-sort-order.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>order</para></entry>
<entry role="parameter_description"><para>sort order that the sort indicator should indicate</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-get-sort-order" role="function">
<title>gtk_tree_view_column_get_sort_order&#160;()</title>
<indexterm zone="gtk-tree-view-column-get-sort-order"><primary>gtk_tree_view_column_get_sort_order</primary></indexterm>
<programlisting language="C"><link linkend="GtkSortType"><returnvalue>GtkSortType</returnvalue></link>
gtk_tree_view_column_get_sort_order (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>);</programlisting>
<para>Gets the value set by <link linkend="gtk-tree-view-column-set-sort-order"><function>gtk_tree_view_column_set_sort_order()</function></link>.</para>
<refsect3 id="gtk-tree-view-column-get-sort-order.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-tree-view-column-get-sort-order.returns" role="returns">
<title>Returns</title>
<para> the sort order the sort indicator is indicating</para>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-cell-set-cell-data" role="function">
<title>gtk_tree_view_column_cell_set_cell_data&#160;()</title>
<indexterm zone="gtk-tree-view-column-cell-set-cell-data"><primary>gtk_tree_view_column_cell_set_cell_data</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_tree_view_column_cell_set_cell_data
                               (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>,
                                <parameter><link linkend="GtkTreeModel"><type>GtkTreeModel</type></link> *tree_model</parameter>,
                                <parameter><link linkend="GtkTreeIter"><type>GtkTreeIter</type></link> *iter</parameter>,
                                <parameter><link linkend="gboolean"><type>gboolean</type></link> is_expander</parameter>,
                                <parameter><link linkend="gboolean"><type>gboolean</type></link> is_expanded</parameter>);</programlisting>
<para>Sets the cell renderer based on the <parameter>tree_model</parameter>
 and <parameter>iter</parameter>
.  That is, for
every attribute mapping in <parameter>tree_column</parameter>
, it will get a value from the set
column on the <parameter>iter</parameter>
, and use that value to set the attribute on the cell
renderer.  This is used primarily by the <link linkend="GtkTreeView"><type>GtkTreeView</type></link>.</para>
<refsect3 id="gtk-tree-view-column-cell-set-cell-data.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>tree_model</para></entry>
<entry role="parameter_description"><para>The <link linkend="GtkTreeModel"><type>GtkTreeModel</type></link> to to get the cell renderers attributes from.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>iter</para></entry>
<entry role="parameter_description"><para>The <link linkend="GtkTreeIter"><type>GtkTreeIter</type></link> to to get the cell renderer’s attributes from.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>is_expander</para></entry>
<entry role="parameter_description"><para><link linkend="TRUE:CAPS"><literal>TRUE</literal></link>, if the row has children</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>is_expanded</para></entry>
<entry role="parameter_description"><para><link linkend="TRUE:CAPS"><literal>TRUE</literal></link>, if the row has visible children</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-cell-get-size" role="function">
<title>gtk_tree_view_column_cell_get_size&#160;()</title>
<indexterm zone="gtk-tree-view-column-cell-get-size"><primary>gtk_tree_view_column_cell_get_size</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_tree_view_column_cell_get_size (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>,
                                    <parameter><link linkend="int"><type>int</type></link> *x_offset</parameter>,
                                    <parameter><link linkend="int"><type>int</type></link> *y_offset</parameter>,
                                    <parameter><link linkend="int"><type>int</type></link> *width</parameter>,
                                    <parameter><link linkend="int"><type>int</type></link> *height</parameter>);</programlisting>
<para>Obtains the width and height needed to render the column.  This is used
primarily by the <link linkend="GtkTreeView"><type>GtkTreeView</type></link>.</para>
<refsect3 id="gtk-tree-view-column-cell-get-size.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>x_offset</para></entry>
<entry role="parameter_description"><para>location to return x offset of a cell relative to <parameter>cell_area</parameter>
, or <link linkend="NULL:CAPS"><literal>NULL</literal></link>. </para></entry>
<entry role="parameter_annotations"><emphasis role="annotation">[<acronym>out</acronym>][<acronym>optional</acronym>]</emphasis></entry></row>
<row><entry role="parameter_name"><para>y_offset</para></entry>
<entry role="parameter_description"><para>location to return y offset of a cell relative to <parameter>cell_area</parameter>
, or <link linkend="NULL:CAPS"><literal>NULL</literal></link>. </para></entry>
<entry role="parameter_annotations"><emphasis role="annotation">[<acronym>out</acronym>][<acronym>optional</acronym>]</emphasis></entry></row>
<row><entry role="parameter_name"><para>width</para></entry>
<entry role="parameter_description"><para>location to return width needed to render a cell, or <link linkend="NULL:CAPS"><literal>NULL</literal></link>. </para></entry>
<entry role="parameter_annotations"><emphasis role="annotation">[<acronym>out</acronym>][<acronym>optional</acronym>]</emphasis></entry></row>
<row><entry role="parameter_name"><para>height</para></entry>
<entry role="parameter_description"><para>location to return height needed to render a cell, or <link linkend="NULL:CAPS"><literal>NULL</literal></link>. </para></entry>
<entry role="parameter_annotations"><emphasis role="annotation">[<acronym>out</acronym>][<acronym>optional</acronym>]</emphasis></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-cell-get-position" role="function">
<title>gtk_tree_view_column_cell_get_position&#160;()</title>
<indexterm zone="gtk-tree-view-column-cell-get-position"><primary>gtk_tree_view_column_cell_get_position</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
gtk_tree_view_column_cell_get_position
                               (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>,
                                <parameter><link linkend="GtkCellRenderer"><type>GtkCellRenderer</type></link> *cell_renderer</parameter>,
                                <parameter><link linkend="gint"><type>gint</type></link> *x_offset</parameter>,
                                <parameter><link linkend="gint"><type>gint</type></link> *width</parameter>);</programlisting>
<para>Obtains the horizontal position and size of a cell in a column. If the
cell is not found in the column, <parameter>start_pos</parameter>
 and <parameter>width</parameter>
 are not changed and
<link linkend="FALSE:CAPS"><literal>FALSE</literal></link> is returned.</para>
<refsect3 id="gtk-tree-view-column-cell-get-position.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>cell_renderer</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkCellRenderer"><type>GtkCellRenderer</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>x_offset</para></entry>
<entry role="parameter_description"><para>return location for the horizontal
position of <parameter>cell</parameter>
within <parameter>tree_column</parameter>
, may be <link linkend="NULL:CAPS"><literal>NULL</literal></link>. </para></entry>
<entry role="parameter_annotations"><emphasis role="annotation">[<acronym>out</acronym>][<acronym>allow-none</acronym>]</emphasis></entry></row>
<row><entry role="parameter_name"><para>width</para></entry>
<entry role="parameter_description"><para>return location for the width of <parameter>cell</parameter>
,
may be <link linkend="NULL:CAPS"><literal>NULL</literal></link>. </para></entry>
<entry role="parameter_annotations"><emphasis role="annotation">[<acronym>out</acronym>][<acronym>allow-none</acronym>]</emphasis></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-tree-view-column-cell-get-position.returns" role="returns">
<title>Returns</title>
<para> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if <parameter>cell</parameter>
belongs to <parameter>tree_column</parameter>
.</para>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-cell-is-visible" role="function">
<title>gtk_tree_view_column_cell_is_visible&#160;()</title>
<indexterm zone="gtk-tree-view-column-cell-is-visible"><primary>gtk_tree_view_column_cell_is_visible</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
gtk_tree_view_column_cell_is_visible (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>);</programlisting>
<para>Returns <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if any of the cells packed into the <parameter>tree_column</parameter>
 are visible.
For this to be meaningful, you must first initialize the cells with
<link linkend="gtk-tree-view-column-cell-set-cell-data"><function>gtk_tree_view_column_cell_set_cell_data()</function></link></para>
<refsect3 id="gtk-tree-view-column-cell-is-visible.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-tree-view-column-cell-is-visible.returns" role="returns">
<title>Returns</title>
<para> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link>, if any of the cells packed into the <parameter>tree_column</parameter>
are currently visible</para>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-focus-cell" role="function">
<title>gtk_tree_view_column_focus_cell&#160;()</title>
<indexterm zone="gtk-tree-view-column-focus-cell"><primary>gtk_tree_view_column_focus_cell</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_tree_view_column_focus_cell (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>,
                                 <parameter><link linkend="GtkCellRenderer"><type>GtkCellRenderer</type></link> *cell</parameter>);</programlisting>
<para>Sets the current keyboard focus to be at <parameter>cell</parameter>
, if the column contains
2 or more editable and activatable cells.</para>
<refsect3 id="gtk-tree-view-column-focus-cell.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>cell</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkCellRenderer"><type>GtkCellRenderer</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-queue-resize" role="function">
<title>gtk_tree_view_column_queue_resize&#160;()</title>
<indexterm zone="gtk-tree-view-column-queue-resize"><primary>gtk_tree_view_column_queue_resize</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_tree_view_column_queue_resize (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>);</programlisting>
<para>Flags the column, and the cell renderers added to this column, to have
their sizes renegotiated.</para>
<refsect3 id="gtk-tree-view-column-queue-resize.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-get-tree-view" role="function">
<title>gtk_tree_view_column_get_tree_view&#160;()</title>
<indexterm zone="gtk-tree-view-column-get-tree-view"><primary>gtk_tree_view_column_get_tree_view</primary></indexterm>
<programlisting language="C"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link>&#160;*
gtk_tree_view_column_get_tree_view (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>);</programlisting>
<para>Returns the <link linkend="GtkTreeView"><type>GtkTreeView</type></link> wherein <parameter>tree_column</parameter>
 has been inserted.
If <parameter>column</parameter>
 is currently not inserted in any tree view, <link linkend="NULL:CAPS"><literal>NULL</literal></link> is
returned.</para>
<refsect3 id="gtk-tree-view-column-get-tree-view.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-tree-view-column-get-tree-view.returns" role="returns">
<title>Returns</title>
<para>The tree view wherein <parameter>column</parameter>
has
been inserted if any, <link linkend="NULL:CAPS"><literal>NULL</literal></link> otherwise. </para>
<para><emphasis role="annotation">[<acronym>nullable</acronym>][<acronym>transfer none</acronym>]</emphasis></para>
</refsect3></refsect2>
<refsect2 id="gtk-tree-view-column-get-x-offset" role="function">
<title>gtk_tree_view_column_get_x_offset&#160;()</title>
<indexterm zone="gtk-tree-view-column-get-x-offset"><primary>gtk_tree_view_column_get_x_offset</primary></indexterm>
<programlisting language="C"><link linkend="gint"><returnvalue>gint</returnvalue></link>
gtk_tree_view_column_get_x_offset (<parameter><link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *tree_column</parameter>);</programlisting>
<para>Returns the current X offset of <parameter>tree_column</parameter>
 in pixels.</para>
<refsect3 id="gtk-tree-view-column-get-x-offset.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>tree_column</para></entry>
<entry role="parameter_description"><para>A <link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-tree-view-column-get-x-offset.returns" role="returns">
<title>Returns</title>
<para> The current X offset of <parameter>tree_column</parameter>
.</para>
</refsect3></refsect2>

</refsect1>
<refsect1 id="GtkTreeViewColumn.other_details" role="details">
<title role="details.title">Types and Values</title>
<refsect2 id="GtkTreeViewColumnSizing" role="enum">
<title>enum GtkTreeViewColumnSizing</title>
<indexterm zone="GtkTreeViewColumnSizing"><primary>GtkTreeViewColumnSizing</primary></indexterm>
<para>The sizing method the column uses to determine its width.  Please note
that <parameter>GTK_TREE_VIEW_COLUMN_AUTOSIZE</parameter>
 are inefficient for large views, and
can make columns appear choppy.</para>
<refsect3 id="GtkTreeViewColumnSizing.members" role="enum_members">
<title>Members</title>
<informaltable role="enum_members_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="enum_members_name" colwidth="300px"/>
<colspec colname="enum_members_description"/>
<colspec colname="enum_members_annotations" colwidth="200px"/>
<tbody>
<row role="constant"><entry role="enum_member_name"><para id="GTK-TREE-VIEW-COLUMN-GROW-ONLY:CAPS">GTK_TREE_VIEW_COLUMN_GROW_ONLY</para></entry>
<entry role="enum_member_description"><para>Columns only get bigger in reaction to changes in the model</para>
</entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="GTK-TREE-VIEW-COLUMN-AUTOSIZE:CAPS">GTK_TREE_VIEW_COLUMN_AUTOSIZE</para></entry>
<entry role="enum_member_description"><para>Columns resize to be the optimal size everytime the model changes.</para>
</entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="GTK-TREE-VIEW-COLUMN-FIXED:CAPS">GTK_TREE_VIEW_COLUMN_FIXED</para></entry>
<entry role="enum_member_description"><para>Columns are a fixed numbers of pixels wide.</para>
</entry>
<entry role="enum_member_annotations"></entry>
</row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="GtkTreeViewColumn-struct" role="struct">
<title>GtkTreeViewColumn</title>
<indexterm zone="GtkTreeViewColumn-struct"><primary>GtkTreeViewColumn</primary></indexterm>
<programlisting language="C">typedef struct _GtkTreeViewColumn GtkTreeViewColumn;</programlisting>
</refsect2>

</refsect1>
<refsect1 id="GtkTreeViewColumn.property-details" role="property_details">
<title role="property_details.title">Property Details</title>
<refsect2 id="GtkTreeViewColumn--alignment" role="property"><title>The <literal>“alignment”</literal> property</title>
<indexterm zone="GtkTreeViewColumn--alignment"><primary>GtkTreeViewColumn:alignment</primary></indexterm>
<programlisting>  “alignment”                <link linkend="gfloat"><type>gfloat</type></link></programlisting>
<para>X Alignment of the column header text or widget.</para><para>Owner: GtkTreeViewColumn</para>
<para>Flags: Read / Write</para>
<para>Allowed values: [0,1]</para>
<para>Default value: 0</para>
</refsect2>
<refsect2 id="GtkTreeViewColumn--cell-area" role="property"><title>The <literal>“cell-area”</literal> property</title>
<indexterm zone="GtkTreeViewColumn--cell-area"><primary>GtkTreeViewColumn:cell-area</primary></indexterm>
<programlisting>  “cell-area”                <link linkend="GtkCellArea"><type>GtkCellArea</type></link>&#160;*</programlisting>
<para>The <link linkend="GtkCellArea"><type>GtkCellArea</type></link> used to layout cell renderers for this column.</para>
<para>If no area is specified when creating the tree view column with <link linkend="gtk-tree-view-column-new-with-area"><function>gtk_tree_view_column_new_with_area()</function></link>

a horizontally oriented <link linkend="GtkCellAreaBox"><type>GtkCellAreaBox</type></link> will be used.</para>
<para>Owner: GtkTreeViewColumn</para>
<para>Flags: Read / Write / Construct&#160;Only</para>
</refsect2>
<refsect2 id="GtkTreeViewColumn--clickable" role="property"><title>The <literal>“clickable”</literal> property</title>
<indexterm zone="GtkTreeViewColumn--clickable"><primary>GtkTreeViewColumn:clickable</primary></indexterm>
<programlisting>  “clickable”                <link linkend="gboolean"><type>gboolean</type></link></programlisting>
<para>Whether the header can be clicked.</para><para>Owner: GtkTreeViewColumn</para>
<para>Flags: Read / Write</para>
<para>Default value: FALSE</para>
</refsect2>
<refsect2 id="GtkTreeViewColumn--expand" role="property"><title>The <literal>“expand”</literal> property</title>
<indexterm zone="GtkTreeViewColumn--expand"><primary>GtkTreeViewColumn:expand</primary></indexterm>
<programlisting>  “expand”                   <link linkend="gboolean"><type>gboolean</type></link></programlisting>
<para>Column gets share of extra width allocated to the widget.</para><para>Owner: GtkTreeViewColumn</para>
<para>Flags: Read / Write</para>
<para>Default value: FALSE</para>
</refsect2>
<refsect2 id="GtkTreeViewColumn--fixed-width" role="property"><title>The <literal>“fixed-width”</literal> property</title>
<indexterm zone="GtkTreeViewColumn--fixed-width"><primary>GtkTreeViewColumn:fixed-width</primary></indexterm>
<programlisting>  “fixed-width”              <link linkend="gint"><type>gint</type></link></programlisting>
<para>Current fixed width of the column.</para><para>Owner: GtkTreeViewColumn</para>
<para>Flags: Read / Write</para>
<para>Allowed values: &gt;= -1</para>
<para>Default value: -1</para>
</refsect2>
<refsect2 id="GtkTreeViewColumn--max-width" role="property"><title>The <literal>“max-width”</literal> property</title>
<indexterm zone="GtkTreeViewColumn--max-width"><primary>GtkTreeViewColumn:max-width</primary></indexterm>
<programlisting>  “max-width”                <link linkend="gint"><type>gint</type></link></programlisting>
<para>Maximum allowed width of the column.</para><para>Owner: GtkTreeViewColumn</para>
<para>Flags: Read / Write</para>
<para>Allowed values: &gt;= -1</para>
<para>Default value: -1</para>
</refsect2>
<refsect2 id="GtkTreeViewColumn--min-width" role="property"><title>The <literal>“min-width”</literal> property</title>
<indexterm zone="GtkTreeViewColumn--min-width"><primary>GtkTreeViewColumn:min-width</primary></indexterm>
<programlisting>  “min-width”                <link linkend="gint"><type>gint</type></link></programlisting>
<para>Minimum allowed width of the column.</para><para>Owner: GtkTreeViewColumn</para>
<para>Flags: Read / Write</para>
<para>Allowed values: &gt;= -1</para>
<para>Default value: -1</para>
</refsect2>
<refsect2 id="GtkTreeViewColumn--reorderable" role="property"><title>The <literal>“reorderable”</literal> property</title>
<indexterm zone="GtkTreeViewColumn--reorderable"><primary>GtkTreeViewColumn:reorderable</primary></indexterm>
<programlisting>  “reorderable”              <link linkend="gboolean"><type>gboolean</type></link></programlisting>
<para>Whether the column can be reordered around the headers.</para><para>Owner: GtkTreeViewColumn</para>
<para>Flags: Read / Write</para>
<para>Default value: FALSE</para>
</refsect2>
<refsect2 id="GtkTreeViewColumn--resizable" role="property"><title>The <literal>“resizable”</literal> property</title>
<indexterm zone="GtkTreeViewColumn--resizable"><primary>GtkTreeViewColumn:resizable</primary></indexterm>
<programlisting>  “resizable”                <link linkend="gboolean"><type>gboolean</type></link></programlisting>
<para>Column is user-resizable.</para><para>Owner: GtkTreeViewColumn</para>
<para>Flags: Read / Write</para>
<para>Default value: FALSE</para>
</refsect2>
<refsect2 id="GtkTreeViewColumn--sizing" role="property"><title>The <literal>“sizing”</literal> property</title>
<indexterm zone="GtkTreeViewColumn--sizing"><primary>GtkTreeViewColumn:sizing</primary></indexterm>
<programlisting>  “sizing”                   <link linkend="GtkTreeViewColumnSizing"><type>GtkTreeViewColumnSizing</type></link></programlisting>
<para>Resize mode of the column.</para><para>Owner: GtkTreeViewColumn</para>
<para>Flags: Read / Write</para>
<para>Default value: GTK_TREE_VIEW_COLUMN_GROW_ONLY</para>
</refsect2>
<refsect2 id="GtkTreeViewColumn--sort-column-id" role="property"><title>The <literal>“sort-column-id”</literal> property</title>
<indexterm zone="GtkTreeViewColumn--sort-column-id"><primary>GtkTreeViewColumn:sort-column-id</primary></indexterm>
<programlisting>  “sort-column-id”           <link linkend="gint"><type>gint</type></link></programlisting>
<para>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.</para>
<para>Owner: GtkTreeViewColumn</para>
<para>Flags: Read / Write</para>
<para>Allowed values: &gt;= -1</para>
<para>Default value: -1</para>
</refsect2>
<refsect2 id="GtkTreeViewColumn--sort-indicator" role="property"><title>The <literal>“sort-indicator”</literal> property</title>
<indexterm zone="GtkTreeViewColumn--sort-indicator"><primary>GtkTreeViewColumn:sort-indicator</primary></indexterm>
<programlisting>  “sort-indicator”           <link linkend="gboolean"><type>gboolean</type></link></programlisting>
<para>Whether to show a sort indicator.</para><para>Owner: GtkTreeViewColumn</para>
<para>Flags: Read / Write</para>
<para>Default value: FALSE</para>
</refsect2>
<refsect2 id="GtkTreeViewColumn--sort-order" role="property"><title>The <literal>“sort-order”</literal> property</title>
<indexterm zone="GtkTreeViewColumn--sort-order"><primary>GtkTreeViewColumn:sort-order</primary></indexterm>
<programlisting>  “sort-order”               <link linkend="GtkSortType"><type>GtkSortType</type></link></programlisting>
<para>Sort direction the sort indicator should indicate.</para><para>Owner: GtkTreeViewColumn</para>
<para>Flags: Read / Write</para>
<para>Default value: GTK_SORT_ASCENDING</para>
</refsect2>
<refsect2 id="GtkTreeViewColumn--spacing" role="property"><title>The <literal>“spacing”</literal> property</title>
<indexterm zone="GtkTreeViewColumn--spacing"><primary>GtkTreeViewColumn:spacing</primary></indexterm>
<programlisting>  “spacing”                  <link linkend="gint"><type>gint</type></link></programlisting>
<para>Space which is inserted between cells.</para><para>Owner: GtkTreeViewColumn</para>
<para>Flags: Read / Write</para>
<para>Allowed values: &gt;= 0</para>
<para>Default value: 0</para>
</refsect2>
<refsect2 id="GtkTreeViewColumn--title" role="property"><title>The <literal>“title”</literal> property</title>
<indexterm zone="GtkTreeViewColumn--title"><primary>GtkTreeViewColumn:title</primary></indexterm>
<programlisting>  “title”                    <link linkend="gchar"><type>gchar</type></link>&#160;*</programlisting>
<para>Title to appear in column header.</para><para>Owner: GtkTreeViewColumn</para>
<para>Flags: Read / Write</para>
<para>Default value: ""</para>
</refsect2>
<refsect2 id="GtkTreeViewColumn--visible" role="property"><title>The <literal>“visible”</literal> property</title>
<indexterm zone="GtkTreeViewColumn--visible"><primary>GtkTreeViewColumn:visible</primary></indexterm>
<programlisting>  “visible”                  <link linkend="gboolean"><type>gboolean</type></link></programlisting>
<para>Whether to display the column.</para><para>Owner: GtkTreeViewColumn</para>
<para>Flags: Read / Write</para>
<para>Default value: TRUE</para>
</refsect2>
<refsect2 id="GtkTreeViewColumn--widget" role="property"><title>The <literal>“widget”</literal> property</title>
<indexterm zone="GtkTreeViewColumn--widget"><primary>GtkTreeViewColumn:widget</primary></indexterm>
<programlisting>  “widget”                   <link linkend="GtkWidget"><type>GtkWidget</type></link>&#160;*</programlisting>
<para>Widget to put in column header button instead of column title.</para><para>Owner: GtkTreeViewColumn</para>
<para>Flags: Read / Write</para>
</refsect2>
<refsect2 id="GtkTreeViewColumn--width" role="property"><title>The <literal>“width”</literal> property</title>
<indexterm zone="GtkTreeViewColumn--width"><primary>GtkTreeViewColumn:width</primary></indexterm>
<programlisting>  “width”                    <link linkend="gint"><type>gint</type></link></programlisting>
<para>Current width of the column.</para><para>Owner: GtkTreeViewColumn</para>
<para>Flags: Read</para>
<para>Allowed values: &gt;= 0</para>
<para>Default value: 0</para>
</refsect2>
<refsect2 id="GtkTreeViewColumn--x-offset" role="property"><title>The <literal>“x-offset”</literal> property</title>
<indexterm zone="GtkTreeViewColumn--x-offset"><primary>GtkTreeViewColumn:x-offset</primary></indexterm>
<programlisting>  “x-offset”                 <link linkend="gint"><type>gint</type></link></programlisting>
<para>Current X position of the column.</para><para>Owner: GtkTreeViewColumn</para>
<para>Flags: Read</para>
<para>Allowed values: &gt;= -2147483647</para>
<para>Default value: 0</para>
</refsect2>

</refsect1>
<refsect1 id="GtkTreeViewColumn.signal-details" role="signals">
<title role="signals.title">Signal Details</title>
<refsect2 id="GtkTreeViewColumn-clicked" role="signal"><title>The <literal>“clicked”</literal> signal</title>
<indexterm zone="GtkTreeViewColumn-clicked"><primary>GtkTreeViewColumn::clicked</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
user_function (<link linkend="GtkTreeViewColumn"><type>GtkTreeViewColumn</type></link> *treeviewcolumn,
               <link linkend="gpointer"><type>gpointer</type></link>           user_data)</programlisting>
<para>Flags: <link linkend="G-SIGNAL-RUN-LAST:CAPS">Run Last</link></para>
</refsect2>
</refsect1>
<refsect1 id="GtkTreeViewColumn.see-also">
<title>See Also</title>
<para><link linkend="GtkTreeView"><type>GtkTreeView</type></link>, <link linkend="GtkTreeSelection"><type>GtkTreeSelection</type></link>, <link linkend="GtkTreeModel"><type>GtkTreeModel</type></link>, <link linkend="GtkTreeSortable"><type>GtkTreeSortable</type></link>,
<link linkend="GtkTreeModelSort"><type>GtkTreeModelSort</type></link>, <link linkend="GtkListStore"><type>GtkListStore</type></link>, <link linkend="GtkTreeStore"><type>GtkTreeStore</type></link>, <link linkend="GtkCellRenderer"><type>GtkCellRenderer</type></link>, <link linkend="GtkCellEditable"><type>GtkCellEditable</type></link>,
<link linkend="GtkCellRendererPixbuf"><type>GtkCellRendererPixbuf</type></link>, <link linkend="GtkCellRendererText"><type>GtkCellRendererText</type></link>, <link linkend="GtkCellRendererToggle"><type>GtkCellRendererToggle</type></link>,
<link linkend="gtk3-GtkTreeView-drag-and-drop">GtkTreeView drag-and-drop</link></para>

</refsect1>

</refentry>
