[pygtk] Problem with label.set_selectable()
Sylvain Saleur
syeric1 at gmail.com
Thu Jul 5 00:57:33 WST 2007
Hi!
> You can also, after the label has been displayed on screen, do something like:
>
> label.select_region(0, 0)
>
> it's a workaround but it can do the trick I guess.
Unfortunately I can't because the label is not the first child...
I've tried to destroy the widget and regenerate it and it works.
After:
cadre=page(param)
book.append_page(cadre, label)
book.show_all()
I've added:
wid=cadre.get_child()
cadre.destroy(wid)
and then I can the same method to rebuild wid
Is anybody know what is the problem?
Thanks again Glan ;-)
Cheers
Sylvain
More information about the pygtk
mailing list