Re: Selected rows in a CTree
- From: Lars Hamann <lars gtk org>
- To: Stuart Parmenter <pavlov innerx net>
- Cc: gtk-devel-list redhat com, Gtk+ Devils <gtkdev gtk org>
- Subject: Re: Selected rows in a CTree
- Date: Sun, 2 Aug 1998 20:39:33 +0200
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]