Re: GtkTreeView

From: Date: Tue, 16 May 2006 20:40:39 +0000
Subject: Re: GtkTreeView
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-6924@lists.php.net to get a copy of this message
Hi Benjamin, FOURTICQ Benjamin wrote:
I try to convert my gtkctree's (php-gtk1) to gtktreeview's(php-gtk2) and I wonder how I can do the same or equivalent that gtkclist::move_to... The reason is that I want to make a kind of "search box" to make complex search (not only in the GtkTreeModel content).
You can use GtkTreeView::scroll_to_cell() (http://developer.gnome.org/doc/API/2.0/gtk/GtkTreeView.html#gtk-tree-view-scroll-to-cell). There are other scroll_to* methods and also set_cursor* methods that might be of interest also. -- Scott Mattocks Author of: Pro PHP-GTK http://www.crisscott.com

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