[pygtk] PyGtk reparent Slow

Marco Bonifazi marcobonifazi at gmail.com
Fri Nov 3 00:18:59 WST 2006


Hello everybody!

I ask you if you can resolv me a problem...

I'm using Glade GUI, in particular a gtk.VBox, and I need to move and embed
it in other different gtk.Frame.

I usually do a reparent, in this way:

        self.parameter.box_int.get_parent().remove(self.parameter.box_int)
        self.box.pack_start( self.parameter.box_int )
        self.parameter.box_int.reparent(self.box)

It is ok, but after executing this code three or more times, my GUI become
slow, very slow, the "reparent" become impossible, very slow.
Why?

Have you any suggestions?
-- =

Marco Bonifazi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20061102/6d669ea1/at=
tachment.htm


More information about the pygtk mailing list