Re: Quick question

From: Date: Tue, 07 Feb 2006 07:00:52 +0000
Subject: Re: Quick question
References: 1 2  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-2361@lists.php.net to get a copy of this message
No, they should be one and the same. I was just asking about stylistic preference. -Andrei On Feb 6, 2006, at 10:55 PM, Christian Weiske wrote:
Andrei,
$filter = $store->filter_new($root); $filter = new GtkTreeModelFilter($store, $root);
Both create a new tree model, using $root as new root node. IMO there could be a difference:
$filter = $store->filter_new($root);
(definitely, I tried it) uses $root as (invisible) root, so that the first level below $root is visible in the tree.
$filter = new GtkTreeModelFilter($store, $root);
That should IMO use $root (being visible itself) as first level entry. Would that make sense? I don't know. --Regards/MfG, Christian Weiske


« previous php.gtk.dev (#2361) next »