Re: How to get text from a GtkCTree?
- From: "Florent. Devin" <Florent Devin lifl fr>
- To: Jeff Shipman <shippy ladron cs nmt edu>
- Cc: gtk-list gnome org
- Subject: Re: How to get text from a GtkCTree?
- Date: Fri, 29 Sep 2000 07:33:39 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]