[pygtk] re-using children widget in other parent
Gian Mario Tagliaretti
gianmt at gnome.org
Mon Jul 30 18:51:17 WST 2007
2007/7/30, Pascal Duchatelle <pduchatelle a yahoo.fr>:
Hi Pascal,
you should call the reparent() [1] method on the child object, saying
which one is the new parent, than should be safe to destroy the old
parent.
I hope it helps.
[1] http://www.pygtk.org/docs/pygtk/class-gtkwidget.html#method-gtkwidget--reparent
cheers
--
Gian Mario Tagliaretti
More information about the pygtk
mailing list