Re: style dumping
| From: | Christian Weiske | Date: | Fri, 10 Mar 2006 07:27:06 +0000 |
| Subject: | Re: style dumping | ||
| References: | 1 2 3 4 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-2570@lists.php.net to get a copy of this message | ||
> What do you want to lose exactly.. Just GtkStyle? or more?
First of all, the style.
Second, the "parent" property.
When having the following packing structure, you will get every single
widget ten or more times, because the parent and the parents parent will
be shown for every single widget:
window
+ vbox
+ label
+ entry
+ button
window: shows its properties and the child
vbox: shows props and child and *parent* (which already had been shown)
label: shows props and parent (and that it's parent, too)
Showing the childs is necessary IMO, although it would be cool to be
able to turn it off (but that isn't, I know).
<?php
$wnd = new GtkWindow();
$wnd->add(new GtkNotebook());
$wnd->realize();
var_dump($wnd);
?>
--
Regards/MfG,
Christian Weiske
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc