Re: That GtkTreePath-as-boxed patch
| From: | Andrei Zmievski | Date: | Tue, 14 Feb 2006 06:21:35 +0000 |
| Subject: | Re: That GtkTreePath-as-boxed patch | ||
| References: | 1 2 3 4 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-2413@lists.php.net to get a copy of this message | ||
No, you're not really traversing the tree with GtkTreePath. You still need to call get_iter($path) each time you want to get ahold of the iterator referring to the GtkTreePath. I am working on a better way. Perhaps, we should wait and see until it's ready and then decide whether we still want GtkTreePath as a boxed object.
-Andrei
On Feb 13, 2006, at 8:59 PM, Steph Fox wrote:
Ah wait, memory's flooding back now. You're right, I did a test drive with a single function that calls it. It's useful because it's an iterator in its own right, and having it exposed means you can traverse a tree 'from the inside' if you see what I mean. ----- Original Message ----- From: "Steph Fox" <steph@zend.com> To: "Andrei Zmievski" <andrei@gravitonic.com> Cc: "PHP-GTK dev" <php-gtk-dev@lists.php.net> Sent: Tuesday, February 14, 2006 6:51 AM Subject: Re: [PHP-GTK-DEV] That GtkTreePath-as-boxed patchI already did, didn't I? (I know I thought I had in the original patch anyway). ----- Original Message ----- From: "Andrei Zmievski" <andrei@gravitonic.com> To: "Steph Fox" <steph@zend.com> Cc: "PHP-GTK dev" <php-gtk-dev@lists.php.net> Sent: Tuesday, February 14, 2006 5:42 AM Subject: Re: [PHP-GTK-DEV] That GtkTreePath-as-boxed patchAll right, I reviewed. Basically, if you make GtkTreePath into a boxed object, then we have two ways of representing GtkTreePath when it's passed to functions: as a string and as a boxed object. There needs to be additional code to check for this and do the right thing, and that code will need to be generated (so more hacking in argtypes.php I think). If you're really sure that it will be useful, I'll hack it. -Andrei On Nov 2, 2005, at 1:10 PM, Steph Fox wrote:--PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __________ NOD32 1.1380 (20060125) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.comAndrei, hi, This is a much smaller patch now. Please review when you get a minute? - Steph <treepath.txt> --PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php__________ NOD32 1.1380 (20060125) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com