Re: Deeply nested properties

From: Date: Mon, 01 Aug 2005 20:45:17 +0000
Subject: Re: Deeply nested properties
References: 1 2 3 4  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-1510@lists.php.net to get a copy of this message
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 properties > 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 > > -- > PHP-GTK Development Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

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