find_by_gtype


Description:

public BaseInfo find_by_gtype (Type gtype)

Searches all loaded namespaces for a particular Type.

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.

Parameters:

this

A Repository or null for the singleton process-global default Repository

gtype

GType to search for

Returns:

BaseInfo representing metadata about type, or null