Zitat von Ian Ward <[EMAIL PROTECTED]>:
> boxwidget = a ListBox or something
> buttons = a Pile, Columns or GridFlow widget containing buttons
> box_and_buttons = Pile([boxwidget, ('flow', buttons)])
>
> then box_and_buttons should be treated as a box widget and it will
> display buttons at the bottom, leaving the rest of the space for boxwidget.
Hey, that answers a question that I posted two weeks ago! Somehow I was
confused about the usage of the 'flow' attribute, but now it works! :)
When I wrote the filechooser, the Pile widget could only contain flow widgets,
that's why the ListBox widgets have a fixed height. I had the same problem in
other cases, too, so the new flexible behaviour of the Pile widget is really
a great thing to have.
Now that I know how I think I will update the filechooser example.
Yours,
Rebecca
_______________________________________________
Urwid mailing list
[email protected]
http://lists.excess.org/mailman/listinfo/urwid