Aleksandr Miroslav
2017-01-18 00:42:13 UTC
Suppose I want to write a program that uses Urwid and will utilize
three screens.
That is, part of the program will use a Frame, another part will use a
ListBox, and another part will use GridFlow, and I need switch among
these three screens.
What is the proper Urwid way to implement this? Would I use a single
MainLoop that swaps out its widget and unhandled_input members? Or
should I use three different MainLoop instances where switching from
one to another would involve exiting one and running another?
I hope I described what I'm trying to accomplish properly.
three screens.
That is, part of the program will use a Frame, another part will use a
ListBox, and another part will use GridFlow, and I need switch among
these three screens.
What is the proper Urwid way to implement this? Would I use a single
MainLoop that swaps out its widget and unhandled_input members? Or
should I use three different MainLoop instances where switching from
one to another would involve exiting one and running another?
I hope I described what I'm trying to accomplish properly.
--
You received this message because you are subscribed to the Google Groups "Urwid Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to urwid+***@excess.org.
To post to this group, send email to ***@excess.org.
For more options, visit https://groups.google.com/a/excess.org/d/optout.
You received this message because you are subscribed to the Google Groups "Urwid Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to urwid+***@excess.org.
To post to this group, send email to ***@excess.org.
For more options, visit https://groups.google.com/a/excess.org/d/optout.