[Urwid] Add 'packed' mode to Columns widget

Hans-Christian Esperer hc at hcesperer.org
Tue Mar 9 08:54:24 EST 2010


Hi,

here's a little patch that adds a 'packed' mode to the Columns widget
that acts like the 'fixed' mode but determines the width by calling
the containee's pack() method. In conjunction with that, I've added a
pack() method to the Button widget.

Cheers
HC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: button_pack.patch
Type: text/x-diff
Size: 757 bytes
Desc: not available
Url : http://lists.excess.org/pipermail/urwid/attachments/20100309/604017db/attachment.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: columns_packed.patch
Type: text/x-diff
Size: 1979 bytes
Desc: not available
Url : http://lists.excess.org/pipermail/urwid/attachments/20100309/604017db/attachment-0001.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.excess.org/pipermail/urwid/attachments/20100309/604017db/attachment.pgp 


More information about the Urwid mailing list