TypeClass.peek

This function is essentially the same as g_type_class_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).

class TypeClass
static
peek

Parameters

type GType

type ID of a classed type

Return Value

Type: TypeClass

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

Meta