Document #GtkTreeViewSearchEqualFunc and its backwards return value.

Sun Mar 14 22:27:59 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/tmpl/gtktreeview.sgml (linkend): Document
        #GtkTreeViewSearchEqualFunc and its backwards return
        value.
This commit is contained in:
Owen Taylor
2004-03-15 03:31:58 +00:00
committed by Owen Taylor
parent 538ca81c01
commit 00c4ba6e7e
2 changed files with 17 additions and 7 deletions

View File

@ -1,3 +1,9 @@
Sun Mar 14 22:27:59 2004 Owen Taylor <otaylor@redhat.com>
* gtk/tmpl/gtktreeview.sgml (linkend): Document
#GtkTreeViewSearchEqualFunc and its backwards return
value.
Mon Mar 15 02:36:32 2004 Matthias Clasen <maclas@gmx.de>
* gtk/tmpl/gtkentrycompletion.sgml: Add some docs.

View File

@ -300,15 +300,19 @@ Function used for #gtk_tree_view_map_expanded_rows.
<!-- ##### USER_FUNCTION GtkTreeViewSearchEqualFunc ##### -->
<para>
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:
@column:
@key:
@iter:
@search_data:
@Returns:
@model: the #GtkTreeModel being searched
@column: the search column set by gtk_tree_view_set_seach_column
@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.
<!-- ##### FUNCTION gtk_tree_view_new ##### -->