[Urwid] Scrollbar

Rebecca Breu rebecca at rbreu.de
Tue Sep 19 05:20:01 EDT 2006


Zitat von Ian Ward <ian at excess.org>:

> Would you consider relicensing it LGPL so I can incorporate parts of it
> in the library?

That's no problem. Just take it.

> 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.

Mmh. Having a closer look at the reference, I see that it mentions
mouse drag events. I've never seen one of those until today. Thus I just ran
input_test.py in different terminal emulators, and I got mouse drag events
in xterm and gnome-terminal when using raw_display. Very nice, but I don't get
any mouse drag events in aterm, rxvt, mlterm or konsole. :(

I have no idea what the problem is with those terminal emulators.

Well, but making my scrollbar aware of mouse drag events has a very low
priority at the moment...


Rebecca










More information about the Urwid mailing list