Re: GtkField becoming the interactive search field

From: Date: Mon, 06 Mar 2006 17:32:41 +0000
Subject: Re: GtkField becoming the interactive search field
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-6776@lists.php.net to get a copy of this message
Hello Scott,
Is someone able to tell me how to make a normal GtkField becoming the interactive search field for a GtkTreeView ?
I am not sure what you mean by GtkField, but if you want to set a search column for a GtkTreeView, you can use GtkTreeView::set_search_column(). Take a look here: http://developer.gnome.org/doc/API/2.0/gtk/GtkTreeView.html#gtk-tree-view-set-search-column
When you hit a key on a GtkTreeView (or hit ctrl+f) it opens a field for interactive search on the GtkTreeView. I've already used GtkTreeView::set_search_column() to do that, but I want to use a GtkField that I've created instead of the default one. Here is the example of what I want: http://csmar51.dyndns.org/php-gtk/replace.png Thanks. -- Marion DESNAULT

« previous php.gtk.general (#6776) next »