CTree - Retrieving text



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);
}
else
{
    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.

Frank







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