GIBaseInfo* g_irepository_find_by_gtype GIRepository * self GType gtype g_irepository_find_by_gtype GIBaseInfo* g_irepository_find_by_gtype (GIRepository *self, GType gtype);

Searches all loaded namespaces for a particular GType. Note that in order to locate the metadata, the namespace corresponding to the type must first have been loaded. There is currently no mechanism for determining the namespace which corresponds to an arbitrary GType - thus, this function will operate most reliably when you know the GType to originate from be from a loaded namespace.

gtype :

GType to search for

Returns :

GIBaseInfo representing metadata about @type, or %NULL