TypeClass.peek

This function is essentially the same as gobject.type_class.TypeClass.ref_, except that the classes reference count isn't incremented. As a consequence, this function may return null if the class of the type passed in does not currently exist (hasn't been referenced before).

Parameters

type gobject.types.GType

type ID of a classed type

Return Value

Type: gobject.type_class.TypeClass

the #GTypeClass structure for the given type ID or null if the class does not currently exist