[pygtk] reparent problem
Frédéric
frederic.mantegazza at gbiloba.org
Mon Jun 30 15:18:40 WST 2008
Le 29/6/2008, "Tim Evans" <t.evans at aranz.com> a écrit:
>This is the function I use when I'm replacing a placeholder widget in a
>glade file:
> [...]
>Just call "replace_widget(dummyWidget, self.shootingArea)" and wherever
>dummyWidget was (and with whatever packing properties) your shootingArea
>widget will be put there instead. You could add more copying of
>properties is you need it, this function only copies visibility.
Ok, I understand why it did work... This needs more stuffs to do than I
thought!
Thanks,
More information about the pygtk
mailing list