Type.classPeek

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 Type
static
void*
classPeek

Parameters

type GType

Type ID of a classed type.

Return Value

Type: void*

The GTypeClass structure for the given type ID or NULL if the class does not currently exist. [type GObject.TypeClass][transfer none]

Meta