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
_______________________________________________
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