Re: [gtk-list] GtkCTreeNode




> I'm currently writing an application using the ctree widget...
> anybody could tell me what is the way to get the data pointer from a
> selected node ?

	gtk_ctree_node_get_row_data(ctree, node)

This will return the user data pointer that you previously stored via
gtk_ctree_node_set_row_data().

To react to the user selecting nodes in the ctree, use the
"tree_select_row" signal on the GtkCTree widget.

- Dave

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS dpu s-:+ a C++$ ULS++$ P+++$>++++ L++>+++$ E+>++ W N++ !o K w++$ O !M-
!V(-) PS+ PE- Y+ PGP !t-- 5++ X R tv b+ DI+++ D G e++ h--- r+++ y++++
------END GEEK CODE BLOCK------



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