1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
5 A visible column in a #GtkTreeView widget
7 <!-- ##### SECTION Long_Description ##### -->
9 The GtkTreeViewColumn object is a visible column in a #GtkTreeView widget.
12 <!-- ##### SECTION See_Also ##### -->
14 #GtkTreeView, #GtkTreeSelection, #GtkTreeDnd, #GtkTreeMode, #GtkTreeSortable, #GtkTreeModelSort, #GtkListStore, #GtkTreeStore, #GtkCellRenderer, #GtkCellEditable, #GtkCellRendererPixbuf, #GtkCellRendererText, #GtkCellRendererToggle
18 <!-- ##### ENUM GtkTreeViewColumnSizing ##### -->
20 The sizing method the column uses to determine its width. Please note
21 that @GTK_TREE_VIEW_COLUMN_AUTOSIZE are inefficient for large views, and
22 can make columns appear choppy.
25 @GTK_TREE_VIEW_COLUMN_GROW_ONLY: Columns only get bigger in reaction to changes in the model
26 @GTK_TREE_VIEW_COLUMN_AUTOSIZE: Columns resize to be the optimal size everytime the model changes.
27 @GTK_TREE_VIEW_COLUMN_FIXED: Columns are a fixed numbers of pixels wide.
29 <!-- ##### USER_FUNCTION GtkTreeCellDataFunc ##### -->
31 A function to set the properties of a cell instead of just using the
32 straight mapping between the cell and the model. This is useful for
33 customizing the cell renderer. For example, a function might get an
34 integer from the @tree_model, and render it to the "text" attribute of
35 "cell" by converting it to its written equivilent. This is set by
36 calling gtk_tree_view_column_set_cell_data_func()
39 @tree_column: A #GtkTreeColumn
40 @cell: The #GtkCellRenderer that is being rendered by @tree_column
41 @tree_model: The #GtkTreeModel being rendered
42 @iter: A #GtkTreeIter of the current row rendered
46 <!-- ##### STRUCT GtkTreeViewColumn ##### -->
52 <!-- ##### SIGNAL GtkTreeViewColumn::clicked ##### -->
57 @treeviewcolumn: the object which received the signal.
59 <!-- ##### ARG GtkTreeViewColumn:alignment ##### -->
64 <!-- ##### ARG GtkTreeViewColumn:clickable ##### -->
69 <!-- ##### ARG GtkTreeViewColumn:expand ##### -->
74 <!-- ##### ARG GtkTreeViewColumn:fixed-width ##### -->
79 <!-- ##### ARG GtkTreeViewColumn:max-width ##### -->
84 <!-- ##### ARG GtkTreeViewColumn:min-width ##### -->
89 <!-- ##### ARG GtkTreeViewColumn:reorderable ##### -->
94 <!-- ##### ARG GtkTreeViewColumn:resizable ##### -->
99 <!-- ##### ARG GtkTreeViewColumn:sizing ##### -->
104 <!-- ##### ARG GtkTreeViewColumn:sort-indicator ##### -->
109 <!-- ##### ARG GtkTreeViewColumn:sort-order ##### -->
114 <!-- ##### ARG GtkTreeViewColumn:title ##### -->
119 <!-- ##### ARG GtkTreeViewColumn:visible ##### -->
124 <!-- ##### ARG GtkTreeViewColumn:widget ##### -->
129 <!-- ##### ARG GtkTreeViewColumn:width ##### -->
134 <!-- ##### FUNCTION gtk_tree_view_column_new ##### -->
142 <!-- ##### FUNCTION gtk_tree_view_column_new_with_attributes ##### -->
153 <!-- ##### FUNCTION gtk_tree_view_column_pack_start ##### -->
163 <!-- ##### FUNCTION gtk_tree_view_column_pack_end ##### -->
173 <!-- ##### FUNCTION gtk_tree_view_column_clear ##### -->
181 <!-- ##### FUNCTION gtk_tree_view_column_get_cell_renderers ##### -->
190 <!-- ##### FUNCTION gtk_tree_view_column_add_attribute ##### -->
201 <!-- ##### FUNCTION gtk_tree_view_column_set_attributes ##### -->
211 <!-- ##### FUNCTION gtk_tree_view_column_set_cell_data_func ##### -->
223 <!-- ##### FUNCTION gtk_tree_view_column_clear_attributes ##### -->
232 <!-- ##### FUNCTION gtk_tree_view_column_set_spacing ##### -->
241 <!-- ##### FUNCTION gtk_tree_view_column_get_spacing ##### -->
250 <!-- ##### FUNCTION gtk_tree_view_column_set_visible ##### -->
259 <!-- ##### FUNCTION gtk_tree_view_column_get_visible ##### -->
268 <!-- ##### FUNCTION gtk_tree_view_column_set_resizable ##### -->
277 <!-- ##### FUNCTION gtk_tree_view_column_get_resizable ##### -->
286 <!-- ##### FUNCTION gtk_tree_view_column_set_sizing ##### -->
295 <!-- ##### FUNCTION gtk_tree_view_column_get_sizing ##### -->
304 <!-- ##### FUNCTION gtk_tree_view_column_get_width ##### -->
313 <!-- ##### FUNCTION gtk_tree_view_column_get_fixed_width ##### -->
322 <!-- ##### FUNCTION gtk_tree_view_column_set_fixed_width ##### -->
331 <!-- ##### FUNCTION gtk_tree_view_column_set_min_width ##### -->
340 <!-- ##### FUNCTION gtk_tree_view_column_get_min_width ##### -->
349 <!-- ##### FUNCTION gtk_tree_view_column_set_max_width ##### -->
358 <!-- ##### FUNCTION gtk_tree_view_column_get_max_width ##### -->
367 <!-- ##### FUNCTION gtk_tree_view_column_clicked ##### -->
375 <!-- ##### FUNCTION gtk_tree_view_column_set_title ##### -->
384 <!-- ##### FUNCTION gtk_tree_view_column_get_title ##### -->
393 <!-- ##### FUNCTION gtk_tree_view_column_set_expand ##### -->
402 <!-- ##### FUNCTION gtk_tree_view_column_get_expand ##### -->
411 <!-- ##### FUNCTION gtk_tree_view_column_set_clickable ##### -->
418 <!-- # Unused Parameters # -->
422 <!-- ##### FUNCTION gtk_tree_view_column_get_clickable ##### -->
431 <!-- ##### FUNCTION gtk_tree_view_column_set_widget ##### -->
440 <!-- ##### FUNCTION gtk_tree_view_column_get_widget ##### -->
449 <!-- ##### FUNCTION gtk_tree_view_column_set_alignment ##### -->
458 <!-- ##### FUNCTION gtk_tree_view_column_get_alignment ##### -->
467 <!-- ##### FUNCTION gtk_tree_view_column_set_reorderable ##### -->
476 <!-- ##### FUNCTION gtk_tree_view_column_get_reorderable ##### -->
485 <!-- ##### FUNCTION gtk_tree_view_column_set_sort_column_id ##### -->
494 <!-- ##### FUNCTION gtk_tree_view_column_get_sort_column_id ##### -->
503 <!-- ##### FUNCTION gtk_tree_view_column_set_sort_indicator ##### -->
512 <!-- ##### FUNCTION gtk_tree_view_column_get_sort_indicator ##### -->
521 <!-- ##### FUNCTION gtk_tree_view_column_set_sort_order ##### -->
530 <!-- ##### FUNCTION gtk_tree_view_column_get_sort_order ##### -->
539 <!-- ##### FUNCTION gtk_tree_view_column_cell_set_cell_data ##### -->
551 <!-- ##### FUNCTION gtk_tree_view_column_cell_get_size ##### -->
564 <!-- ##### FUNCTION gtk_tree_view_column_cell_get_position ##### -->
576 <!-- ##### FUNCTION gtk_tree_view_column_cell_is_visible ##### -->
585 <!-- ##### FUNCTION gtk_tree_view_column_focus_cell ##### -->