Label of list_item widget



Hello,

I created a list_item widget using
      gtk_list_item_new_with_label("String")
Later I want to change the string which is displayed in the
label.  How to obtain the label widget from the list_item
to say

      gtk_label_set(LABEL_OF_LIST_ITEM_WIDGET(list_item), "New String");

that means what the hell has to stand for

       LABEL_OF_LIST_ITEM_WIDGET()   ??

I searched the sources and found a gtk_container_add inside
gtk_list_item_new_with_label() but couldn't find any clue how
to get the child from the container.

Regards

       Andreas.



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