Re: Deeply nested properties
| From: | Andrei Zmievski | Date: | Mon, 01 Aug 2005 23:08:59 +0000 |
| Subject: | Re: Deeply nested properties | ||
| References: | 1 2 3 4 5 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-1512@lists.php.net to get a copy of this message | ||
What is his argument?
-Andrei
On Aug 1, 2005, at 1:45 PM, Steph wrote:
Well - that's my argument screwed then :) How about Rob's? ----- Original Message ----- From: "Andrei Zmievski" <andrei@gravitonic.com> To: "Steph" <steph@zend.com> Cc: "Scott Mattocks" <scott@crisscott.com>; "PHP-GTK Dev list" <php-gtk-dev@lists.php.net> Sent: Monday, August 01, 2005 9:43 PM Subject: Re: [PHP-GTK-DEV] Deeply nested propertiesOn Aug 1, 2005, at 10:37 AM, Steph wrote:--PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpIt's a tough decision because GtkStyle isn't a widget. I don't have GTK 2 source handy but, assuming it's the same principle as GTK 1, GtkStyle's not even cast as an object - it's just a struct, pure'n'simple. So I'd look at that as a documentation issue rather than as a dev issue - would you expect get_object_vars() to return the (nested or otherwise) properties of a third-party struct? Likewise, what would you expect var_dump() to return?In Gtk+ 2, GtkStyle is an object, derived from GObject. -Andrei --PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php