Jeff Shipman a �crit :
> 
> I'm trying to grab the text from a certain row in
> a ctree after a row is selected. This is the function
> that does it:
> 
> void tree_select_row(GtkCTree *tree, GList *node, gint column, gpointer
> user_data
> {
>    gchar *name;
> 
>    gtk_ctree_node_get_text(GTK_CTREE(tree), GTK_CTREE_NODE(node), column,
> &name);
> 
>    printf("building = %s\n", name);
> }
> 
Try gtk_ctree_node_get_pixtext(GTK_CTREE(tree), GTK_CTREE_NODE(node),
column,
&name, NULL, NULL);
-- 
Florent DEVIN

_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to