Yasir Assam wrote:
You might try calling set_focus on the GridFlow widget to select the
cancel button. I believe if the widget in focus is not selectable then
the GridFlow assumes none of the widgets it contains are.
Where do I call set_focus()?
The GridFlow object is called gf in your example. try:
gf.set_focus(1)
Thanks. I misunderstood you - I thought set_focus would put the cursor
there as soon as it's called, but it doesn't.
Yasir
No virus found in this outgoing message.
Checked by AVG - www.avg.com
Version: 8.5.426 / Virus Database: 270.14.100/2554 - Release Date: 12/09/09
07:32:00
_______________________________________________
Urwid mailing list
[email protected]
http://lists.excess.org/mailman/listinfo/urwid