Write documentation Write documentation
Sun Mar 3 01:36:21 2002 Jonathan Blandford <jrb@redhat.com> * gtk/tmpl/gtktreeviewcolumn.sgml: Write documentation * gtk/tmpl/gtktreeview.sgml: Write documentation
This commit is contained in:
committed by
Jonathan Blandford
parent
f0b58ab846
commit
4a20e66f81
@ -1,3 +1,8 @@
|
|||||||
|
Sun Mar 3 01:36:21 2002 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
|
* gtk/tmpl/gtktreeviewcolumn.sgml: Write documentation
|
||||||
|
* gtk/tmpl/gtktreeview.sgml: Write documentation
|
||||||
|
|
||||||
Sat Mar 2 15:46:29 2002 Owen Taylor <otaylor@redhat.com>
|
Sat Mar 2 15:46:29 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/tmpl/gtkentry.sgml: Move a couple of function
|
* gtk/tmpl/gtkentry.sgml: Move a couple of function
|
||||||
|
|||||||
@ -2,16 +2,17 @@
|
|||||||
GtkTreeView
|
GtkTreeView
|
||||||
|
|
||||||
<!-- ##### SECTION Short_Description ##### -->
|
<!-- ##### SECTION Short_Description ##### -->
|
||||||
|
A widget for displaying both trees and lists.
|
||||||
|
|
||||||
<!-- ##### SECTION Long_Description ##### -->
|
<!-- ##### SECTION Long_Description ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Widget that displays any object that implements the <link
|
||||||
|
linkend="GtkTreeModel>GtkTreeModel</link> interface.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<!-- ##### SECTION See_Also ##### -->
|
<!-- ##### SECTION See_Also ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
#GtkTreeViewColumn, #GtkTreeSelection, #GtkTreeDnd, #GtkTreeMode, #GtkTreeSortable, #GtkTreeModelSort, #GtkListStore, #GtkTreeStore, #GtkCellRenderer, #GtkCellEditable, #GtkCellRendererPixbuf, #GtkCellRendererText, #GtkCellRendererToggle
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<!-- ##### STRUCT GtkTreeView ##### -->
|
<!-- ##### STRUCT GtkTreeView ##### -->
|
||||||
@ -22,7 +23,7 @@ GtkTreeView
|
|||||||
|
|
||||||
<!-- ##### ENUM GtkTreeViewDropPosition ##### -->
|
<!-- ##### ENUM GtkTreeViewDropPosition ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
An enum for determining where a dropped row goes.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@GTK_TREE_VIEW_DROP_BEFORE:
|
@GTK_TREE_VIEW_DROP_BEFORE:
|
||||||
@ -32,31 +33,39 @@ GtkTreeView
|
|||||||
|
|
||||||
<!-- ##### STRUCT GtkTreeViewPrivate ##### -->
|
<!-- ##### STRUCT GtkTreeViewPrivate ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
A private struct for internal use only. The definition of this
|
||||||
|
structure is not publically available.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### USER_FUNCTION GtkTreeViewColumnDropFunc ##### -->
|
<!-- ##### USER_FUNCTION GtkTreeViewColumnDropFunc ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
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.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@tree_view:
|
@tree_view: A #GtkTreeView
|
||||||
@column:
|
@column: The #GtkTreeViewColumn being dragged
|
||||||
@prev_column:
|
@prev_column: A #GtkTreeViewColumn on one side of @column
|
||||||
@next_column:
|
@next_column: A #GtkTreeViewColumn on the other side of @column
|
||||||
@data:
|
@data: user data
|
||||||
@Returns:
|
@Returns: %TRUE, if #column can be dropped in this spot
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### USER_FUNCTION GtkTreeViewMappingFunc ##### -->
|
<!-- ##### USER_FUNCTION GtkTreeViewMappingFunc ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Function used for #gtk_tree_view_map_expanded_rows.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@tree_view:
|
@tree_view: A #GtkTreeView
|
||||||
@path:
|
@path: The path that's expanded
|
||||||
@user_data:
|
@user_data: user data
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### USER_FUNCTION GtkTreeViewSearchEqualFunc ##### -->
|
<!-- ##### USER_FUNCTION GtkTreeViewSearchEqualFunc ##### -->
|
||||||
|
|||||||
@ -2,37 +2,46 @@
|
|||||||
GtkTreeViewColumn
|
GtkTreeViewColumn
|
||||||
|
|
||||||
<!-- ##### SECTION Short_Description ##### -->
|
<!-- ##### SECTION Short_Description ##### -->
|
||||||
|
A visible column in a #GtkTreeView widget
|
||||||
|
|
||||||
<!-- ##### SECTION Long_Description ##### -->
|
<!-- ##### SECTION Long_Description ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
The GtkTreeViewColumn object is a visible column in a #GtkTreeView
|
||||||
|
widget. It determines the geometry, type
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<!-- ##### SECTION See_Also ##### -->
|
<!-- ##### SECTION See_Also ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
#GtkTreeView, #GtkTreeSelection, #GtkTreeDnd, #GtkTreeMode, #GtkTreeSortable, #GtkTreeModelSort, #GtkListStore, #GtkTreeStore, #GtkCellRenderer, #GtkCellEditable, #GtkCellRendererPixbuf, #GtkCellRendererText, #GtkCellRendererToggle
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<!-- ##### ENUM GtkTreeViewColumnSizing ##### -->
|
<!-- ##### ENUM GtkTreeViewColumnSizing ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
The sizing method the column uses to determine it's width. Please note
|
||||||
|
that @GTK_TREE_VIEW_COLUMN_AUTOSIZE are inefficient for large views, and
|
||||||
|
can make columns appear choppy.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@GTK_TREE_VIEW_COLUMN_GROW_ONLY:
|
@GTK_TREE_VIEW_COLUMN_GROW_ONLY: Columns only get bigger in reaction to changes in the model
|
||||||
@GTK_TREE_VIEW_COLUMN_AUTOSIZE:
|
@GTK_TREE_VIEW_COLUMN_AUTOSIZE: Columns resize to be the optimal size everytime the model changes.
|
||||||
@GTK_TREE_VIEW_COLUMN_FIXED:
|
@GTK_TREE_VIEW_COLUMN_FIXED: Columns are a fixed numbers of pixels wide.
|
||||||
|
|
||||||
<!-- ##### USER_FUNCTION GtkTreeCellDataFunc ##### -->
|
<!-- ##### USER_FUNCTION GtkTreeCellDataFunc ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
A function to set the properties of a cell instead of just using the
|
||||||
|
straight mapping between the cell and the model. This is useful for
|
||||||
|
customizing the cell renderer. For example, a function might get an
|
||||||
|
integer from the @tree_model, and render it to the "text" attribute of
|
||||||
|
"cell" by converting it to its written equivilent. This is set by
|
||||||
|
calling gtk_tree_view_column_set_cell_data_func()
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@tree_column:
|
@tree_column: A #GtkTreeColumn
|
||||||
@cell:
|
@cell: The #GtkCellRenderer that is being rendered by @tree_column
|
||||||
@tree_model:
|
@tree_model: The #GtkTreeModel being rendered
|
||||||
@iter:
|
@iter: A #GtkTreeIter of the current row rendered
|
||||||
@data:
|
@data: user data
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### STRUCT GtkTreeViewColumn ##### -->
|
<!-- ##### STRUCT GtkTreeViewColumn ##### -->
|
||||||
|
|||||||
Reference in New Issue
Block a user