Function

GObject-2.0GObjecttype_class_refDeprecated 2.84

  • Increments the reference count of the class structure belonging to type.

    This function will demand-create the class if it doesn't exist already.

    Parameters

    • Deprecatedtype: GType

      type ID of a classed type

    Returns TypeClass

    the GObject.TypeClass structure for the given type ID

    since 2.84: Use g_type_class_get() instead