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

typetype ID of a classed type

Returns

the #GTypeClass

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