Re: Selected rows in a CTree



On Sun, Aug 02, 1998 at 01:29:28PM -0400, Stuart Parmenter wrote:
> How do I get the currently selected row(s) in a CTree?
> 
> GTK_CLIST(ctree)->selection->data doesn't seem to be an int...

It's the GtkCTreeNode * of the selected node. This is very similar to the
selection list of GtkList.

> Is CTree different than CList's in this respect?  Any help would be good.
> thanks :)

Yes. Since non visible nodes don't have a specific row number, we can't
store an int in the selection list.

bye,
  Lars



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