From 33723251954fe565890de1610f314665484fd874 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 5 Apr 2005 12:52:17 +0000 Subject: [PATCH] Add some more docs on interactive search. 2005-04-05 Matthias Clasen * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Add some more docs on interactive search. --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gtk/gtktreeview.c | 17 +++++++++++++---- 4 files changed, 28 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index b3b185ac53..bc5ec74ca5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-04-05 Matthias Clasen + + * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Add some + more docs on interactive search. + 2005-04-05 Tor Lillqvist * gdk/win32/gdkvisual-win32.c (_gdk_visual_init): Handle 16 colour diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index b3b185ac53..bc5ec74ca5 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2005-04-05 Matthias Clasen + + * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Add some + more docs on interactive search. + 2005-04-05 Tor Lillqvist * gdk/win32/gdkvisual-win32.c (_gdk_visual_init): Handle 16 colour diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index b3b185ac53..bc5ec74ca5 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2005-04-05 Matthias Clasen + + * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Add some + more docs on interactive search. + 2005-04-05 Tor Lillqvist * gdk/win32/gdkvisual-win32.c (_gdk_visual_init): Handle 16 colour diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c index 84c5f7a946..cdbe3b488f 100644 --- a/gtk/gtktreeview.c +++ b/gtk/gtktreeview.c @@ -12135,7 +12135,10 @@ gtk_tree_view_set_destroy_count_func (GtkTreeView *tree_view, * @enable_search: %TRUE, if the user can search interactively * * If @enable_search is set, then the user can type in text to search through - * the tree interactively. + * the tree interactively (this is sometimes called "typeahead find"). + * + * Note that even if this is %FALSE, the user can still initiate a search + * using the "start-interactive-search" key binding. */ void gtk_tree_view_set_enable_search (GtkTreeView *tree_view, @@ -12156,7 +12159,8 @@ gtk_tree_view_set_enable_search (GtkTreeView *tree_view, * gtk_tree_view_get_enable_search: * @tree_view: A #GtkTreeView * - * Returns whether or not the tree allows interactive searching. + * Returns whether or not the tree allows to start interactive searching + * by typing in text. * * Return value: whether or not to let the user search interactively */ @@ -12191,8 +12195,13 @@ gtk_tree_view_get_search_column (GtkTreeView *tree_view) * @column: the column of the model to search in * * Sets @column as the column where the interactive search code should - * search in. Additionally, turns on interactive searching. Note that - * @column refers to a column of the model. + * search in. + * + * If the sort column is set, users can use the "start-interactive-search" + * key binding to bring up search popup. The enable-search property controls + * wether simply typing text will also start an interactive search. + * + * Note that @column refers to a column of the model. */ void gtk_tree_view_set_search_column (GtkTreeView *tree_view,