Re: Deeply nested properties
| From: | Andrei Zmievski | Date: | Mon, 01 Aug 2005 20:43:22 +0000 |
| Subject: | Re: Deeply nested properties | ||
| References: | 1 2 3 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-1508@lists.php.net to get a copy of this message | ||
On Aug 1, 2005, at 10:37 AM, Steph wrote:
It'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