Table of Contents

Class TypeInterface

Namespace
GObject.Internal
Assembly
GObject-2.0.dll
public class TypeInterface
Inheritance
TypeInterface
Inherited Members

Methods

AddPrerequisite(Type, Type)

Calls native function g_type_interface_add_prerequisite.

public static extern void AddPrerequisite(Type interfaceType, Type prerequisiteType)

Parameters

interfaceType Type

Transfer ownership: None Nullable: False

prerequisiteType Type

Transfer ownership: None Nullable: False

GetPlugin(Type, Type)

Calls native function g_type_interface_get_plugin.

public static extern IntPtr GetPlugin(Type instanceType, Type interfaceType)

Parameters

instanceType Type

Transfer ownership: None Nullable: False

interfaceType Type

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

InstantiatablePrerequisite(Type)

Calls native function g_type_interface_instantiatable_prerequisite. Version: 2.68

[Version("2.68")]
public static extern nuint InstantiatablePrerequisite(Type interfaceType)

Parameters

interfaceType Type

Transfer ownership: None Nullable: False

Returns

nuint

Transfer ownership: None Nullable: False

Peek(TypeClassHandle, Type)

Calls native function g_type_interface_peek.

public static extern TypeInterfaceUnownedHandle Peek(TypeClassHandle instanceClass, Type ifaceType)

Parameters

instanceClass TypeClassHandle

Transfer ownership: None Nullable: False

ifaceType Type

Transfer ownership: None Nullable: False

Returns

TypeInterfaceUnownedHandle

Transfer ownership: None Nullable: False

PeekParent(TypeInterfaceHandle)

Calls native method g_type_interface_peek_parent.

public static extern TypeInterfaceUnownedHandle PeekParent(TypeInterfaceHandle gIface)

Parameters

gIface TypeInterfaceHandle

Transfer ownership: None Nullable: False

Returns

TypeInterfaceUnownedHandle

Transfer ownership: None Nullable: False