[Gtk-sharp-list] A question on using TreeView

Mike Kestner mkestner at gmail.com
Tue Mar 4 23:23:40 EST 2008


On Wed, 2008-03-05 at 11:23 +0800, Marc Glenn wrote:
> Hello guys,
> 
>      I am using the TreeView with the TreeStore model.
>      I would like to make the root node /"uncollapsable"/ since there is 
> no need to collapse the root node in a TreeView.

Not sure I understand, but if you don't want a collapsable toplevel
node, don't insert one.  Just insert your real toplevel nodes into the
view.  You don't have to have a single root node.  You can insert nodes
with a null parent.

-- 
Mike Kestner <mkestner at gmail.com>



More information about the Gtk-sharp-list mailing list