Function

GObject-2.0GObjecttype_default_interface_getSince 2.84

  • Returns the default interface vtable for the given g_type.

    If the type is not currently in use, then the default vtable for the type will be created and initialized by calling the base interface init and default vtable init functions for the type (the base_init and class_init members of GObject.TypeInfo).

    If you don't want to create the interface vtable, you should use g_type_default_interface_peek() instead.

    Calling g_type_default_interface_get() is useful when you want to make sure that signals and properties for an interface have been installed.

    Parameters

    • g_type: GType

      an interface type

    Returns TypeInterface

    the default vtable for the interface.

    2.84