cut and paste widget
| From: | thomas favennec | Date: | Mon, 21 Aug 2006 17:38:12 +0000 |
| Subject: | cut and paste widget | ||
| References: | 1 2 3 4 5 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-7100@lists.php.net to get a copy of this message | ||
Hi,
Finally i've find $widget->reparent($newParent) function.
It's work :-)
Thanks.
Thomas.
----- Original Message ----- From: "Ron Tarrant" <rtarrant@sympatico.ca>
Cc: <php-gtk-general@lists.php.net>
Sent: Monday, August 21, 2006 5:24 AM
Subject: Re: [PHP-GTK] Fw: WELCOME to php-gtk-general@lists.php.net
thomas favennec wrote:Can anyone tell me if it is possible to " cut " and " paste " a widget created (and childs), or " clone / destroy ".It doesn't /sound/ possible (to me, at least). About the closest you can come from what I know is a GtkHandleBox which allows you to detach anything it contains (menus, boxes with children, etc.) and leave it lying around as a "child" window. Whether or not you can re-dock it somewhere else, I don't know. -Ron T. -- Ron Tarrant Blog:<A HREF="http://www.writingup.com/blog/phpgtk2">PHP-Gtk2</A>