Re: [gtk-list] Code examples for CTree in EXTENDED selection mode?
- From: Lee <drazka geocities com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Code examples for CTree in EXTENDED selection mode?
- Date: Thu, 21 Jan 1999 13:19:51 +0000
Andrew P. Lentvorski wrote:
>
> Anybody have any examples of how to get at the text on selected lines
> of a CTree? I attempted to use the row accessor functions on the embedded
> CList but got a core dump. Any help/examples would be appreciated.
You can access the data you've added to the ctree row itself using the
"tree-select-row" signal, and then there is a function to retrieve the
text label and pixmaps on the selected row.
See the gtkctree.h for the exact function - any fields you don't want to
deal with, just pass NULL to the function.
hth.
--
Lee.
http://atlas.cs.york.ac.uk/~lrpm100/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]