[Urwid] Enable/disable buttons?

Ian Ward ian at excess.org
Wed Dec 9 07:57:23 EST 2009

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:

More information about the Urwid mailing list