|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /usr/share/gtk-doc/html/gtk/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>GtkTreeViewColumn</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
<link rel="start" href="index.html" title="GTK+ Reference Manual">
<link rel="up" href="TreeWidgetObjects.html" title="Tree, List and Icon Grid Widgets">
<link rel="prev" href="GtkTreeSelection.html" title="GtkTreeSelection">
<link rel="next" href="GtkTreeView.html" title="GtkTreeView">
<meta name="generator" content="GTK-Doc V1.6 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="gtk.html" title="Part I. GTK+ Overview">
<link rel="part" href="gtkbase.html" title="Part II. GTK+ Core Reference">
<link rel="part" href="gtkobjects.html" title="Part III. GTK+ Widgets and Objects">
<link rel="chapter" href="ch01.html" title="Object Hierarchy">
<link rel="chapter" href="ch02.html" title="Widget Gallery">
<link rel="chapter" href="WindowWidgets.html" title="Windows">
<link rel="chapter" href="DisplayWidgets.html" title="Display Widgets">
<link rel="chapter" href="ButtonWidgets.html" title="Buttons and Toggles">
<link rel="chapter" href="NumericEntry.html" title="Numeric/Text Data Entry">
<link rel="chapter" href="TextWidgetObjects.html" title="Multiline Text Editor">
<link rel="chapter" href="TreeWidgetObjects.html" title="Tree, List and Icon Grid Widgets">
<link rel="chapter" href="MenusAndCombos.html" title="Menus, Combo Box, Toolbar">
<link rel="chapter" href="Actions.html" title="Action-based menus and toolbars">
<link rel="chapter" href="SelectorWidgets.html" title="Selectors (File/Font/Color/Input Devices)">
<link rel="chapter" href="LayoutContainers.html" title="Layout Containers">
<link rel="chapter" href="Ornaments.html" title="Ornaments">
<link rel="chapter" href="ScrollingWidgets.html" title="Scrolling">
<link rel="chapter" href="Printing.html" title="Printing">
<link rel="chapter" href="MiscObjects.html" title="Miscellaneous">
<link rel="chapter" href="AbstractObjects.html" title="Abstract Base Classes">
<link rel="chapter" href="PlugSocket.html" title="Cross-process Embedding">
<link rel="chapter" href="SpecialObjects.html" title="Special-purpose features">
<link rel="chapter" href="RecentDocuments.html" title="Recently Used Documents">
<link rel="chapter" href="DeprecatedObjects.html" title="Deprecated">
<link rel="part" href="migrating.html" title="Part IV. Migrating from Previous Versions of GTK+">
<link rel="chapter" href="gtk-migrating-checklist.html" title="Migration Checklist">
<link rel="chapter" href="gtk-migrating-GtkFileChooser.html" title="Migrating from GtkFileSelection to GtkFileChooser">
<link rel="chapter" href="gtk-migrating-GtkAction.html" title="Migrating from old menu and toolbar systems to GtkAction">
<link rel="chapter" href="gtk-migrating-GtkComboBox.html" title="Migrating from GtkOptionMenu and GtkCombo to GtkComboBox and
GtkComboBoxEntry">
<link rel="chapter" href="gtk-migrating-GtkIconView.html" title="Migrating from GnomeIconList to GtkIconView">
<link rel="chapter" href="gtk-migrating-GtkAboutDialog.html" title="Migrating from GnomeAbout to GtkAboutDialog">
<link rel="chapter" href="gtk-migrating-GtkColorButton.html" title="Migrating from GnomeColorPicker to GtkColorButton">
<link rel="chapter" href="gtk-migrating-GtkAssistant.html" title="Migrating from GnomeDruid to GtkAssistant">
<link rel="chapter" href="gtk-migrating-GtkRecentChooser.html" title="Migrating from EggRecent to GtkRecentChooser">
<link rel="chapter" href="gtk-migrating-GtkLinkButton.html" title="Migrating from GnomeHRef to GtkLinkButton">
<link rel="part" href="pt05.html" title="Part V. GTK+ Tools">
<link rel="glossary" href="glossary.html" title="Glossary">
<link rel="index" href="ix01.html" title="Index">
<link rel="index" href="ix02.html" title="Index of deprecated symbols">
<link rel="index" href="ix03.html" title="Index of new symbols in 2.2">
<link rel="index" href="ix04.html" title="Index of new symbols in 2.4">
<link rel="index" href="ix05.html" title="Index of new symbols in 2.6">
<link rel="index" href="ix06.html" title="Index of new symbols in 2.8">
<link rel="index" href="ix07.html" title="Index of new symbols in 2.10">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="GtkTreeSelection.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="TreeWidgetObjects.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GTK+ Reference Manual</th>
<td><a accesskey="n" href="GtkTreeView.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id3105078" class="shortcut">Top</a>
 | 
<a href="#id3107109" class="shortcut">Description</a>
 | 
<a href="#id3106706" class="shortcut">Object Hierarchy</a>
 | 
<a href="#id3106746" class="shortcut">Implemented Interfaces</a>
 | 
<a href="#id3106768" class="shortcut">Properties</a>
 | 
<a href="#id3107060" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GtkTreeViewColumn"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id3105078"></a><span class="refentrytitle">GtkTreeViewColumn</span>
</h2>
<p>GtkTreeViewColumn — A visible column in a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> widget</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">
#include <gtk/gtk.h>
enum <a href="GtkTreeViewColumn.html#GtkTreeViewColumnSizing">GtkTreeViewColumnSizing</a>;
void (<a href="GtkTreeViewColumn.html#GtkTreeCellDataFunc">*GtkTreeCellDataFunc</a>) (<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a href="GtkCellRenderer.html" title="GtkCellRenderer">GtkCellRenderer</a> *cell,
<a href="GtkTreeModel.html" title="GtkTreeModel">GtkTreeModel</a> *tree_model,
<a href="GtkTreeModel.html#GtkTreeIter">GtkTreeIter</a> *iter,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);
<a href="GtkTreeViewColumn.html#GtkTreeViewColumn-struct">GtkTreeViewColumn</a>;
<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a>* <a href="GtkTreeViewColumn.html#gtk-tree-view-column-new">gtk_tree_view_column_new</a> (void);
<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a>* <a href="GtkTreeViewColumn.html#gtk-tree-view-column-new-with-attributes">gtk_tree_view_column_new_with_attributes</a>
(const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
<a href="GtkCellRenderer.html" title="GtkCellRenderer">GtkCellRenderer</a> *cell,
...);
void <a href="GtkTreeViewColumn.html#gtk-tree-view-column-pack-start">gtk_tree_view_column_pack_start</a> (<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a href="GtkCellRenderer.html" title="GtkCellRenderer">GtkCellRenderer</a> *cell,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> expand);
void <a href="GtkTreeViewColumn.html#gtk-tree-view-column-pack-end">gtk_tree_view_column_pack_end</a> (<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a href="GtkCellRenderer.html" title="GtkCellRenderer">GtkCellRenderer</a> *cell,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> expand);
void <a href="GtkTreeViewColumn.html#gtk-tree-view-column-clear">gtk_tree_view_column_clear</a> (<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);
<a
href="../glib/glib-Doubly-Linked-Lists.html#GList"
>GList</a>* <a href="GtkTreeViewColumn.html#gtk-tree-view-column-get-cell-renderers">gtk_tree_view_column_get_cell_renderers</a>
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);
void <a href="GtkTreeViewColumn.html#gtk-tree-view-column-add-attribute">gtk_tree_view_column_add_attribute</a>
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a href="GtkCellRenderer.html" title="GtkCellRenderer">GtkCellRenderer</a> *cell_renderer,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *attribute,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> column);
void <a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-attributes">gtk_tree_view_column_set_attributes</a>
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a href="GtkCellRenderer.html" title="GtkCellRenderer">GtkCellRenderer</a> *cell_renderer,
...);
void <a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-cell-data-func">gtk_tree_view_column_set_cell_data_func</a>
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a href="GtkCellRenderer.html" title="GtkCellRenderer">GtkCellRenderer</a> *cell_renderer,
<a href="GtkTreeViewColumn.html#GtkTreeCellDataFunc">GtkTreeCellDataFunc</a> func,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> func_data,
<a href="gtk-Types.html#GtkDestroyNotify">GtkDestroyNotify</a> destroy);
void <a href="GtkTreeViewColumn.html#gtk-tree-view-column-clear-attributes">gtk_tree_view_column_clear_attributes</a>
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a href="GtkCellRenderer.html" title="GtkCellRenderer">GtkCellRenderer</a> *cell_renderer);
void <a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-spacing">gtk_tree_view_column_set_spacing</a>
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> spacing);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> <a href="GtkTreeViewColumn.html#gtk-tree-view-column-get-spacing">gtk_tree_view_column_get_spacing</a>
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);
void <a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-visible">gtk_tree_view_column_set_visible</a>
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> visible);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="GtkTreeViewColumn.html#gtk-tree-view-column-get-visible">gtk_tree_view_column_get_visible</a>
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);
void <a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-resizable">gtk_tree_view_column_set_resizable</a>
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> resizable);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="GtkTreeViewColumn.html#gtk-tree-view-column-get-resizable">gtk_tree_view_column_get_resizable</a>
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);
void <a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-sizing">gtk_tree_view_column_set_sizing</a> (<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a href="GtkTreeViewColumn.html#GtkTreeViewColumnSizing">GtkTreeViewColumnSizing</a> type);
<a href="GtkTreeViewColumn.html#GtkTreeViewColumnSizing">GtkTreeViewColumnSizing</a> <a href="GtkTreeViewColumn.html#gtk-tree-view-column-get-sizing">gtk_tree_view_column_get_sizing</a>
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> <a href="GtkTreeViewColumn.html#gtk-tree-view-column-get-width">gtk_tree_view_column_get_width</a> (<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> <a href="GtkTreeViewColumn.html#gtk-tree-view-column-get-fixed-width">gtk_tree_view_column_get_fixed_width</a>
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);
void <a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-fixed-width">gtk_tree_view_column_set_fixed_width</a>
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> fixed_width);
void <a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-min-width">gtk_tree_view_column_set_min_width</a>
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> min_width);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> <a href="GtkTreeViewColumn.html#gtk-tree-view-column-get-min-width">gtk_tree_view_column_get_min_width</a>
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);
void <a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-max-width">gtk_tree_view_column_set_max_width</a>
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> max_width);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> <a href="GtkTreeViewColumn.html#gtk-tree-view-column-get-max-width">gtk_tree_view_column_get_max_width</a>
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);
void <a href="GtkTreeViewColumn.html#gtk-tree-view-column-clicked">gtk_tree_view_column_clicked</a> (<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);
void <a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-title">gtk_tree_view_column_set_title</a> (<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *title);
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="GtkTreeViewColumn.html#gtk-tree-view-column-get-title">gtk_tree_view_column_get_title</a> (<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);
void <a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-expand">gtk_tree_view_column_set_expand</a> (<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> expand);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="GtkTreeViewColumn.html#gtk-tree-view-column-get-expand">gtk_tree_view_column_get_expand</a> (<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);
void <a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-clickable">gtk_tree_view_column_set_clickable</a>
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> clickable);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="GtkTreeViewColumn.html#gtk-tree-view-column-get-clickable">gtk_tree_view_column_get_clickable</a>
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);
void <a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-widget">gtk_tree_view_column_set_widget</a> (<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget);
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>* <a href="GtkTreeViewColumn.html#gtk-tree-view-column-get-widget">gtk_tree_view_column_get_widget</a> (<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);
void <a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-alignment">gtk_tree_view_column_set_alignment</a>
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a
href="../glib/glib-Basic-Types.html#gfloat"
>gfloat</a> xalign);
<a
href="../glib/glib-Basic-Types.html#gfloat"
>gfloat</a> <a href="GtkTreeViewColumn.html#gtk-tree-view-column-get-alignment">gtk_tree_view_column_get_alignment</a>
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);
void <a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-reorderable">gtk_tree_view_column_set_reorderable</a>
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> reorderable);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="GtkTreeViewColumn.html#gtk-tree-view-column-get-reorderable">gtk_tree_view_column_get_reorderable</a>
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);
void <a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-sort-column-id">gtk_tree_view_column_set_sort_column_id</a>
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> sort_column_id);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> <a href="GtkTreeViewColumn.html#gtk-tree-view-column-get-sort-column-id">gtk_tree_view_column_get_sort_column_id</a>
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);
void <a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-sort-indicator">gtk_tree_view_column_set_sort_indicator</a>
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> setting);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="GtkTreeViewColumn.html#gtk-tree-view-column-get-sort-indicator">gtk_tree_view_column_get_sort_indicator</a>
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);
void <a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-sort-order">gtk_tree_view_column_set_sort_order</a>
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a href="gtk-Standard-Enumerations.html#GtkSortType">GtkSortType</a> order);
<a href="gtk-Standard-Enumerations.html#GtkSortType">GtkSortType</a> <a href="GtkTreeViewColumn.html#gtk-tree-view-column-get-sort-order">gtk_tree_view_column_get_sort_order</a>
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);
void <a href="GtkTreeViewColumn.html#gtk-tree-view-column-cell-set-cell-data">gtk_tree_view_column_cell_set_cell_data</a>
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a href="GtkTreeModel.html" title="GtkTreeModel">GtkTreeModel</a> *tree_model,
<a href="GtkTreeModel.html#GtkTreeIter">GtkTreeIter</a> *iter,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> is_expander,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> is_expanded);
void <a href="GtkTreeViewColumn.html#gtk-tree-view-column-cell-get-size">gtk_tree_view_column_cell_get_size</a>
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *cell_area,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *x_offset,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *y_offset,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *width,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *height);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="GtkTreeViewColumn.html#gtk-tree-view-column-cell-get-position">gtk_tree_view_column_cell_get_position</a>
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a href="GtkCellRenderer.html" title="GtkCellRenderer">GtkCellRenderer</a> *cell_renderer,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *start_pos,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *width);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="GtkTreeViewColumn.html#gtk-tree-view-column-cell-is-visible">gtk_tree_view_column_cell_is_visible</a>
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);
void <a href="GtkTreeViewColumn.html#gtk-tree-view-column-focus-cell">gtk_tree_view_column_focus_cell</a> (<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a href="GtkCellRenderer.html" title="GtkCellRenderer">GtkCellRenderer</a> *cell);
void <a href="GtkTreeViewColumn.html#gtk-tree-view-column-queue-resize">gtk_tree_view_column_queue_resize</a>
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3106706"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a href="GtkObject.html" title="GtkObject">GtkObject</a>
+----GtkTreeViewColumn
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3106746"></a><h2>Implemented Interfaces</h2>
<p>
GtkTreeViewColumn implements
<a href="GtkCellLayout.html" title="GtkCellLayout">GtkCellLayout</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="id3106768"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="GtkTreeViewColumn.html#GtkTreeViewColumn--alignment">alignment</a>" <a
href="../glib/glib-Basic-Types.html#gfloat"
>gfloat</a> : Read / Write
"<a href="GtkTreeViewColumn.html#GtkTreeViewColumn--clickable">clickable</a>" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write
"<a href="GtkTreeViewColumn.html#GtkTreeViewColumn--expand">expand</a>" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write
"<a href="GtkTreeViewColumn.html#GtkTreeViewColumn--fixed-width">fixed-width</a>" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write
"<a href="GtkTreeViewColumn.html#GtkTreeViewColumn--max-width">max-width</a>" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write
"<a href="GtkTreeViewColumn.html#GtkTreeViewColumn--min-width">min-width</a>" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write
"<a href="GtkTreeViewColumn.html#GtkTreeViewColumn--reorderable">reorderable</a>" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write
"<a href="GtkTreeViewColumn.html#GtkTreeViewColumn--resizable">resizable</a>" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write
"<a href="GtkTreeViewColumn.html#GtkTreeViewColumn--sizing">sizing</a>" <a href="GtkTreeViewColumn.html#GtkTreeViewColumnSizing">GtkTreeViewColumnSizing</a> : Read / Write
"<a href="GtkTreeViewColumn.html#GtkTreeViewColumn--sort-indicator">sort-indicator</a>" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write
"<a href="GtkTreeViewColumn.html#GtkTreeViewColumn--sort-order">sort-order</a>" <a href="gtk-Standard-Enumerations.html#GtkSortType">GtkSortType</a> : Read / Write
"<a href="GtkTreeViewColumn.html#GtkTreeViewColumn--spacing">spacing</a>" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write
"<a href="GtkTreeViewColumn.html#GtkTreeViewColumn--title">title</a>" <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a> : Read / Write
"<a href="GtkTreeViewColumn.html#GtkTreeViewColumn--visible">visible</a>" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write
"<a href="GtkTreeViewColumn.html#GtkTreeViewColumn--widget">widget</a>" <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> : Read / Write
"<a href="GtkTreeViewColumn.html#GtkTreeViewColumn--width">width</a>" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3107060"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GtkTreeViewColumn.html#GtkTreeViewColumn-clicked">clicked</a>" void user_function (<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *treeviewcolumn,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run last
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3107109"></a><h2>Description</h2>
<p>
The GtkTreeViewColumn object represents a visible column in a <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> widget.
It allows to set properties of the column header, and functions as a holding pen for
the cell renderers which determine how the data in the column is displayed.
</p>
<p>
Please refer to the <a href="TreeWidget.html" title="Tree and List Widget Overview">tree widget conceptual overview</a>
for an overview of all the objects and data types related to the tree widget and how
they work together.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id3107148"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id3107158"></a><h3>
<a name="GtkTreeViewColumnSizing"></a>enum GtkTreeViewColumnSizing</h3>
<a class="indexterm" name="id3107171"></a><pre class="programlisting">typedef enum
{
GTK_TREE_VIEW_COLUMN_GROW_ONLY,
GTK_TREE_VIEW_COLUMN_AUTOSIZE,
GTK_TREE_VIEW_COLUMN_FIXED
} GtkTreeViewColumnSizing;
</pre>
<p>
The sizing method the column uses to determine its width. Please note
that <em class="parameter"><code>GTK_TREE_VIEW_COLUMN_AUTOSIZE</code></em> are inefficient for large views, and
can make columns appear choppy.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><a name="GTK-TREE-VIEW-COLUMN-GROW-ONLY:CAPS"></a><code class="literal">GTK_TREE_VIEW_COLUMN_GROW_ONLY</code></span></td>
<td>Columns only get bigger in reaction to changes in the model
</td>
</tr>
<tr>
<td>
<span class="term"><a name="GTK-TREE-VIEW-COLUMN-AUTOSIZE:CAPS"></a><code class="literal">GTK_TREE_VIEW_COLUMN_AUTOSIZE</code></span></td>
<td>Columns resize to be the optimal size everytime the model changes.
</td>
</tr>
<tr>
<td>
<span class="term"><a name="GTK-TREE-VIEW-COLUMN-FIXED:CAPS"></a><code class="literal">GTK_TREE_VIEW_COLUMN_FIXED</code></span></td>
<td>Columns are a fixed numbers of pixels wide.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3107273"></a><h3>
<a name="GtkTreeCellDataFunc"></a>GtkTreeCellDataFunc ()</h3>
<a class="indexterm" name="id3107286"></a><pre class="programlisting">void (*GtkTreeCellDataFunc) (<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a href="GtkCellRenderer.html" title="GtkCellRenderer">GtkCellRenderer</a> *cell,
<a href="GtkTreeModel.html" title="GtkTreeModel">GtkTreeModel</a> *tree_model,
<a href="GtkTreeModel.html#GtkTreeIter">GtkTreeIter</a> *iter,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);</pre>
<p>
A function to set the properties of a cell instead of just using the
straight mapping between the cell and the model. This is useful for
customizing the cell renderer. For example, a function might get an
integer from the <em class="parameter"><code>tree_model</code></em>, and render it to the "text" attribute of
"cell" by converting it to its written equivilent. This is set by
calling <a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-cell-data-func"><code class="function">gtk_tree_view_column_set_cell_data_func()</code></a>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td>A <span class="type">GtkTreeColumn</span>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>cell</code></em> :</span></td>
<td>The <a href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> that is being rendered by <em class="parameter"><code>tree_column</code></em>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_model</code></em> :</span></td>
<td>The <a href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> being rendered
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>iter</code></em> :</span></td>
<td>A <a href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> of the current row rendered
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>data</code></em> :</span></td>
<td>user data
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3107482"></a><h3>
<a name="GtkTreeViewColumn-struct"></a>GtkTreeViewColumn</h3>
<a class="indexterm" name="id3107496"></a><pre class="programlisting">typedef struct _GtkTreeViewColumn GtkTreeViewColumn;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3107512"></a><h3>
<a name="gtk-tree-view-column-new"></a>gtk_tree_view_column_new ()</h3>
<a class="indexterm" name="id3107525"></a><pre class="programlisting"><a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a>* gtk_tree_view_column_new (void);</pre>
<p>
Creates a new <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> A newly created <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3107581"></a><h3>
<a name="gtk-tree-view-column-new-with-attributes"></a>gtk_tree_view_column_new_with_attributes ()</h3>
<a class="indexterm" name="id3107595"></a><pre class="programlisting"><a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a>* gtk_tree_view_column_new_with_attributes
(const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
<a href="GtkCellRenderer.html" title="GtkCellRenderer">GtkCellRenderer</a> *cell,
...);</pre>
<p>
Creates a new <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> with a number of default values. This is
equivalent to calling <a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-title"><code class="function">gtk_tree_view_column_set_title()</code></a>,
<a href="GtkTreeViewColumn.html#gtk-tree-view-column-pack-start"><code class="function">gtk_tree_view_column_pack_start()</code></a>, and
<a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-attributes"><code class="function">gtk_tree_view_column_set_attributes()</code></a> on the newly created <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.
</p>
<p>
Here's a simple example:
</p>
<div class="informalexample"><pre class="programlisting">
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);
}
</pre></div>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>title</code></em> :</span></td>
<td> The title to set the header to.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>cell</code></em> :</span></td>
<td> The <a href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>...</code></em> :</span></td>
<td> A <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>-terminated list of attributes.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> A newly created <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3107792"></a><h3>
<a name="gtk-tree-view-column-pack-start"></a>gtk_tree_view_column_pack_start ()</h3>
<a class="indexterm" name="id3107806"></a><pre class="programlisting">void gtk_tree_view_column_pack_start (<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a href="GtkCellRenderer.html" title="GtkCellRenderer">GtkCellRenderer</a> *cell,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> expand);</pre>
<p>
Packs the <em class="parameter"><code>cell</code></em> into the beginning of the column. If <em class="parameter"><code>expand</code></em> is <a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a>, then
the <em class="parameter"><code>cell</code></em> is allocated no more space than it needs. Any unused space is divided
evenly between cells for which <em class="parameter"><code>expand</code></em> is <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>cell</code></em> :</span></td>
<td> The <a href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>expand</code></em> :</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if <em class="parameter"><code>cell</code></em> is to be given extra space allocated to <em class="parameter"><code>tree_column</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3107984"></a><h3>
<a name="gtk-tree-view-column-pack-end"></a>gtk_tree_view_column_pack_end ()</h3>
<a class="indexterm" name="id3107998"></a><pre class="programlisting">void gtk_tree_view_column_pack_end (<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a href="GtkCellRenderer.html" title="GtkCellRenderer">GtkCellRenderer</a> *cell,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> expand);</pre>
<p>
Adds the <em class="parameter"><code>cell</code></em> to end of the column. If <em class="parameter"><code>expand</code></em> is <a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a>, then the <em class="parameter"><code>cell</code></em>
is allocated no more space than it needs. Any unused space is divided
evenly between cells for which <em class="parameter"><code>expand</code></em> is <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>cell</code></em> :</span></td>
<td> The <a href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>expand</code></em> :</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if <em class="parameter"><code>cell</code></em> is to be given extra space allocated to <em class="parameter"><code>tree_column</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3108176"></a><h3>
<a name="gtk-tree-view-column-clear"></a>gtk_tree_view_column_clear ()</h3>
<a class="indexterm" name="id3108190"></a><pre class="programlisting">void gtk_tree_view_column_clear (<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);</pre>
<p>
Unsets all the mappings on all renderers on the <em class="parameter"><code>tree_column</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3108254"></a><h3>
<a name="gtk-tree-view-column-get-cell-renderers"></a>gtk_tree_view_column_get_cell_renderers ()</h3>
<a class="indexterm" name="id3108268"></a><pre class="programlisting"><a
href="../glib/glib-Doubly-Linked-Lists.html#GList"
>GList</a>* gtk_tree_view_column_get_cell_renderers
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);</pre>
<p>
Returns a newly-allocated <a
href="../glib/glib-Doubly-Linked-Lists.html#GList"
><span class="type">GList</span></a> of all the cell renderers in the column,
in no particular order. The list must be freed with <a
href="../glib/glib-Doubly-Linked-Lists.html#g-list-free"
><code class="function">g_list_free()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> A list of <span class="type">GtkCellRenderers</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3108367"></a><h3>
<a name="gtk-tree-view-column-add-attribute"></a>gtk_tree_view_column_add_attribute ()</h3>
<a class="indexterm" name="id3108382"></a><pre class="programlisting">void gtk_tree_view_column_add_attribute
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a href="GtkCellRenderer.html" title="GtkCellRenderer">GtkCellRenderer</a> *cell_renderer,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *attribute,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> column);</pre>
<p>
Adds an attribute mapping to the list in <em class="parameter"><code>tree_column</code></em>. The <em class="parameter"><code>column</code></em> is the
column of the model to get a value from, and the <em class="parameter"><code>attribute</code></em> is the
parameter on <em class="parameter"><code>cell_renderer</code></em> to be set from the value. So for example
if column 2 of the model contains strings, you could have the
"text" attribute of a <a href="GtkCellRendererText.html" title="GtkCellRendererText"><span class="type">GtkCellRendererText</span></a> get its values from
column 2.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>cell_renderer</code></em> :</span></td>
<td> the <a href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> to set attributes on
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>attribute</code></em> :</span></td>
<td> An attribute on the renderer
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>column</code></em> :</span></td>
<td> The column position on the model to get the attribute from.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3108552"></a><h3>
<a name="gtk-tree-view-column-set-attributes"></a>gtk_tree_view_column_set_attributes ()</h3>
<a class="indexterm" name="id3108566"></a><pre class="programlisting">void gtk_tree_view_column_set_attributes
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a href="GtkCellRenderer.html" title="GtkCellRenderer">GtkCellRenderer</a> *cell_renderer,
...);</pre>
<p>
Sets the attributes in the list as the attributes of <em class="parameter"><code>tree_column</code></em>.
The attributes should be in attribute/column order, as in
<a href="GtkTreeViewColumn.html#gtk-tree-view-column-add-attribute"><code class="function">gtk_tree_view_column_add_attribute()</code></a>. All existing attributes
are removed, and replaced with the new attributes.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>cell_renderer</code></em> :</span></td>
<td> the <a href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> we're setting the attributes of
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>...</code></em> :</span></td>
<td> A <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>-terminated list of attributes.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3108701"></a><h3>
<a name="gtk-tree-view-column-set-cell-data-func"></a>gtk_tree_view_column_set_cell_data_func ()</h3>
<a class="indexterm" name="id3108715"></a><pre class="programlisting">void gtk_tree_view_column_set_cell_data_func
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a href="GtkCellRenderer.html" title="GtkCellRenderer">GtkCellRenderer</a> *cell_renderer,
<a href="GtkTreeViewColumn.html#GtkTreeCellDataFunc">GtkTreeCellDataFunc</a> func,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> func_data,
<a href="gtk-Types.html#GtkDestroyNotify">GtkDestroyNotify</a> destroy);</pre>
<p>
Sets the <span class="type">GtkTreeViewColumnFunc</span> to use for the column. This
function is used instead of the standard attributes mapping for
setting the column value, and should set the value of <em class="parameter"><code>tree_column</code></em>'s
cell renderer as appropriate. <em class="parameter"><code>func</code></em> may be <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> to remove an
older one.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>cell_renderer</code></em> :</span></td>
<td> A <a href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>func</code></em> :</span></td>
<td> The <span class="type">GtkTreeViewColumnFunc</span> to use.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>func_data</code></em> :</span></td>
<td> The user data for <em class="parameter"><code>func</code></em>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>destroy</code></em> :</span></td>
<td> The destroy notification for <em class="parameter"><code>func_data</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3108925"></a><h3>
<a name="gtk-tree-view-column-clear-attributes"></a>gtk_tree_view_column_clear_attributes ()</h3>
<a class="indexterm" name="id3108939"></a><pre class="programlisting">void gtk_tree_view_column_clear_attributes
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a href="GtkCellRenderer.html" title="GtkCellRenderer">GtkCellRenderer</a> *cell_renderer);</pre>
<p>
Clears all existing attributes previously set with
<a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-attributes"><code class="function">gtk_tree_view_column_set_attributes()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> a <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>cell_renderer</code></em> :</span></td>
<td> a <a href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> to clear the attribute mapping on.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3109042"></a><h3>
<a name="gtk-tree-view-column-set-spacing"></a>gtk_tree_view_column_set_spacing ()</h3>
<a class="indexterm" name="id3109055"></a><pre class="programlisting">void gtk_tree_view_column_set_spacing
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> spacing);</pre>
<p>
Sets the spacing field of <em class="parameter"><code>tree_column</code></em>, which is the number of pixels to
place between cell renderers packed into it.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>spacing</code></em> :</span></td>
<td> distance between cell renderers in pixels.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3109143"></a><h3>
<a name="gtk-tree-view-column-get-spacing"></a>gtk_tree_view_column_get_spacing ()</h3>
<a class="indexterm" name="id3109157"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> gtk_tree_view_column_get_spacing
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);</pre>
<p>
Returns the spacing of <em class="parameter"><code>tree_column</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> the spacing of <em class="parameter"><code>tree_column</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3109238"></a><h3>
<a name="gtk-tree-view-column-set-visible"></a>gtk_tree_view_column_set_visible ()</h3>
<a class="indexterm" name="id3109252"></a><pre class="programlisting">void gtk_tree_view_column_set_visible
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> visible);</pre>
<p>
Sets the visibility of <em class="parameter"><code>tree_column</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>visible</code></em> :</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the <em class="parameter"><code>tree_column</code></em> is visible.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3109355"></a><h3>
<a name="gtk-tree-view-column-get-visible"></a>gtk_tree_view_column_get_visible ()</h3>
<a class="indexterm" name="id3109369"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gtk_tree_view_column_get_visible
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);</pre>
<p>
Returns <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if <em class="parameter"><code>tree_column</code></em> is visible.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> whether the column is visible or not. If it is visible, then
the tree will show the column.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3109456"></a><h3>
<a name="gtk-tree-view-column-set-resizable"></a>gtk_tree_view_column_set_resizable ()</h3>
<a class="indexterm" name="id3109470"></a><pre class="programlisting">void gtk_tree_view_column_set_resizable
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> resizable);</pre>
<p>
If <em class="parameter"><code>resizable</code></em> is <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a>, then the user can explicitly resize the column by
grabbing the outer edge of the column button. If resizable is <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> and
sizing mode of the column is <a href="GtkTreeViewColumn.html#GTK-TREE-VIEW-COLUMN-AUTOSIZE:CAPS"><span class="type">GTK_TREE_VIEW_COLUMN_AUTOSIZE</span></a>, then the sizing
mode is changed to <a href="GtkTreeViewColumn.html#GTK-TREE-VIEW-COLUMN-GROW-ONLY:CAPS"><span class="type">GTK_TREE_VIEW_COLUMN_GROW_ONLY</span></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>resizable</code></em> :</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a>, if the column can be resized
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3109610"></a><h3>
<a name="gtk-tree-view-column-get-resizable"></a>gtk_tree_view_column_get_resizable ()</h3>
<a class="indexterm" name="id3109624"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gtk_tree_view_column_get_resizable
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);</pre>
<p>
Returns <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the <em class="parameter"><code>tree_column</code></em> can be resized by the end user.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a>, if the <em class="parameter"><code>tree_column</code></em> can be resized.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3109726"></a><h3>
<a name="gtk-tree-view-column-set-sizing"></a>gtk_tree_view_column_set_sizing ()</h3>
<a class="indexterm" name="id3109740"></a><pre class="programlisting">void gtk_tree_view_column_set_sizing (<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a href="GtkTreeViewColumn.html#GtkTreeViewColumnSizing">GtkTreeViewColumnSizing</a> type);</pre>
<p>
Sets the growth behavior of <em class="parameter"><code>tree_column</code></em> to <em class="parameter"><code>type</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>type</code></em> :</span></td>
<td> The <a href="GtkTreeViewColumn.html#GtkTreeViewColumnSizing"><span class="type">GtkTreeViewColumnSizing</span></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3109841"></a><h3>
<a name="gtk-tree-view-column-get-sizing"></a>gtk_tree_view_column_get_sizing ()</h3>
<a class="indexterm" name="id3109854"></a><pre class="programlisting"><a href="GtkTreeViewColumn.html#GtkTreeViewColumnSizing">GtkTreeViewColumnSizing</a> gtk_tree_view_column_get_sizing
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);</pre>
<p>
Returns the current type of <em class="parameter"><code>tree_column</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> The type of <em class="parameter"><code>tree_column</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3109937"></a><h3>
<a name="gtk-tree-view-column-get-width"></a>gtk_tree_view_column_get_width ()</h3>
<a class="indexterm" name="id3109950"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> gtk_tree_view_column_get_width (<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);</pre>
<p>
Returns the current size of <em class="parameter"><code>tree_column</code></em> in pixels.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> The current width of <em class="parameter"><code>tree_column</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3110031"></a><h3>
<a name="gtk-tree-view-column-get-fixed-width"></a>gtk_tree_view_column_get_fixed_width ()</h3>
<a class="indexterm" name="id3110045"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> gtk_tree_view_column_get_fixed_width
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);</pre>
<p>
Gets the fixed width of the column. This value is only meaning may not be
the actual width of the column on the screen, just what is requested.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> a <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> the fixed width of the column
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3110117"></a><h3>
<a name="gtk-tree-view-column-set-fixed-width"></a>gtk_tree_view_column_set_fixed_width ()</h3>
<a class="indexterm" name="id3110131"></a><pre class="programlisting">void gtk_tree_view_column_set_fixed_width
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> fixed_width);</pre>
<p>
Sets the size of the column in pixels. This is meaningful only if the sizing
type is <a href="GtkTreeViewColumn.html#GTK-TREE-VIEW-COLUMN-FIXED:CAPS"><span class="type">GTK_TREE_VIEW_COLUMN_FIXED</span></a>. The size of the column is clamped to
the min/max width for the column. Please note that the min/max width of the
column doesn't actually affect the "fixed_width" property of the widget, just
the actual size when displayed.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>fixed_width</code></em> :</span></td>
<td> The size to set <em class="parameter"><code>tree_column</code></em> to. Must be greater than 0.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3110234"></a><h3>
<a name="gtk-tree-view-column-set-min-width"></a>gtk_tree_view_column_set_min_width ()</h3>
<a class="indexterm" name="id3110248"></a><pre class="programlisting">void gtk_tree_view_column_set_min_width
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> min_width);</pre>
<p>
Sets the minimum width of the <em class="parameter"><code>tree_column</code></em>. If <em class="parameter"><code>min_width</code></em> is -1, then the
minimum width is unset.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>min_width</code></em> :</span></td>
<td> The minimum width of the column in pixels, or -1.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3110341"></a><h3>
<a name="gtk-tree-view-column-get-min-width"></a>gtk_tree_view_column_get_min_width ()</h3>
<a class="indexterm" name="id3110356"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> gtk_tree_view_column_get_min_width
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);</pre>
<p>
Returns the minimum width in pixels of the <em class="parameter"><code>tree_column</code></em>, or -1 if no minimum
width is set.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> The minimum width of the <em class="parameter"><code>tree_column</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3110438"></a><h3>
<a name="gtk-tree-view-column-set-max-width"></a>gtk_tree_view_column_set_max_width ()</h3>
<a class="indexterm" name="id3110452"></a><pre class="programlisting">void gtk_tree_view_column_set_max_width
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> max_width);</pre>
<p>
Sets the maximum width of the <em class="parameter"><code>tree_column</code></em>. If <em class="parameter"><code>max_width</code></em> is -1, then the
maximum width is unset. Note, the column can actually be wider than max
width if it's the last column in a view. In this case, the column expands to
fill any extra space.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>max_width</code></em> :</span></td>
<td> The maximum width of the column in pixels, or -1.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3110548"></a><h3>
<a name="gtk-tree-view-column-get-max-width"></a>gtk_tree_view_column_get_max_width ()</h3>
<a class="indexterm" name="id3110562"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> gtk_tree_view_column_get_max_width
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);</pre>
<p>
Returns the maximum width in pixels of the <em class="parameter"><code>tree_column</code></em>, or -1 if no maximum
width is set.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> The maximum width of the <em class="parameter"><code>tree_column</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3110644"></a><h3>
<a name="gtk-tree-view-column-clicked"></a>gtk_tree_view_column_clicked ()</h3>
<a class="indexterm" name="id3110658"></a><pre class="programlisting">void gtk_tree_view_column_clicked (<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);</pre>
<p>
Emits the "clicked" signal on the column. This function will only work if
<em class="parameter"><code>tree_column</code></em> is clickable.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> a <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3110724"></a><h3>
<a name="gtk-tree-view-column-set-title"></a>gtk_tree_view_column_set_title ()</h3>
<a class="indexterm" name="id3110737"></a><pre class="programlisting">void gtk_tree_view_column_set_title (<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *title);</pre>
<p>
Sets the title of the <em class="parameter"><code>tree_column</code></em>. If a custom widget has been set, then
this value is ignored.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>title</code></em> :</span></td>
<td> The title of the <em class="parameter"><code>tree_column</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3110830"></a><h3>
<a name="gtk-tree-view-column-get-title"></a>gtk_tree_view_column_get_title ()</h3>
<a class="indexterm" name="id3110843"></a><pre class="programlisting">const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gtk_tree_view_column_get_title (<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);</pre>
<p>
Returns the title of the widget.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> the title of the column. This string should not be
modified or freed.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3110915"></a><h3>
<a name="gtk-tree-view-column-set-expand"></a>gtk_tree_view_column_set_expand ()</h3>
<a class="indexterm" name="id3110931"></a><pre class="programlisting">void gtk_tree_view_column_set_expand (<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> expand);</pre>
<p>
Sets the column to take available extra space. This space is shared equally
amongst all columns that have the expand set to <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a>. If no column has this
option set, then the last column gets all extra space. By default, every
column is created with this <a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>expand</code></em> :</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the column should take available extra space, <a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> if not
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3111060"></a><h3>
<a name="gtk-tree-view-column-get-expand"></a>gtk_tree_view_column_get_expand ()</h3>
<a class="indexterm" name="id3111076"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gtk_tree_view_column_get_expand (<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);</pre>
<p>
Return <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the column expands to take any available space.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> a <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a>, if the column expands
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3111170"></a><h3>
<a name="gtk-tree-view-column-set-clickable"></a>gtk_tree_view_column_set_clickable ()</h3>
<a class="indexterm" name="id3111184"></a><pre class="programlisting">void gtk_tree_view_column_set_clickable
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> clickable);</pre>
<p>
Sets the header to be active if <em class="parameter"><code>active</code></em> is <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a>. When the header is active,
then it can take keyboard focus, and can be clicked.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>clickable</code></em> :</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the header is active.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3111292"></a><h3>
<a name="gtk-tree-view-column-get-clickable"></a>gtk_tree_view_column_get_clickable ()</h3>
<a class="indexterm" name="id3111306"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gtk_tree_view_column_get_clickable
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);</pre>
<p>
Returns <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the user can click on the header for the column.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> a <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if user can click the column header.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3111397"></a><h3>
<a name="gtk-tree-view-column-set-widget"></a>gtk_tree_view_column_set_widget ()</h3>
<a class="indexterm" name="id3111411"></a><pre class="programlisting">void gtk_tree_view_column_set_widget (<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget);</pre>
<p>
Sets the widget in the header to be <em class="parameter"><code>widget</code></em>. If widget is <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>, then the
header button is set with a <a href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> set to the title of <em class="parameter"><code>tree_column</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em> :</span></td>
<td> A child <a href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3111540"></a><h3>
<a name="gtk-tree-view-column-get-widget"></a>gtk_tree_view_column_get_widget ()</h3>
<a class="indexterm" name="id3111553"></a><pre class="programlisting"><a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>* gtk_tree_view_column_get_widget (<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);</pre>
<p>
Returns the <a href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> in the button on the column header. If a custom
widget has not been set then <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> is returned.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> The <a href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> in the column header, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3111660"></a><h3>
<a name="gtk-tree-view-column-set-alignment"></a>gtk_tree_view_column_set_alignment ()</h3>
<a class="indexterm" name="id3111674"></a><pre class="programlisting">void gtk_tree_view_column_set_alignment
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a
href="../glib/glib-Basic-Types.html#gfloat"
>gfloat</a> xalign);</pre>
<p>
Sets the alignment of the title or custom widget inside the column header.
The alignment determines its location inside the button -- 0.0 for left, 0.5
for center, 1.0 for right.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>xalign</code></em> :</span></td>
<td> The alignment, which is between [0.0 and 1.0] inclusive.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3111757"></a><h3>
<a name="gtk-tree-view-column-get-alignment"></a>gtk_tree_view_column_get_alignment ()</h3>
<a class="indexterm" name="id3111772"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gfloat"
>gfloat</a> gtk_tree_view_column_get_alignment
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);</pre>
<p>
Returns the current x alignment of <em class="parameter"><code>tree_column</code></em>. This value can range
between 0.0 and 1.0.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> The current alignent of <em class="parameter"><code>tree_column</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3111854"></a><h3>
<a name="gtk-tree-view-column-set-reorderable"></a>gtk_tree_view_column_set_reorderable ()</h3>
<a class="indexterm" name="id3111867"></a><pre class="programlisting">void gtk_tree_view_column_set_reorderable
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> reorderable);</pre>
<p>
If <em class="parameter"><code>reorderable</code></em> is <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a>, then the column can be reordered by the end user
dragging the header.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>reorderable</code></em> :</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a>, if the column can be reordered.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3111976"></a><h3>
<a name="gtk-tree-view-column-get-reorderable"></a>gtk_tree_view_column_get_reorderable ()</h3>
<a class="indexterm" name="id3111990"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gtk_tree_view_column_get_reorderable
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);</pre>
<p>
Returns <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the <em class="parameter"><code>tree_column</code></em> can be reordered by the user.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the <em class="parameter"><code>tree_column</code></em> can be reordered by the user.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3112093"></a><h3>
<a name="gtk-tree-view-column-set-sort-column-id"></a>gtk_tree_view_column_set_sort_column_id ()</h3>
<a class="indexterm" name="id3112107"></a><pre class="programlisting">void gtk_tree_view_column_set_sort_column_id
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> sort_column_id);</pre>
<p>
Sets the logical <em class="parameter"><code>sort_column_id</code></em> that this column sorts on when this column
is selected for sorting. Doing so makes the column header clickable.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> a <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>sort_column_id</code></em> :</span></td>
<td> The <em class="parameter"><code>sort_column_id</code></em> of the model to sort on.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3112202"></a><h3>
<a name="gtk-tree-view-column-get-sort-column-id"></a>gtk_tree_view_column_get_sort_column_id ()</h3>
<a class="indexterm" name="id3112216"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> gtk_tree_view_column_get_sort_column_id
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);</pre>
<p>
Gets the logical <em class="parameter"><code>sort_column_id</code></em> that the model sorts on when this
column is selected for sorting.
See <a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-sort-column-id"><code class="function">gtk_tree_view_column_set_sort_column_id()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> a <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> the current <em class="parameter"><code>sort_column_id</code></em> for this column, or -1 if
this column can't be used for sorting.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3112312"></a><h3>
<a name="gtk-tree-view-column-set-sort-indicator"></a>gtk_tree_view_column_set_sort_indicator ()</h3>
<a class="indexterm" name="id3112327"></a><pre class="programlisting">void gtk_tree_view_column_set_sort_indicator
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> setting);</pre>
<p>
Call this function with a <em class="parameter"><code>setting</code></em> of <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> to display an arrow in
the header button indicating the column is sorted. Call
<a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-sort-order"><code class="function">gtk_tree_view_column_set_sort_order()</code></a> to change the direction of
the arrow.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> a <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>setting</code></em> :</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> to display an indicator that the column is sorted
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3112449"></a><h3>
<a name="gtk-tree-view-column-get-sort-indicator"></a>gtk_tree_view_column_get_sort_indicator ()</h3>
<a class="indexterm" name="id3112463"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gtk_tree_view_column_get_sort_indicator
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);</pre>
<p>
Gets the value set by <a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-sort-indicator"><code class="function">gtk_tree_view_column_set_sort_indicator()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> a <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> whether the sort indicator arrow is displayed
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3112545"></a><h3>
<a name="gtk-tree-view-column-set-sort-order"></a>gtk_tree_view_column_set_sort_order ()</h3>
<a class="indexterm" name="id3112558"></a><pre class="programlisting">void gtk_tree_view_column_set_sort_order
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a href="gtk-Standard-Enumerations.html#GtkSortType">GtkSortType</a> order);</pre>
<p>
Changes the appearance of the sort indicator.
</p>
<p>
This <span class="emphasis"><em>does not</em></span> actually sort the model. Use
<a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-sort-column-id"><code class="function">gtk_tree_view_column_set_sort_column_id()</code></a> if you want automatic sorting
support. This function is primarily for custom sorting behavior, and should
be used in conjunction with <code class="function">gtk_tree_sortable_set_sort_column()</code> to do
that. For custom models, the mechanism will vary.
</p>
<p>
The sort indicator changes direction to indicate normal sort or reverse sort.
Note that you must have the sort indicator enabled to see anything when
calling this function; see <a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-sort-indicator"><code class="function">gtk_tree_view_column_set_sort_indicator()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> a <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>order</code></em> :</span></td>
<td> sort order that the sort indicator should indicate
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3112693"></a><h3>
<a name="gtk-tree-view-column-get-sort-order"></a>gtk_tree_view_column_get_sort_order ()</h3>
<a class="indexterm" name="id3112707"></a><pre class="programlisting"><a href="gtk-Standard-Enumerations.html#GtkSortType">GtkSortType</a> gtk_tree_view_column_get_sort_order
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);</pre>
<p>
Gets the value set by <a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-sort-order"><code class="function">gtk_tree_view_column_set_sort_order()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> a <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> the sort order the sort indicator is indicating
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3112789"></a><h3>
<a name="gtk-tree-view-column-cell-set-cell-data"></a>gtk_tree_view_column_cell_set_cell_data ()</h3>
<a class="indexterm" name="id3112803"></a><pre class="programlisting">void gtk_tree_view_column_cell_set_cell_data
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a href="GtkTreeModel.html" title="GtkTreeModel">GtkTreeModel</a> *tree_model,
<a href="GtkTreeModel.html#GtkTreeIter">GtkTreeIter</a> *iter,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> is_expander,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> is_expanded);</pre>
<p>
Sets the cell renderer based on the <em class="parameter"><code>tree_model</code></em> and <em class="parameter"><code>iter</code></em>. That is, for
every attribute mapping in <em class="parameter"><code>tree_column</code></em>, it will get a value from the set
column on the <em class="parameter"><code>iter</code></em>, and use that value to set the attribute on the cell
renderer. This is used primarily by the <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_model</code></em> :</span></td>
<td> The <a href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> to to get the cell renderers attributes from.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>iter</code></em> :</span></td>
<td> The <a href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> to to get the cell renderer's attributes from.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>is_expander</code></em> :</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a>, if the row has children
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>is_expanded</code></em> :</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a>, if the row has visible children
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3113021"></a><h3>
<a name="gtk-tree-view-column-cell-get-size"></a>gtk_tree_view_column_cell_get_size ()</h3>
<a class="indexterm" name="id3113036"></a><pre class="programlisting">void gtk_tree_view_column_cell_get_size
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *cell_area,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *x_offset,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *y_offset,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *width,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *height);</pre>
<p>
Obtains the width and height needed to render the column. This is used
primarily by the <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>cell_area</code></em> :</span></td>
<td> The area a cell in the column will be allocated, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x_offset</code></em> :</span></td>
<td> location to return x offset of a cell relative to <em class="parameter"><code>cell_area</code></em>, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y_offset</code></em> :</span></td>
<td> location to return y offset of a cell relative to <em class="parameter"><code>cell_area</code></em>, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>width</code></em> :</span></td>
<td> location to return width needed to render a cell, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>height</code></em> :</span></td>
<td> location to return height needed to render a cell, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3113277"></a><h3>
<a name="gtk-tree-view-column-cell-get-position"></a>gtk_tree_view_column_cell_get_position ()</h3>
<a class="indexterm" name="id3113291"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gtk_tree_view_column_cell_get_position
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a href="GtkCellRenderer.html" title="GtkCellRenderer">GtkCellRenderer</a> *cell_renderer,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *start_pos,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *width);</pre>
<p>
Obtains the horizontal position and size of a cell in a column. If the
cell is not found in the column, <em class="parameter"><code>start_pos</code></em> and <em class="parameter"><code>width</code></em> are not changed and
<a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> is returned.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> a <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>cell_renderer</code></em> :</span></td>
<td> a <a href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>start_pos</code></em> :</span></td>
<td> return location for the horizontal position of <em class="parameter"><code>cell</code></em> within
<em class="parameter"><code>tree_column</code></em>, may be <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>width</code></em> :</span></td>
<td> return location for the width of <em class="parameter"><code>cell</code></em>, may be <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if <em class="parameter"><code>cell</code></em> belongs to <em class="parameter"><code>tree_column</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3113519"></a><h3>
<a name="gtk-tree-view-column-cell-is-visible"></a>gtk_tree_view_column_cell_is_visible ()</h3>
<a class="indexterm" name="id3113533"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gtk_tree_view_column_cell_is_visible
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);</pre>
<p>
Returns <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if any of the cells packed into the <em class="parameter"><code>tree_column</code></em> are visible.
For this to be meaningful, you must first initialize the cells with
<a href="GtkTreeViewColumn.html#gtk-tree-view-column-cell-set-cell-data"><code class="function">gtk_tree_view_column_cell_set_cell_data()</code></a></p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a>, if any of the cells packed into the <em class="parameter"><code>tree_column</code></em> are currently visible
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3113648"></a><h3>
<a name="gtk-tree-view-column-focus-cell"></a>gtk_tree_view_column_focus_cell ()</h3>
<a class="indexterm" name="id3113664"></a><pre class="programlisting">void gtk_tree_view_column_focus_cell (<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column,
<a href="GtkCellRenderer.html" title="GtkCellRenderer">GtkCellRenderer</a> *cell);</pre>
<p>
Sets the current keyboard focus to be at <em class="parameter"><code>cell</code></em>, if the column contains
2 or more editable and activatable cells.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>cell</code></em> :</span></td>
<td> A <a href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a>
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.2
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3113764"></a><h3>
<a name="gtk-tree-view-column-queue-resize"></a>gtk_tree_view_column_queue_resize ()</h3>
<a class="indexterm" name="id3113780"></a><pre class="programlisting">void gtk_tree_view_column_queue_resize
(<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *tree_column);</pre>
<p>
Flags the column, and the cell renderers added to this column, to have
their sizes renegotiated.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>tree_column</code></em> :</span></td>
<td> A <a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>
</td>
</tr></tbody>
</table></div>
<p>Since 2.8
</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id3113845"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id3113856"></a><h3>
<a name="GtkTreeViewColumn--alignment"></a>The "<code class="literal">alignment</code>" property</h3>
<a class="indexterm" name="id3113873"></a><pre class="programlisting"> "alignment" <a
href="../glib/glib-Basic-Types.html#gfloat"
>gfloat</a> : Read / Write</pre>
<p>X Alignment of the column header text or widget.</p>
<p>Allowed values: [0,1]</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3113903"></a><h3>
<a name="GtkTreeViewColumn--clickable"></a>The "<code class="literal">clickable</code>" property</h3>
<a class="indexterm" name="id3113919"></a><pre class="programlisting"> "clickable" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write</pre>
<p>Whether the header can be clicked.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3113946"></a><h3>
<a name="GtkTreeViewColumn--expand"></a>The "<code class="literal">expand</code>" property</h3>
<a class="indexterm" name="id3113963"></a><pre class="programlisting"> "expand" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write</pre>
<p>Column gets share of extra width allocated to the widget.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3113990"></a><h3>
<a name="GtkTreeViewColumn--fixed-width"></a>The "<code class="literal">fixed-width</code>" property</h3>
<a class="indexterm" name="id3114006"></a><pre class="programlisting"> "fixed-width" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write</pre>
<p>Current fixed width of the column.</p>
<p>Allowed values: >= 1</p>
<p>Default value: 1</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3114037"></a><h3>
<a name="GtkTreeViewColumn--max-width"></a>The "<code class="literal">max-width</code>" property</h3>
<a class="indexterm" name="id3114054"></a><pre class="programlisting"> "max-width" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write</pre>
<p>Maximum allowed width of the column.</p>
<p>Allowed values: >= -1</p>
<p>Default value: -1</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3114084"></a><h3>
<a name="GtkTreeViewColumn--min-width"></a>The "<code class="literal">min-width</code>" property</h3>
<a class="indexterm" name="id3114101"></a><pre class="programlisting"> "min-width" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write</pre>
<p>Minimum allowed width of the column.</p>
<p>Allowed values: >= -1</p>
<p>Default value: -1</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3114132"></a><h3>
<a name="GtkTreeViewColumn--reorderable"></a>The "<code class="literal">reorderable</code>" property</h3>
<a class="indexterm" name="id3114148"></a><pre class="programlisting"> "reorderable" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write</pre>
<p>Whether the column can be reordered around the headers.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3114176"></a><h3>
<a name="GtkTreeViewColumn--resizable"></a>The "<code class="literal">resizable</code>" property</h3>
<a class="indexterm" name="id3114193"></a><pre class="programlisting"> "resizable" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write</pre>
<p>Column is user-resizable.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3114219"></a><h3>
<a name="GtkTreeViewColumn--sizing"></a>The "<code class="literal">sizing</code>" property</h3>
<a class="indexterm" name="id3114235"></a><pre class="programlisting"> "sizing" <a href="GtkTreeViewColumn.html#GtkTreeViewColumnSizing">GtkTreeViewColumnSizing</a> : Read / Write</pre>
<p>Resize mode of the column.</p>
<p>Default value: GTK_TREE_VIEW_COLUMN_GROW_ONLY</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3114262"></a><h3>
<a name="GtkTreeViewColumn--sort-indicator"></a>The "<code class="literal">sort-indicator</code>" property</h3>
<a class="indexterm" name="id3114279"></a><pre class="programlisting"> "sort-indicator" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write</pre>
<p>Whether to show a sort indicator.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3114306"></a><h3>
<a name="GtkTreeViewColumn--sort-order"></a>The "<code class="literal">sort-order</code>" property</h3>
<a class="indexterm" name="id3114322"></a><pre class="programlisting"> "sort-order" <a href="gtk-Standard-Enumerations.html#GtkSortType">GtkSortType</a> : Read / Write</pre>
<p>Sort direction the sort indicator should indicate.</p>
<p>Default value: GTK_SORT_ASCENDING</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3114349"></a><h3>
<a name="GtkTreeViewColumn--spacing"></a>The "<code class="literal">spacing</code>" property</h3>
<a class="indexterm" name="id3114366"></a><pre class="programlisting"> "spacing" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write</pre>
<p>Space which is inserted between cells.</p>
<p>Allowed values: >= 0</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3114396"></a><h3>
<a name="GtkTreeViewColumn--title"></a>The "<code class="literal">title</code>" property</h3>
<a class="indexterm" name="id3114413"></a><pre class="programlisting"> "title" <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a> : Read / Write</pre>
<p>Title to appear in column header.</p>
<p>Default value: ""</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3114439"></a><h3>
<a name="GtkTreeViewColumn--visible"></a>The "<code class="literal">visible</code>" property</h3>
<a class="indexterm" name="id3114455"></a><pre class="programlisting"> "visible" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write</pre>
<p>Whether to display the column.</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3114481"></a><h3>
<a name="GtkTreeViewColumn--widget"></a>The "<code class="literal">widget</code>" property</h3>
<a class="indexterm" name="id3114498"></a><pre class="programlisting"> "widget" <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> : Read / Write</pre>
<p>Widget to put in column header button instead of column title.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3114521"></a><h3>
<a name="GtkTreeViewColumn--width"></a>The "<code class="literal">width</code>" property</h3>
<a class="indexterm" name="id3114538"></a><pre class="programlisting"> "width" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read</pre>
<p>Current width of the column.</p>
<p>Allowed values: >= 0</p>
<p>Default value: 0</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id3114569"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id3114579"></a><h3>
<a name="GtkTreeViewColumn-clicked"></a>The "clicked" signal</h3>
<a class="indexterm" name="id3114590"></a><pre class="programlisting">void user_function (<a href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">GtkTreeViewColumn</a> *treeviewcolumn,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run last</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>treeviewcolumn</code></em> :</span></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id3114660"></a><h2>See Also</h2>
<p>
<a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>, <a href="GtkTreeSelection.html" title="GtkTreeSelection"><span class="type">GtkTreeSelection</span></a>, <span class="type">GtkTreeDnd</span>, <span class="type">GtkTreeMode</span>, <a href="GtkTreeSortable.html" title="GtkTreeSortable"><span class="type">GtkTreeSortable</span></a>, <a href="GtkTreeModelSort.html" title="GtkTreeModelSort"><span class="type">GtkTreeModelSort</span></a>, <a href="GtkListStore.html" title="GtkListStore"><span class="type">GtkListStore</span></a>, <a href="GtkTreeStore.html" title="GtkTreeStore"><span class="type">GtkTreeStore</span></a>, <a href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a>, <a href="GtkCellEditable.html" title="GtkCellEditable"><span class="type">GtkCellEditable</span></a>, <a href="GtkCellRendererPixbuf.html" title="GtkCellRendererPixbuf"><span class="type">GtkCellRendererPixbuf</span></a>, <a href="GtkCellRendererText.html" title="GtkCellRendererText"><span class="type">GtkCellRendererText</span></a>, <a href="GtkCellRendererToggle.html" title="GtkCellRendererToggle"><span class="type">GtkCellRendererToggle</span></a>
</p>
</div>
</div>
</body>
</html>