[gtkada] Bug in Node_Get_Text in Ctree
manuel.op.de.coul at eon-benelux.com
manuel.op.de.coul at eon-benelux.com
Thu Feb 8 11:01:36 CET 2001
When I use Gtk.Ctree.Node_Get_Text(..,.., Column => 0, Text, Success) in
a columned tree with two columns, Success is False.
When Column = 1, it works however.
Also, Node_Set_Text(..,.., Column => 0, "some text") works, so the
text can be set, but not retrieved for the first column.
According to the comments, the type of the column should be Cell_Text or
Cell_Pixtext, which it is. This is ensured by s call to Node_Set_Text
which sets the type to Cell_Text.
As a workaround, I found that Node_Get_Pixtext will return the text of the
first column, but I don't need the pixmap.
Manuel Op de Coul
More information about the gtkada
mailing list