Re: Some questions about g_object_new, gtk_type_window and so on



On Mon, Jul 25, 2011 at 08:51:18AM +0200, Jean Brefort wrote:
> Each type has an associated GType value which can be retrieved using the
> appropriate *_get_type() function. For a GtkButton, the function is:
> GType gtk_button_get_type(void);
> 
> and GTK_TYPE_BUTTON is an equivalent macro:
> #define GTK_TYPE_BUTTON gtk_button_get_type()
> 
> These are not described in the documentation since they all strictly
> follow the same conventions.

More precisely, they are described once for all objects here:

    http://developer.gnome.org/gobject/stable/gtype-conventions.html

Yeti



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