treeview.allocation.height

and resize to that the ScrolledWindow?

On 11/13/05, egbert <[EMAIL PROTECTED]> wrote:
> Am wrestling with a TreeView within a ScrolledWindow
> within a toplevel window. This is what I try to produce:
>
> - if the model contains less than say eight text rows,
>   the view should show exactly the actual number of rows,
>   without added white space below the last row.
> - with 8 or more rows in the model I want to see
>   only 8 rows in a window with a scrollbar.
>
> The vertical space given to the view is always fixed, ie
> in some experiments enough for only one row,
> in other experiments for many more,  with white space
> below the last row if the actual number of rows is small.
>
> I would like to know how to solve this, as well with
> a ScrolledWindow as with a Scrollbar widget.
> In the last one I don't understand the coupling of
> scrollbar and treeview at all.
>
> As I am quite new to all this, it is difficult to explain too much.
> Thanks in advance,
> egbert
> --
> Egbert Bouwman - Keizersgracht 197 II - 1016 DS  Amsterdam - 020 6257991
> ========================================================================
> _______________________________________________
> pygtk mailing list   [email protected]
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
>


--
Nikos Kouremenos | Jabber ID: [EMAIL PROTECTED] | http://members.hellug.gr/nkour
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to