[pygtk] PyGTK Button Size Question
John Stowers
john.stowers.lists at gmail.com
Wed Dec 9 23:18:22 WST 2009
>
>
> the default window's width is 200,and height is 600,but the button
> fill the window,do I make something wrong?
You said it yourself, it sets the minimum size. The widget can grow, and
it does when it is packed into the window.
If you do not want the widget to expand into all available space, then
pack it into a container with the appropriate values for fill and expand
set (False)
John
More information about the pygtk
mailing list