Re: CTree - Retrieving text

The data for a ctree is stored in a CList so if you want to get data from a 
row that is selected you would do this:

                                      column, &text);

Hope this helps,

On Saturday 28 April 2001 01:28, frankc srv net wrote:
I cannot retrieve text from a CTree :

callback connected to ctree does this:

gchar *text;

if(gtk_ctree_node_get_text(ctree, node, column, &text))
    printf("%s\n", text);
    printf("No Text\n");

I am selecting items with text in them.  I even tried to set it first,
which did change it on the list, and read it back.  It would no see it
then either.


gtk-app-devel-list mailing list
gtk-app-devel-list gnome org

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