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

Re: How to get the widget type



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]