Re: [gtk-list] how to get a child of a GtkContainer
- From: Vlad Harchev <hvv hippo ru>
- To: Matthias Reis <matthias reis gmx de>
- cc: gtk-list redhat com
- Subject: Re: [gtk-list] how to get a child of a GtkContainer
- Date: Sat, 6 May 2000 21:43:38 +0500 (SAMST)
On Sat, 6 May 2000, Matthias Reis wrote:
>
> Hi,
>
> I have in my gtk+ application a menuitem, which has a GtkLabel as it's
> child. How can I get the text of this label? The problem is that the label
> is created by gtk_menuitem_new_with_label (), which doesn't return a
> pointer to the label, of course. So how can I get the label?
Hi
This should work:
gtk_label_get(GTK_CONTAINER(menuitem)->child,&str);
> Bye,
> Matthias
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
>
Best regards,
-Vlad
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]