[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: How to get the widget type
- From: Havoc Pennington <hp redhat com>
- To: MC_Vai <estoy ver megared net mx>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: How to get the widget type
- Date: 07 Dec 2000 09:38:25 -0500
MC_Vai <estoy@ver.megared.net.mx> writes:
> How can I get to know the type of a widget.
>
> I've been trying with gtk_widget_get_type but this
> returns a non-sense value, because of I am not allowed
> to specify the widget I want to know the type (as an
> argument).
>
> Thanks in advance for your support.
GTK_OBJECT_TYPE (widget) will work.
gtk_widget_get_type() returns the type code for GtkWidget.
Havoc
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]