Pascal Duchatelle wrote:
I am trying to re-use children widgets of which I destroyed (maybe not
the right choice) the parent in another parent.

You may need to detach the child widgets before destroying
the parent, if you want to re-use the children. Otherwise
they get recursively destroyed along with the parent.

What is the use of keeping this reference since the parent cannot
"live" again (I suppose)

This being Python, there's nothing to stop you from keeping
a reference to a widget that has been destroyed. But from
Gtk's perspective, a destroyed widget is no longer usable.
It is an ex-widget. :-)

--
Greg
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to