2000-10-30 23:21:38 +00:00
|
|
|
<!-- ##### SECTION Title ##### -->
|
|
|
|
GtkTreeView
|
|
|
|
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
2004-10-11 18:08:35 +00:00
|
|
|
A widget for displaying both trees and lists
|
2000-10-30 23:21:38 +00:00
|
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
|
|
<para>
|
2002-03-03 06:37:43 +00:00
|
|
|
Widget that displays any object that implements the <link
|
2002-03-04 22:04:53 +00:00
|
|
|
linkend="GtkTreeModel">GtkTreeModel</link> interface.
|
2000-10-30 23:21:38 +00:00
|
|
|
</para>
|
|
|
|
|
2004-12-15 17:25:10 +00:00
|
|
|
<para>
|
|
|
|
Please refer to the <link linkend="TreeWidget">tree widget conceptual overview</link>
|
|
|
|
for an overview of all the objects and data types related to the tree widget and how
|
|
|
|
they work together.
|
|
|
|
</para>
|
|
|
|
|
2000-10-30 23:21:38 +00:00
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
|
|
<para>
|
2002-03-03 06:37:43 +00:00
|
|
|
#GtkTreeViewColumn, #GtkTreeSelection, #GtkTreeDnd, #GtkTreeMode, #GtkTreeSortable, #GtkTreeModelSort, #GtkListStore, #GtkTreeStore, #GtkCellRenderer, #GtkCellEditable, #GtkCellRendererPixbuf, #GtkCellRendererText, #GtkCellRendererToggle
|
2000-10-30 23:21:38 +00:00
|
|
|
</para>
|
|
|
|
|
2001-11-15 22:20:18 +00:00
|
|
|
<!-- ##### STRUCT GtkTreeView ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
<!-- ##### SIGNAL GtkTreeView::columns-changed ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@treeview: the object which received the signal.
|
|
|
|
|
|
|
|
<!-- ##### SIGNAL GtkTreeView::cursor-changed ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@treeview: the object which received the signal.
|
|
|
|
|
|
|
|
<!-- ##### SIGNAL GtkTreeView::expand-collapse-cursor-row ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@treeview: the object which received the signal.
|
|
|
|
@arg1:
|
|
|
|
@arg2:
|
|
|
|
@arg3:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
<!-- ##### SIGNAL GtkTreeView::move-cursor ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@treeview: the object which received the signal.
|
|
|
|
@arg1:
|
|
|
|
@arg2:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
<!-- ##### SIGNAL GtkTreeView::row-activated ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@treeview: the object which received the signal.
|
|
|
|
@arg1:
|
|
|
|
@arg2:
|
|
|
|
|
|
|
|
<!-- ##### SIGNAL GtkTreeView::row-collapsed ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@treeview: the object which received the signal.
|
|
|
|
@arg1:
|
|
|
|
@arg2:
|
|
|
|
|
|
|
|
<!-- ##### SIGNAL GtkTreeView::row-expanded ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@treeview: the object which received the signal.
|
|
|
|
@arg1:
|
|
|
|
@arg2:
|
|
|
|
|
|
|
|
<!-- ##### SIGNAL GtkTreeView::select-all ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@treeview: the object which received the signal.
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
<!-- ##### SIGNAL GtkTreeView::select-cursor-parent ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@treeview: the object which received the signal.
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
<!-- ##### SIGNAL GtkTreeView::select-cursor-row ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@treeview: the object which received the signal.
|
|
|
|
@arg1:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
<!-- ##### SIGNAL GtkTreeView::set-scroll-adjustments ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@treeview: the object which received the signal.
|
|
|
|
@arg1:
|
|
|
|
@arg2:
|
|
|
|
|
|
|
|
<!-- ##### SIGNAL GtkTreeView::start-interactive-search ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@treeview: the object which received the signal.
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
<!-- ##### SIGNAL GtkTreeView::test-collapse-row ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@treeview: the object which received the signal.
|
|
|
|
@arg1:
|
|
|
|
@arg2:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
<!-- ##### SIGNAL GtkTreeView::test-expand-row ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@treeview: the object which received the signal.
|
|
|
|
@arg1:
|
|
|
|
@arg2:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
<!-- ##### SIGNAL GtkTreeView::toggle-cursor-row ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@treeview: the object which received the signal.
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
<!-- ##### SIGNAL GtkTreeView::unselect-all ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@treeview: the object which received the signal.
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkTreeView:enable-search ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkTreeView:expander-column ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkTreeView:fixed-height-mode ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkTreeView:hadjustment ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkTreeView:headers-clickable ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkTreeView:headers-visible ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2004-08-25 16:21:15 +00:00
|
|
|
<!-- ##### ARG GtkTreeView:hover-expand ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
<!-- ##### ARG GtkTreeView:hover-selection ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkTreeView:model ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkTreeView:reorderable ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkTreeView:rules-hint ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkTreeView:search-column ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkTreeView:vadjustment ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkTreeView:allow-rules ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkTreeView:even-row-color ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkTreeView:expander-size ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkTreeView:horizontal-separator ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkTreeView:indent-expanders ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkTreeView:odd-row-color ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkTreeView:vertical-separator ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2001-09-27 00:09:41 +00:00
|
|
|
<!-- ##### ENUM GtkTreeViewDropPosition ##### -->
|
|
|
|
<para>
|
2002-03-03 06:37:43 +00:00
|
|
|
An enum for determining where a dropped row goes.
|
2001-09-27 00:09:41 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
@GTK_TREE_VIEW_DROP_BEFORE:
|
|
|
|
@GTK_TREE_VIEW_DROP_AFTER:
|
|
|
|
@GTK_TREE_VIEW_DROP_INTO_OR_BEFORE:
|
|
|
|
@GTK_TREE_VIEW_DROP_INTO_OR_AFTER:
|
|
|
|
|
|
|
|
<!-- ##### STRUCT GtkTreeViewPrivate ##### -->
|
2000-10-30 23:21:38 +00:00
|
|
|
<para>
|
2002-03-03 06:37:43 +00:00
|
|
|
A private struct for internal use only. The definition of this
|
|
|
|
structure is not publically available.
|
2000-10-30 23:21:38 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2001-09-27 00:09:41 +00:00
|
|
|
<!-- ##### USER_FUNCTION GtkTreeViewColumnDropFunc ##### -->
|
|
|
|
<para>
|
2002-03-03 06:37:43 +00:00
|
|
|
Function type for determining whether @column can be dropped in a
|
|
|
|
particular spot (as determined by @prev_column and @next_column). In
|
|
|
|
left to right locales, @prev_column is on the left of the potential drop
|
|
|
|
spot, and @next_column is on the right. In right to left mode, this is
|
|
|
|
reversed. This function should return %TRUE if the spot is a valid drop
|
|
|
|
spot. Please note that returning %TRUE does not actually indicate that
|
|
|
|
the column drop was made, but is meant only to indicate a possible drop
|
|
|
|
spot to the user.
|
2001-09-27 00:09:41 +00:00
|
|
|
</para>
|
|
|
|
|
2002-03-03 06:37:43 +00:00
|
|
|
@tree_view: A #GtkTreeView
|
|
|
|
@column: The #GtkTreeViewColumn being dragged
|
|
|
|
@prev_column: A #GtkTreeViewColumn on one side of @column
|
|
|
|
@next_column: A #GtkTreeViewColumn on the other side of @column
|
|
|
|
@data: user data
|
|
|
|
@Returns: %TRUE, if #column can be dropped in this spot
|
2001-09-27 00:09:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### USER_FUNCTION GtkTreeViewMappingFunc ##### -->
|
|
|
|
<para>
|
2002-03-03 06:37:43 +00:00
|
|
|
Function used for #gtk_tree_view_map_expanded_rows.
|
2001-09-27 00:09:41 +00:00
|
|
|
</para>
|
|
|
|
|
2002-03-03 06:37:43 +00:00
|
|
|
@tree_view: A #GtkTreeView
|
|
|
|
@path: The path that's expanded
|
|
|
|
@user_data: user data
|
2001-09-27 00:09:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### USER_FUNCTION GtkTreeViewSearchEqualFunc ##### -->
|
|
|
|
<para>
|
2004-03-15 03:31:58 +00:00
|
|
|
A function used for checking whether a row in @model matches
|
|
|
|
a search key string entered by the user. Note the return value
|
|
|
|
is reversed from what you would normally expect, though it
|
|
|
|
has some similarity to strcmp() returning 0 for equal strings.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@model: the #GtkTreeModel being searched
|
2004-03-15 03:33:26 +00:00
|
|
|
@column: the search column set by gtk_tree_view_set_search_column()
|
2004-03-15 03:31:58 +00:00
|
|
|
@key: the key string to compare with
|
|
|
|
@iter: a #GtkTreeIter pointing the row of @model that should be compared
|
|
|
|
with @key.
|
|
|
|
@search_data: user data from gtk_tree_view_set_search_equal_func()
|
|
|
|
@Returns: %FALSE if the row matches, %TRUE otherwise.
|
2001-09-27 00:09:41 +00:00
|
|
|
|
|
|
|
|
2000-10-30 23:21:38 +00:00
|
|
|
<!-- ##### FUNCTION gtk_tree_view_new ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_new_with_model ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@model:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_get_model ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_set_model ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@model:
|
|
|
|
<!-- # Unused Parameters # -->
|
|
|
|
@tree_model:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_get_selection ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_get_hadjustment ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@Returns:
|
|
|
|
<!-- # Unused Parameters # -->
|
|
|
|
@layout:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_set_hadjustment ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@adjustment:
|
|
|
|
<!-- # Unused Parameters # -->
|
|
|
|
@layout:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_get_vadjustment ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@Returns:
|
|
|
|
<!-- # Unused Parameters # -->
|
|
|
|
@layout:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_set_vadjustment ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@adjustment:
|
|
|
|
<!-- # Unused Parameters # -->
|
|
|
|
@layout:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_get_headers_visible ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_set_headers_visible ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@headers_visible:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_columns_autosize ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
|
|
|
|
|
2001-01-09 16:41:17 +00:00
|
|
|
<!-- ##### FUNCTION gtk_tree_view_set_headers_clickable ##### -->
|
2000-10-30 23:21:38 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
2001-01-31 03:51:14 +00:00
|
|
|
@setting:
|
|
|
|
<!-- # Unused Parameters # -->
|
2000-10-30 23:21:38 +00:00
|
|
|
@active:
|
|
|
|
|
|
|
|
|
2001-09-27 00:09:41 +00:00
|
|
|
<!-- ##### FUNCTION gtk_tree_view_set_rules_hint ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@setting:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_get_rules_hint ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2000-10-30 23:21:38 +00:00
|
|
|
<!-- ##### FUNCTION gtk_tree_view_append_column ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@column:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_remove_column ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@column:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_insert_column ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@column:
|
|
|
|
@position:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2001-09-27 00:09:41 +00:00
|
|
|
<!-- ##### FUNCTION gtk_tree_view_insert_column_with_attributes ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@position:
|
|
|
|
@title:
|
|
|
|
@cell:
|
|
|
|
@Varargs:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_insert_column_with_data_func ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@position:
|
|
|
|
@title:
|
|
|
|
@cell:
|
|
|
|
@func:
|
|
|
|
@data:
|
|
|
|
@dnotify:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2000-10-30 23:21:38 +00:00
|
|
|
<!-- ##### FUNCTION gtk_tree_view_get_column ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@n:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2001-09-27 00:09:41 +00:00
|
|
|
<!-- ##### FUNCTION gtk_tree_view_get_columns ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_move_column_after ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@column:
|
|
|
|
@base_column:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_set_expander_column ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@column:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_get_expander_column ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_set_column_drag_function ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@func:
|
|
|
|
@user_data:
|
|
|
|
@destroy:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_scroll_to_point ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@tree_x:
|
|
|
|
@tree_y:
|
|
|
|
|
|
|
|
|
2001-02-03 01:09:41 +00:00
|
|
|
<!-- ##### FUNCTION gtk_tree_view_scroll_to_cell ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@path:
|
|
|
|
@column:
|
2001-08-26 02:03:10 +00:00
|
|
|
@use_align:
|
2001-02-03 01:09:41 +00:00
|
|
|
@row_align:
|
|
|
|
@col_align:
|
|
|
|
|
|
|
|
|
2001-10-03 04:44:13 +00:00
|
|
|
<!-- ##### FUNCTION gtk_tree_view_set_cursor ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@path:
|
|
|
|
@focus_column:
|
|
|
|
@start_editing:
|
|
|
|
|
|
|
|
|
Documentation fixes.
Sun Oct 13 18:50:14 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtkmenu.c, gtkmenu.sgml, gtkitemfactory.c, gdkwindow.c,
gtkwindow.c, gtkpaned.sgml, gtkdialog.c, gtkbox.h, gtkbutton.sgml,
gtktreemodel.sgml,gtktable.sgml, gtktable.c:
Documentation fixes.
#85719, #90759, #95169, Owen Taylor;
#89221, Yao Zhang, Matthias Clasen;
#95592, Joost Faassen;
#92637, Vitaly Tishkov;
#94616, Ben Martin;
#94772, sbaillie@bigpond.net.au;
2002-10-13 17:17:14 +00:00
|
|
|
<!-- ##### FUNCTION gtk_tree_view_set_cursor_on_cell ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@path:
|
|
|
|
@focus_column:
|
|
|
|
@focus_cell:
|
|
|
|
@start_editing:
|
|
|
|
|
|
|
|
|
2001-10-03 04:44:13 +00:00
|
|
|
<!-- ##### FUNCTION gtk_tree_view_get_cursor ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@path:
|
|
|
|
@focus_column:
|
|
|
|
|
|
|
|
|
2001-09-27 00:09:41 +00:00
|
|
|
<!-- ##### FUNCTION gtk_tree_view_row_activated ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@path:
|
|
|
|
@column:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_expand_all ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_collapse_all ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
|
|
|
|
|
Documentation fixes.
Sun Oct 13 18:50:14 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtkmenu.c, gtkmenu.sgml, gtkitemfactory.c, gdkwindow.c,
gtkwindow.c, gtkpaned.sgml, gtkdialog.c, gtkbox.h, gtkbutton.sgml,
gtktreemodel.sgml,gtktable.sgml, gtktable.c:
Documentation fixes.
#85719, #90759, #95169, Owen Taylor;
#89221, Yao Zhang, Matthias Clasen;
#95592, Joost Faassen;
#92637, Vitaly Tishkov;
#94616, Ben Martin;
#94772, sbaillie@bigpond.net.au;
2002-10-13 17:17:14 +00:00
|
|
|
<!-- ##### FUNCTION gtk_tree_view_expand_to_path ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@path:
|
|
|
|
|
|
|
|
|
2001-09-27 00:09:41 +00:00
|
|
|
<!-- ##### FUNCTION gtk_tree_view_expand_row ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@path:
|
|
|
|
@open_all:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_collapse_row ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@path:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_map_expanded_rows ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@func:
|
|
|
|
@data:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_row_expanded ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@path:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_set_reorderable ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@reorderable:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_get_reorderable ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2000-10-30 23:21:38 +00:00
|
|
|
<!-- ##### FUNCTION gtk_tree_view_get_path_at_pos ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@x:
|
|
|
|
@y:
|
|
|
|
@path:
|
|
|
|
@column:
|
2001-01-31 03:51:14 +00:00
|
|
|
@cell_x:
|
|
|
|
@cell_y:
|
2000-10-30 23:21:38 +00:00
|
|
|
@Returns:
|
2001-11-17 01:18:49 +00:00
|
|
|
<!-- # Unused Parameters # -->
|
|
|
|
@window:
|
2000-10-30 23:21:38 +00:00
|
|
|
|
|
|
|
|
2001-09-27 00:09:41 +00:00
|
|
|
<!-- ##### FUNCTION gtk_tree_view_get_cell_area ##### -->
|
2000-10-30 23:21:38 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
2001-09-27 00:09:41 +00:00
|
|
|
@path:
|
|
|
|
@column:
|
|
|
|
@rect:
|
2000-10-30 23:21:38 +00:00
|
|
|
|
|
|
|
|
2001-09-27 00:09:41 +00:00
|
|
|
<!-- ##### FUNCTION gtk_tree_view_get_background_area ##### -->
|
2000-10-30 23:21:38 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
2001-09-27 00:09:41 +00:00
|
|
|
@path:
|
|
|
|
@column:
|
|
|
|
@rect:
|
2000-10-30 23:21:38 +00:00
|
|
|
|
|
|
|
|
2001-09-27 00:09:41 +00:00
|
|
|
<!-- ##### FUNCTION gtk_tree_view_get_visible_rect ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@visible_rect:
|
|
|
|
|
|
|
|
|
2001-11-21 21:43:47 +00:00
|
|
|
<!-- ##### FUNCTION gtk_tree_view_get_bin_window ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2001-09-27 00:09:41 +00:00
|
|
|
<!-- ##### FUNCTION gtk_tree_view_widget_to_tree_coords ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@wx:
|
|
|
|
@wy:
|
|
|
|
@tx:
|
|
|
|
@ty:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_tree_to_widget_coords ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@tx:
|
|
|
|
@ty:
|
|
|
|
@wx:
|
|
|
|
@wy:
|
|
|
|
|
|
|
|
|
2001-11-21 21:43:47 +00:00
|
|
|
<!-- ##### FUNCTION gtk_tree_view_enable_model_drag_dest ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@targets:
|
|
|
|
@n_targets:
|
|
|
|
@actions:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_enable_model_drag_source ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@start_button_mask:
|
|
|
|
@targets:
|
|
|
|
@n_targets:
|
|
|
|
@actions:
|
|
|
|
|
|
|
|
|
2001-09-27 00:09:41 +00:00
|
|
|
<!-- ##### FUNCTION gtk_tree_view_unset_rows_drag_source ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_unset_rows_drag_dest ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_set_drag_dest_row ##### -->
|
2000-10-30 23:21:38 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@path:
|
2001-09-27 00:09:41 +00:00
|
|
|
@pos:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_get_drag_dest_row ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@path:
|
|
|
|
@pos:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_get_dest_row_at_pos ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@drag_x:
|
|
|
|
@drag_y:
|
|
|
|
@path:
|
|
|
|
@pos:
|
2000-10-30 23:21:38 +00:00
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2001-09-27 00:09:41 +00:00
|
|
|
<!-- ##### FUNCTION gtk_tree_view_create_row_drag_icon ##### -->
|
2000-10-30 23:21:38 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@path:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2001-09-27 00:09:41 +00:00
|
|
|
<!-- ##### FUNCTION gtk_tree_view_set_enable_search ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@enable_search:
|
|
|
|
<!-- # Unused Parameters # -->
|
|
|
|
@use_search:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_get_enable_search ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_get_search_column ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_set_search_column ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@column:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_get_search_equal_func ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_set_search_equal_func ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@search_equal_func:
|
|
|
|
@search_user_data:
|
|
|
|
@search_destroy:
|
|
|
|
|
|
|
|
|
2004-05-11 04:32:13 +00:00
|
|
|
<!-- ##### FUNCTION gtk_tree_view_get_fixed_height_mode ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_set_fixed_height_mode ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
2004-07-07 16:22:57 +00:00
|
|
|
@enable:
|
2004-05-11 04:32:13 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_get_hover_selection ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_set_hover_selection ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@hover:
|
|
|
|
|
|
|
|
|
2004-08-25 16:21:15 +00:00
|
|
|
<!-- ##### FUNCTION gtk_tree_view_get_hover_expand ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_set_hover_expand ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@expand:
|
|
|
|
|
|
|
|
|
2001-09-27 00:09:41 +00:00
|
|
|
<!-- ##### USER_FUNCTION GtkTreeDestroyCountFunc ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@path:
|
|
|
|
@children:
|
|
|
|
@user_data:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_set_destroy_count_func ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
|
|
|
@func:
|
|
|
|
@data:
|
|
|
|
@destroy:
|
|
|
|
|
|
|
|
|
2004-07-07 16:22:57 +00:00
|
|
|
<!-- ##### USER_FUNCTION GtkTreeViewRowSeparatorFunc ##### -->
|
|
|
|
<para>
|
|
|
|
Function type for determining whether the row pointed to by @iter should
|
|
|
|
be rendered as a separator. A common way to implement this is to have a
|
|
|
|
boolean column in the model, whose values the #GtkTreeViewRowSeparatorFunc
|
|
|
|
returns.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@model: the #GtkTreeModel
|
|
|
|
@iter: a #GtkTreeIter pointing at a row in @model
|
2004-07-12 20:25:34 +00:00
|
|
|
@data: user data
|
2004-07-07 16:22:57 +00:00
|
|
|
@Returns: %TRUE if the row is a separator
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_get_row_separator_func ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2004-07-12 20:25:34 +00:00
|
|
|
@tree_view:
|
|
|
|
@Returns:
|
2004-07-07 16:22:57 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tree_view_set_row_separator_func ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tree_view:
|
2004-07-12 20:25:34 +00:00
|
|
|
@func:
|
|
|
|
@data:
|
2004-07-07 16:22:57 +00:00
|
|
|
@destroy:
|
|
|
|
|
|
|
|
|