On Tue, 3 Oct 2000 [EMAIL PROTECTED] wrote:

> Quoting Rosa Mannini <[EMAIL PROTECTED]>:
> 
> > Hello!
> > 
> 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*.

 My ctree has only one column and I got it from the handler of the signal
ctree_tree_select row. I solved the problem only using the macro
GTK_CELL_TEXT, but I'd like to understand why the function doesn't work
properly. > 
> > 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
> 
 I'm using also Glade, so it compiles with the command gcc ( I use gdb
debugger) but I had no solution. I allocated variable text I passed in the
call to gtk_ctree_node_get_text but the real problem is how to handle the
argument node (GList) passed from the handler of the signal
"ctree_tree_select_row". I noticed that arguments described at www.gtk.org
(Gtk+ Reference) are different from that which are in the header file
gtkctree.h . Am I wrong? Or is there a new place on the web I can go
where?

Thanks for your answering very very much.

Rosa Mannini


+---------------------------------------------------------------------+
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