[Urwid] user_data param for call backs

Florian Festi ffesti at redhat.com
Tue Feb 6 10:30:07 EST 2007


Hi!

For callbacks it would be handy to be able to pass additional data.
This patch adds this for Button, CheckBox and RadioButton. The additional 
param is ommited if the default (None) is not changed to remain compatible 
with current behaviour.

Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: urwid-callback-user_data.diff
Type: text/x-patch
Size: 3914 bytes
Desc: not available
Url : http://lists.excess.org/pipermail/urwid/attachments/20070206/9cf30ad0/urwid-callback-user_data.bin


More information about the Urwid mailing list