On Fri, Aug 25, 2000 at 08:02:56PM +0500, Vlad Harchev wrote:
>  Looking at the source, it's clear that the number of columns in GtkCTree is
> returned with the following:
>       GTK_CLIST (ctree)->columns
>  What it's equal to in your case?
> 
>  Also, that node should satisfy the following predicate for the meaningful
> string to be returned:
>       GTK_CTREE_ROW (node)->row.cell[column].type == GTK_CELL_TEXT
>  Is this predicate true for some columns of that node?

Hi!

I've done a lot  of tests but I had no result :-(  . I've decided not to
use gtk_ctree but a gtk_list instead of it. I still have a question (but
if it works it is the last :-) ).

I create  some items with label  and I insert  them in the list.  Then I
need to remove some items and to get the label back. How should I do it?
My code is:

GtkWidget *tmp;
if ((GTK_LIST (list1)->selection != NULL) && (GTK_LIST (list1)->selection->data != 
NULL)) {
        tmp = GTK_LIST (list1)->selection->data; 
} else {
        ...
}

what should I  do after getting tmp to have  first the gtk_list_item and
then the label of it?

Bye

-- 
Non c'� pi� forza nella normalit�, c'� solo monotonia.

_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to