Re: Text of a gtk_ctree_node



On Thu, 24 Aug 2000, Ottavio Campana wrote:

> I get a node a of ctree with the commands
> 
> ....
> tmp = GTK_CLIST (ctree1)->selection->data;
> node = gtk_ctree_find_node_ptr (GTK_CTREE (ctree1), GTK_CTREE_ROW (tmp));
> ....
> 
> How can I get the label of the node that I put on it when I created it?

gint        gtk_ctree_node_get_text         (GtkCTree *ctree,
                                             GtkCTreeNode *node,
                                             gint column,
                                             gchar **text);

 Note - you shouldn't free returned ptr.

> Bye
> 

 Best regards,
  -Vlad






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