Re: [gtk-list] Changing GTK list item label
- From: Nicolas Caillaud <nicolas localhost localdomain>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Changing GTK list item label
- Date: Thu, 26 Mar 1998 23:17:42 +0100 (MET)
>
> Can anyone explain (or show example code) of how to change the label of
> a GTK list item
> created with gtk_list_item_new_with_label()?
>
> Thanks
> - Tim
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
>
>
>From Owen Taylor :
> If you have a list item, created with gtk_list_item_new_with_label(),
> you can get access to the label widget with
>
> GTK_BIN(item)->child
GTK_BIN(item)->child
>
> And, can change the text in that label with:
>
> gtk_label_set (GTK_LABEL (GTK_BIN(item)->child), "some new text");
>
> Hope this helps,
Hope this helps
Nicolas
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]