[Urwid] curses menu using urwid
Ian Ward
ian at excess.org
Sat Apr 4 10:10:41 EDT 2009
Sujan Shakya wrote:
> I am looking to build curses menu using urwid. The menu would be simple
> displaying 'file', 'edit', 'view', etc, and some of them having submenus.
> If you have any tutorial or examples on curses menu using urwid, please
> send them to me or post the link in the discussion forum.
>
Hello Sujan,
Some time ago Rebecca Breu posted some menu code, it is available here:
https://excess.org/hg/urwid-contrib/file/
as "rbreu_menus.py"
Let me know if you have any problems using it with recent versions of Urwid.
Eventually Urwid will have some built-in menu widgets with keyboard
shortcuts, it is an often-requested feature. Mimicking GUI interfaces
is not very interesting to me personally, so I just haven't sat down to
work on it yet, there are still a number of more basic changes I want to
make to the library first.
Ian
More information about the Urwid
mailing list