[Urwid] Scrollbar
Ian Ward
ian at excess.org
Mon Sep 18 12:00:48 EDT 2006
Rebecca Breu wrote:
> Hi all!
>
> I needed a vertical scrollbar, and here it is, together with a scrollbar-enabled
> listbox. I'm not sure whether my code is that optimal, but it works. :)
That's great!
Would you consider relicensing it LGPL so I can incorporate parts of it
in the library?
> A disadvantage is the fact that, if you drag the handle of the scrollbar with
> the
> mouse, you only see the effect when releasing the mouse. That's caused by
> urwid's way of handling mouse events. Well, I can live with it quite well.
Urwid will pass along mouse drag events if it receives them. I think
that the curses library filters them out. Try raw_display instead. (or
run "python input_test.py raw" to see what your terminal is sending.
Ian
More information about the Urwid
mailing list