Hi Paul

You can filter the input and block the scrolling. Just add input_filter in
mainloop and control the keys/input the way you want.

On Fri, Jan 28, 2011 at 6:57 PM, Paul Waring <[email protected]> wrote:

> On 28/01/11 13:32, Ian Ward wrote:
> > Paul Waring wrote on 2011-01-28 05:04:
> >> On 27/01/11 23:38, goffi wrote:
> >>> you can use a listbox for that. Look at the tutorial part 2.3
> "Modifying
> >>> ListBox Content", it actually do what you want
> >>
> >> It doesn't do what I want, at least not in 2.3:
> >>
> >> "Old values may be changed and the responses will be updated when you
> >> press ENTER"
> >>
> >> I don't want users to be able to scroll back - they are not allowed to
> >> change previous entries and can only use the current menu.
> >
> > You could change the old Edit widgets to Text widgets.  That way the
> > user could still scroll back up if they wanted to, but can't change
> > anything.
>
> I don't want users to be able to scroll back though. :)
>
> --
> Paul Waring
> http://www.pwaring.com
>
> _______________________________________________
> Urwid mailing list
> [email protected]
> http://lists.excess.org/mailman/listinfo/urwid
>
_______________________________________________
Urwid mailing list
[email protected]
http://lists.excess.org/mailman/listinfo/urwid

Reply via email to