[pygtk] size request in scrolled windows + viewport
John Finlay
finlay at moeraki.com
Tue Aug 4 11:57:14 WST 2009
On 08/03/2009 01:27 PM, Alessandro Dentella wrote:
> Hi
>
> I have a table with many widgets inside, so that total dimenstions are
> bigger that the screen so that I put it in a ScrolledWindow + ViewPort.
>
> So far so good. ow I have a Window with all widgets in a pane that scrolls
> fine... but starts very little indeed.
>
> I'd like to know how to propagate the dimentions that the table would
> have requested to set dimentions of the Viewport.
>
> I'm a little lost between size_request/get_child_requisition and similar
> methds.
>
>
If the table is larger than the screen then I would assume you want the
window to be smaller than the table. I usually set the default size of
the Window so it starts up bigger than the minimum size.
John
More information about the pygtk
mailing list