Re: [gtk-list] CTree question.




> I buid a GtkCTree, and I insert a node which is not a leaf:
> n=gtk_ctree_insert_node(ctree1,NULL,NULL,t,0,NULL,NULL,NULL,NULL,FALSE,TRUE);

You have to insert a "dummy" node underneath so that the + will show.  Then
hook up a callback to the Expand signal and remove the dummy before populating
with what you want.  

matthew@orasoft.org
http://www.orasoft.org



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]