class_get


Description:

[ CCode ( cname = "g_type_class_get" ) ]
[ Version ( since = "2.84" ) ]
public unowned TypeClass class_get ()

Retrieves the type class of the given type.

This function will create the class on demand if it does not exist already.

If you don't want to create the class, use class_peek instead.

Parameters:

type

type ID of a classed type

Returns:

the class structure for the type