When overriding keypress() you can always call the superclass so it can do
its normal handling, i.e. key = super(MyClass, self).keypress(size, key)

the keypress method is supposed to return keys that it doesn't handle (or
None if it is handled) so you could allow the superclass the chance to
handle the key before you do too.
_______________________________________________
Urwid mailing list
[email protected]
http://lists.excess.org/mailman/listinfo/urwid

Reply via email to