[Mono-list] GTK TreeView + Scrolling

Adam Tauno Williams adam at morrison-ind.com
Fri Aug 24 08:12:46 EDT 2007


On Fri, 2007-08-24 at 00:04 -0600, John Anderson wrote:
> Hey, I've been going through the tutorial for
> http://www.mono-project.com/GtkSharp_TreeView_Tutorial since this is
> my first time using gtk and the treeview.   I have it all working but
> as I fill the grid it autosizes and I can't shrink the window its in.
> I would like to define a size for the treeview and get scrollbars
> after the data gets past that size, how can I do this? 

Put the TreeView inside a ScrolledWindow.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-list/attachments/20070824/d81cca71/attachment.bin 


More information about the Mono-list mailing list