Re: treeview filter

From: Date: Thu, 08 Jun 2006 16:00:07 +0000
Subject: Re: treeview filter
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-6998@lists.php.net to get a copy of this message
FOURTICQ Benjamin wrote:
Hello, I would like to filter rows in a GtkTreeview, is it possible to keep the base TreeModel and create a function that determine if the row is visible or not ? For example : can I filter this treeview to see the red rows without re-building my treemodel ?
There is a class called GtkTreeModelFilter which is designed specifically for this. It wraps the existing model and filters out rows without modifying the underlying model. Scott Mattocks

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