Quoting Rosa Mannini <[EMAIL PROTECTED]>:

> Hello!
> 
> I found some problems to handle ctree signals. Particularly I found
> rather
> hard to handle selections. What does the argument node (GList)
> represent?
> Is it part of GtkCTreeNode structure? How can I use

GList is a double linked list data type defined in the glib library. You
probably want to check out the glib reference documentation which can be found
at http://www.gtk.org. The GTK+ reference and tutorial is also very helpful.

> gtk_ctree_node_get_text(...)? It always returns false to me, even if I
> set
> a string of text in the cells. 

The string is assigned to the last variable of the call "text". Make sure you
are supplying the correct column that you placed the tree in your call to
gtk_ctree_new*.

> Then, when I use the debugger, it doesn't read variables which I declare
> in the handler, such as GtkCTreeNode * or GtkCTreeRow * ones, unless I
> declare them as static ones out of any callback.

Hmm. Make sure that you are compiling your program with debugging support (-g
switch with gcc/egcs). Its also helpful to tell the compiler to not optimize the
code (no -On switches), which makes debugging a little easier.
        Josh Green

+---------------------------------------------------------------------+
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the line "unsubscribe glade-devel" in the body of the message.

Reply via email to