Table of Contents

Class Functions

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

Methods

BoxedCopy(Type, IntPtr)

Calls native function g_boxed_copy.

public static extern IntPtr BoxedCopy(Type boxedType, IntPtr srcBoxed)

Parameters

boxedType Type

Transfer ownership: None Nullable: False

srcBoxed IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

BoxedFree(Type, IntPtr)

Calls native function g_boxed_free.

public static extern void BoxedFree(Type boxedType, IntPtr boxed)

Parameters

boxedType Type

Transfer ownership: None Nullable: False

boxed IntPtr

Transfer ownership: None Nullable: False

BoxedTypeRegisterStatic(NonNullableUtf8StringHandle, BoxedCopyFunc, BoxedFreeFunc)

Calls native function g_boxed_type_register_static.

public static extern nuint BoxedTypeRegisterStatic(NonNullableUtf8StringHandle name, BoxedCopyFunc boxedCopy, BoxedFreeFunc boxedFree)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

boxedCopy BoxedCopyFunc

Transfer ownership: None Nullable: False

boxedFree BoxedFreeFunc

Transfer ownership: None Nullable: False

Returns

nuint

Transfer ownership: None Nullable: False

CclosureMarshalBOOLEANBOXEDBOXED(ClosureHandle, ValueHandle, uint, ValueHandle, IntPtr, IntPtr)

Calls native function g_cclosure_marshal_BOOLEAN__BOXED_BOXED.

public static extern void CclosureMarshalBOOLEANBOXEDBOXED(ClosureHandle closure, ValueHandle returnValue, uint nParamValues, ValueHandle paramValues, IntPtr invocationHint, IntPtr marshalData)

Parameters

closure ClosureHandle

Transfer ownership: None Nullable: False

returnValue ValueHandle

Transfer ownership: None Nullable: False

nParamValues uint

Transfer ownership: None Nullable: False

paramValues ValueHandle

Transfer ownership: None Nullable: False

invocationHint IntPtr

Transfer ownership: None Nullable: True

marshalData IntPtr

Transfer ownership: None Nullable: True

CclosureMarshalBOOLEANFLAGS(ClosureHandle, ValueHandle, uint, ValueHandle, IntPtr, IntPtr)

Calls native function g_cclosure_marshal_BOOLEAN__FLAGS.

public static extern void CclosureMarshalBOOLEANFLAGS(ClosureHandle closure, ValueHandle returnValue, uint nParamValues, ValueHandle paramValues, IntPtr invocationHint, IntPtr marshalData)

Parameters

closure ClosureHandle

Transfer ownership: None Nullable: False

returnValue ValueHandle

Transfer ownership: None Nullable: False

nParamValues uint

Transfer ownership: None Nullable: False

paramValues ValueHandle

Transfer ownership: None Nullable: False

invocationHint IntPtr

Transfer ownership: None Nullable: True

marshalData IntPtr

Transfer ownership: None Nullable: True

CclosureMarshalGeneric(ClosureHandle, ValueHandle, uint, ValueHandle, IntPtr, IntPtr)

Calls native function g_cclosure_marshal_generic. Version: 2.30

[Version("2.30")]
public static extern void CclosureMarshalGeneric(ClosureHandle closure, ValueHandle returnGvalue, uint nParamValues, ValueHandle paramValues, IntPtr invocationHint, IntPtr marshalData)

Parameters

closure ClosureHandle

Transfer ownership: None Nullable: False

returnGvalue ValueHandle

Transfer ownership: None Nullable: False

nParamValues uint

Transfer ownership: None Nullable: False

paramValues ValueHandle

Transfer ownership: None Nullable: False

invocationHint IntPtr

Transfer ownership: None Nullable: True

marshalData IntPtr

Transfer ownership: None Nullable: True

CclosureMarshalSTRINGOBJECTPOINTER(ClosureHandle, ValueHandle, uint, ValueHandle, IntPtr, IntPtr)

Calls native function g_cclosure_marshal_STRING__OBJECT_POINTER.

public static extern void CclosureMarshalSTRINGOBJECTPOINTER(ClosureHandle closure, ValueHandle returnValue, uint nParamValues, ValueHandle paramValues, IntPtr invocationHint, IntPtr marshalData)

Parameters

closure ClosureHandle

Transfer ownership: None Nullable: False

returnValue ValueHandle

Transfer ownership: None Nullable: False

nParamValues uint

Transfer ownership: None Nullable: False

paramValues ValueHandle

Transfer ownership: None Nullable: False

invocationHint IntPtr

Transfer ownership: None Nullable: True

marshalData IntPtr

Transfer ownership: None Nullable: True

CclosureMarshalVOIDBOOLEAN(ClosureHandle, ValueHandle, uint, ValueHandle, IntPtr, IntPtr)

Calls native function g_cclosure_marshal_VOID__BOOLEAN.

public static extern void CclosureMarshalVOIDBOOLEAN(ClosureHandle closure, ValueHandle returnValue, uint nParamValues, ValueHandle paramValues, IntPtr invocationHint, IntPtr marshalData)

Parameters

closure ClosureHandle

Transfer ownership: None Nullable: False

returnValue ValueHandle

Transfer ownership: None Nullable: False

nParamValues uint

Transfer ownership: None Nullable: False

paramValues ValueHandle

Transfer ownership: None Nullable: False

invocationHint IntPtr

Transfer ownership: None Nullable: True

marshalData IntPtr

Transfer ownership: None Nullable: True

CclosureMarshalVOIDBOXED(ClosureHandle, ValueHandle, uint, ValueHandle, IntPtr, IntPtr)

Calls native function g_cclosure_marshal_VOID__BOXED.

public static extern void CclosureMarshalVOIDBOXED(ClosureHandle closure, ValueHandle returnValue, uint nParamValues, ValueHandle paramValues, IntPtr invocationHint, IntPtr marshalData)

Parameters

closure ClosureHandle

Transfer ownership: None Nullable: False

returnValue ValueHandle

Transfer ownership: None Nullable: False

nParamValues uint

Transfer ownership: None Nullable: False

paramValues ValueHandle

Transfer ownership: None Nullable: False

invocationHint IntPtr

Transfer ownership: None Nullable: True

marshalData IntPtr

Transfer ownership: None Nullable: True

CclosureMarshalVOIDCHAR(ClosureHandle, ValueHandle, uint, ValueHandle, IntPtr, IntPtr)

Calls native function g_cclosure_marshal_VOID__CHAR.

public static extern void CclosureMarshalVOIDCHAR(ClosureHandle closure, ValueHandle returnValue, uint nParamValues, ValueHandle paramValues, IntPtr invocationHint, IntPtr marshalData)

Parameters

closure ClosureHandle

Transfer ownership: None Nullable: False

returnValue ValueHandle

Transfer ownership: None Nullable: False

nParamValues uint

Transfer ownership: None Nullable: False

paramValues ValueHandle

Transfer ownership: None Nullable: False

invocationHint IntPtr

Transfer ownership: None Nullable: True

marshalData IntPtr

Transfer ownership: None Nullable: True

CclosureMarshalVOIDDOUBLE(ClosureHandle, ValueHandle, uint, ValueHandle, IntPtr, IntPtr)

Calls native function g_cclosure_marshal_VOID__DOUBLE.

public static extern void CclosureMarshalVOIDDOUBLE(ClosureHandle closure, ValueHandle returnValue, uint nParamValues, ValueHandle paramValues, IntPtr invocationHint, IntPtr marshalData)

Parameters

closure ClosureHandle

Transfer ownership: None Nullable: False

returnValue ValueHandle

Transfer ownership: None Nullable: False

nParamValues uint

Transfer ownership: None Nullable: False

paramValues ValueHandle

Transfer ownership: None Nullable: False

invocationHint IntPtr

Transfer ownership: None Nullable: True

marshalData IntPtr

Transfer ownership: None Nullable: True

CclosureMarshalVOIDENUM(ClosureHandle, ValueHandle, uint, ValueHandle, IntPtr, IntPtr)

Calls native function g_cclosure_marshal_VOID__ENUM.

public static extern void CclosureMarshalVOIDENUM(ClosureHandle closure, ValueHandle returnValue, uint nParamValues, ValueHandle paramValues, IntPtr invocationHint, IntPtr marshalData)

Parameters

closure ClosureHandle

Transfer ownership: None Nullable: False

returnValue ValueHandle

Transfer ownership: None Nullable: False

nParamValues uint

Transfer ownership: None Nullable: False

paramValues ValueHandle

Transfer ownership: None Nullable: False

invocationHint IntPtr

Transfer ownership: None Nullable: True

marshalData IntPtr

Transfer ownership: None Nullable: True

CclosureMarshalVOIDFLAGS(ClosureHandle, ValueHandle, uint, ValueHandle, IntPtr, IntPtr)

Calls native function g_cclosure_marshal_VOID__FLAGS.

public static extern void CclosureMarshalVOIDFLAGS(ClosureHandle closure, ValueHandle returnValue, uint nParamValues, ValueHandle paramValues, IntPtr invocationHint, IntPtr marshalData)

Parameters

closure ClosureHandle

Transfer ownership: None Nullable: False

returnValue ValueHandle

Transfer ownership: None Nullable: False

nParamValues uint

Transfer ownership: None Nullable: False

paramValues ValueHandle

Transfer ownership: None Nullable: False

invocationHint IntPtr

Transfer ownership: None Nullable: True

marshalData IntPtr

Transfer ownership: None Nullable: True

CclosureMarshalVOIDFLOAT(ClosureHandle, ValueHandle, uint, ValueHandle, IntPtr, IntPtr)

Calls native function g_cclosure_marshal_VOID__FLOAT.

public static extern void CclosureMarshalVOIDFLOAT(ClosureHandle closure, ValueHandle returnValue, uint nParamValues, ValueHandle paramValues, IntPtr invocationHint, IntPtr marshalData)

Parameters

closure ClosureHandle

Transfer ownership: None Nullable: False

returnValue ValueHandle

Transfer ownership: None Nullable: False

nParamValues uint

Transfer ownership: None Nullable: False

paramValues ValueHandle

Transfer ownership: None Nullable: False

invocationHint IntPtr

Transfer ownership: None Nullable: True

marshalData IntPtr

Transfer ownership: None Nullable: True

CclosureMarshalVOIDINT(ClosureHandle, ValueHandle, uint, ValueHandle, IntPtr, IntPtr)

Calls native function g_cclosure_marshal_VOID__INT.

public static extern void CclosureMarshalVOIDINT(ClosureHandle closure, ValueHandle returnValue, uint nParamValues, ValueHandle paramValues, IntPtr invocationHint, IntPtr marshalData)

Parameters

closure ClosureHandle

Transfer ownership: None Nullable: False

returnValue ValueHandle

Transfer ownership: None Nullable: False

nParamValues uint

Transfer ownership: None Nullable: False

paramValues ValueHandle

Transfer ownership: None Nullable: False

invocationHint IntPtr

Transfer ownership: None Nullable: True

marshalData IntPtr

Transfer ownership: None Nullable: True

CclosureMarshalVOIDLONG(ClosureHandle, ValueHandle, uint, ValueHandle, IntPtr, IntPtr)

Calls native function g_cclosure_marshal_VOID__LONG.

public static extern void CclosureMarshalVOIDLONG(ClosureHandle closure, ValueHandle returnValue, uint nParamValues, ValueHandle paramValues, IntPtr invocationHint, IntPtr marshalData)

Parameters

closure ClosureHandle

Transfer ownership: None Nullable: False

returnValue ValueHandle

Transfer ownership: None Nullable: False

nParamValues uint

Transfer ownership: None Nullable: False

paramValues ValueHandle

Transfer ownership: None Nullable: False

invocationHint IntPtr

Transfer ownership: None Nullable: True

marshalData IntPtr

Transfer ownership: None Nullable: True

CclosureMarshalVOIDOBJECT(ClosureHandle, ValueHandle, uint, ValueHandle, IntPtr, IntPtr)

Calls native function g_cclosure_marshal_VOID__OBJECT.

public static extern void CclosureMarshalVOIDOBJECT(ClosureHandle closure, ValueHandle returnValue, uint nParamValues, ValueHandle paramValues, IntPtr invocationHint, IntPtr marshalData)

Parameters

closure ClosureHandle

Transfer ownership: None Nullable: False

returnValue ValueHandle

Transfer ownership: None Nullable: False

nParamValues uint

Transfer ownership: None Nullable: False

paramValues ValueHandle

Transfer ownership: None Nullable: False

invocationHint IntPtr

Transfer ownership: None Nullable: True

marshalData IntPtr

Transfer ownership: None Nullable: True

CclosureMarshalVOIDPARAM(ClosureHandle, ValueHandle, uint, ValueHandle, IntPtr, IntPtr)

Calls native function g_cclosure_marshal_VOID__PARAM.

public static extern void CclosureMarshalVOIDPARAM(ClosureHandle closure, ValueHandle returnValue, uint nParamValues, ValueHandle paramValues, IntPtr invocationHint, IntPtr marshalData)

Parameters

closure ClosureHandle

Transfer ownership: None Nullable: False

returnValue ValueHandle

Transfer ownership: None Nullable: False

nParamValues uint

Transfer ownership: None Nullable: False

paramValues ValueHandle

Transfer ownership: None Nullable: False

invocationHint IntPtr

Transfer ownership: None Nullable: True

marshalData IntPtr

Transfer ownership: None Nullable: True

CclosureMarshalVOIDPOINTER(ClosureHandle, ValueHandle, uint, ValueHandle, IntPtr, IntPtr)

Calls native function g_cclosure_marshal_VOID__POINTER.

public static extern void CclosureMarshalVOIDPOINTER(ClosureHandle closure, ValueHandle returnValue, uint nParamValues, ValueHandle paramValues, IntPtr invocationHint, IntPtr marshalData)

Parameters

closure ClosureHandle

Transfer ownership: None Nullable: False

returnValue ValueHandle

Transfer ownership: None Nullable: False

nParamValues uint

Transfer ownership: None Nullable: False

paramValues ValueHandle

Transfer ownership: None Nullable: False

invocationHint IntPtr

Transfer ownership: None Nullable: True

marshalData IntPtr

Transfer ownership: None Nullable: True

CclosureMarshalVOIDSTRING(ClosureHandle, ValueHandle, uint, ValueHandle, IntPtr, IntPtr)

Calls native function g_cclosure_marshal_VOID__STRING.

public static extern void CclosureMarshalVOIDSTRING(ClosureHandle closure, ValueHandle returnValue, uint nParamValues, ValueHandle paramValues, IntPtr invocationHint, IntPtr marshalData)

Parameters

closure ClosureHandle

Transfer ownership: None Nullable: False

returnValue ValueHandle

Transfer ownership: None Nullable: False

nParamValues uint

Transfer ownership: None Nullable: False

paramValues ValueHandle

Transfer ownership: None Nullable: False

invocationHint IntPtr

Transfer ownership: None Nullable: True

marshalData IntPtr

Transfer ownership: None Nullable: True

CclosureMarshalVOIDUCHAR(ClosureHandle, ValueHandle, uint, ValueHandle, IntPtr, IntPtr)

Calls native function g_cclosure_marshal_VOID__UCHAR.

public static extern void CclosureMarshalVOIDUCHAR(ClosureHandle closure, ValueHandle returnValue, uint nParamValues, ValueHandle paramValues, IntPtr invocationHint, IntPtr marshalData)

Parameters

closure ClosureHandle

Transfer ownership: None Nullable: False

returnValue ValueHandle

Transfer ownership: None Nullable: False

nParamValues uint

Transfer ownership: None Nullable: False

paramValues ValueHandle

Transfer ownership: None Nullable: False

invocationHint IntPtr

Transfer ownership: None Nullable: True

marshalData IntPtr

Transfer ownership: None Nullable: True

CclosureMarshalVOIDUINT(ClosureHandle, ValueHandle, uint, ValueHandle, IntPtr, IntPtr)

Calls native function g_cclosure_marshal_VOID__UINT.

public static extern void CclosureMarshalVOIDUINT(ClosureHandle closure, ValueHandle returnValue, uint nParamValues, ValueHandle paramValues, IntPtr invocationHint, IntPtr marshalData)

Parameters

closure ClosureHandle

Transfer ownership: None Nullable: False

returnValue ValueHandle

Transfer ownership: None Nullable: False

nParamValues uint

Transfer ownership: None Nullable: False

paramValues ValueHandle

Transfer ownership: None Nullable: False

invocationHint IntPtr

Transfer ownership: None Nullable: True

marshalData IntPtr

Transfer ownership: None Nullable: True

CclosureMarshalVOIDUINTPOINTER(ClosureHandle, ValueHandle, uint, ValueHandle, IntPtr, IntPtr)

Calls native function g_cclosure_marshal_VOID__UINT_POINTER.

public static extern void CclosureMarshalVOIDUINTPOINTER(ClosureHandle closure, ValueHandle returnValue, uint nParamValues, ValueHandle paramValues, IntPtr invocationHint, IntPtr marshalData)

Parameters

closure ClosureHandle

Transfer ownership: None Nullable: False

returnValue ValueHandle

Transfer ownership: None Nullable: False

nParamValues uint

Transfer ownership: None Nullable: False

paramValues ValueHandle

Transfer ownership: None Nullable: False

invocationHint IntPtr

Transfer ownership: None Nullable: True

marshalData IntPtr

Transfer ownership: None Nullable: True

CclosureMarshalVOIDULONG(ClosureHandle, ValueHandle, uint, ValueHandle, IntPtr, IntPtr)

Calls native function g_cclosure_marshal_VOID__ULONG.

public static extern void CclosureMarshalVOIDULONG(ClosureHandle closure, ValueHandle returnValue, uint nParamValues, ValueHandle paramValues, IntPtr invocationHint, IntPtr marshalData)

Parameters

closure ClosureHandle

Transfer ownership: None Nullable: False

returnValue ValueHandle

Transfer ownership: None Nullable: False

nParamValues uint

Transfer ownership: None Nullable: False

paramValues ValueHandle

Transfer ownership: None Nullable: False

invocationHint IntPtr

Transfer ownership: None Nullable: True

marshalData IntPtr

Transfer ownership: None Nullable: True

CclosureMarshalVOIDVARIANT(ClosureHandle, ValueHandle, uint, ValueHandle, IntPtr, IntPtr)

Calls native function g_cclosure_marshal_VOID__VARIANT.

public static extern void CclosureMarshalVOIDVARIANT(ClosureHandle closure, ValueHandle returnValue, uint nParamValues, ValueHandle paramValues, IntPtr invocationHint, IntPtr marshalData)

Parameters

closure ClosureHandle

Transfer ownership: None Nullable: False

returnValue ValueHandle

Transfer ownership: None Nullable: False

nParamValues uint

Transfer ownership: None Nullable: False

paramValues ValueHandle

Transfer ownership: None Nullable: False

invocationHint IntPtr

Transfer ownership: None Nullable: True

marshalData IntPtr

Transfer ownership: None Nullable: True

CclosureMarshalVOIDVOID(ClosureHandle, ValueHandle, uint, ValueHandle, IntPtr, IntPtr)

Calls native function g_cclosure_marshal_VOID__VOID.

public static extern void CclosureMarshalVOIDVOID(ClosureHandle closure, ValueHandle returnValue, uint nParamValues, ValueHandle paramValues, IntPtr invocationHint, IntPtr marshalData)

Parameters

closure ClosureHandle

Transfer ownership: None Nullable: False

returnValue ValueHandle

Transfer ownership: None Nullable: False

nParamValues uint

Transfer ownership: None Nullable: False

paramValues ValueHandle

Transfer ownership: None Nullable: False

invocationHint IntPtr

Transfer ownership: None Nullable: True

marshalData IntPtr

Transfer ownership: None Nullable: True

CclosureNew(Callback, IntPtr, ClosureNotify)

Calls native function g_cclosure_new.

public static extern ClosureUnownedHandle CclosureNew(Callback callbackFunc, IntPtr userData, ClosureNotify destroyData)

Parameters

callbackFunc Callback

Transfer ownership: None Nullable: True

userData IntPtr

Transfer ownership: None Nullable: True

destroyData ClosureNotify

Transfer ownership: None Nullable: False

Returns

ClosureUnownedHandle

Transfer ownership: None Nullable: False

CclosureNewObject(Callback, IntPtr)

Calls native function g_cclosure_new_object.

public static extern ClosureUnownedHandle CclosureNewObject(Callback callbackFunc, IntPtr @object)

Parameters

callbackFunc Callback

Transfer ownership: None Nullable: False

object IntPtr

Returns

ClosureUnownedHandle

Transfer ownership: None Nullable: False

CclosureNewObjectSwap(Callback, IntPtr)

Calls native function g_cclosure_new_object_swap.

public static extern ClosureUnownedHandle CclosureNewObjectSwap(Callback callbackFunc, IntPtr @object)

Parameters

callbackFunc Callback

Transfer ownership: None Nullable: False

object IntPtr

Returns

ClosureUnownedHandle

Transfer ownership: None Nullable: False

CclosureNewSwap(Callback, IntPtr, ClosureNotify)

Calls native function g_cclosure_new_swap.

public static extern ClosureUnownedHandle CclosureNewSwap(Callback callbackFunc, IntPtr userData, ClosureNotify destroyData)

Parameters

callbackFunc Callback

Transfer ownership: None Nullable: True

userData IntPtr

Transfer ownership: None Nullable: True

destroyData ClosureNotify

Transfer ownership: None Nullable: False

Returns

ClosureUnownedHandle

Transfer ownership: None Nullable: False

ClearObject(IntPtr)

Calls native function g_clear_object. Version: 2.28

[Version("2.28")]
public static extern void ClearObject(IntPtr objectPtr)

Parameters

objectPtr IntPtr

Transfer ownership: None Nullable: False

ClearSignalHandler(ref ulong, IntPtr)

Calls native function g_clear_signal_handler. Version: 2.62

[Version("2.62")]
public static extern void ClearSignalHandler(ref ulong handlerIdPtr, IntPtr instance)

Parameters

handlerIdPtr ulong

Transfer ownership: None Nullable: False

instance IntPtr

Transfer ownership: None Nullable: False

EnumGetValue(EnumClassHandle, int)

Calls native function g_enum_get_value.

public static extern EnumValueUnownedHandle EnumGetValue(EnumClassHandle enumClass, int value)

Parameters

enumClass EnumClassHandle

Transfer ownership: None Nullable: False

value int

Transfer ownership: None Nullable: False

Returns

EnumValueUnownedHandle

Transfer ownership: None Nullable: True

EnumGetValueByName(EnumClassHandle, NonNullableUtf8StringHandle)

Calls native function g_enum_get_value_by_name.

public static extern EnumValueUnownedHandle EnumGetValueByName(EnumClassHandle enumClass, NonNullableUtf8StringHandle name)

Parameters

enumClass EnumClassHandle

Transfer ownership: None Nullable: False

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

EnumValueUnownedHandle

Transfer ownership: None Nullable: True

EnumGetValueByNick(EnumClassHandle, NonNullableUtf8StringHandle)

Calls native function g_enum_get_value_by_nick.

public static extern EnumValueUnownedHandle EnumGetValueByNick(EnumClassHandle enumClass, NonNullableUtf8StringHandle nick)

Parameters

enumClass EnumClassHandle

Transfer ownership: None Nullable: False

nick NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

EnumValueUnownedHandle

Transfer ownership: None Nullable: True

EnumRegisterStatic(NonNullableUtf8StringHandle, EnumValueHandle)

Calls native function g_enum_register_static.

public static extern nuint EnumRegisterStatic(NonNullableUtf8StringHandle name, EnumValueHandle constStaticValues)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

constStaticValues EnumValueHandle

Transfer ownership: None Nullable: False

Returns

nuint

Transfer ownership: None Nullable: False

EnumToString(Type, int)

Calls native function g_enum_to_string. Version: 2.54

[Version("2.54")]
public static extern NonNullableUtf8StringOwnedHandle EnumToString(Type gEnumType, int value)

Parameters

gEnumType Type

Transfer ownership: None Nullable: False

value int

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringOwnedHandle

Transfer ownership: Full Nullable: False

FlagsGetFirstValue(FlagsClassHandle, uint)

Calls native function g_flags_get_first_value.

public static extern FlagsValueUnownedHandle FlagsGetFirstValue(FlagsClassHandle flagsClass, uint value)

Parameters

flagsClass FlagsClassHandle

Transfer ownership: None Nullable: False

value uint

Transfer ownership: None Nullable: False

Returns

FlagsValueUnownedHandle

Transfer ownership: None Nullable: True

FlagsGetValueByName(FlagsClassHandle, NonNullableUtf8StringHandle)

Calls native function g_flags_get_value_by_name.

public static extern FlagsValueUnownedHandle FlagsGetValueByName(FlagsClassHandle flagsClass, NonNullableUtf8StringHandle name)

Parameters

flagsClass FlagsClassHandle

Transfer ownership: None Nullable: False

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

FlagsValueUnownedHandle

Transfer ownership: None Nullable: True

FlagsGetValueByNick(FlagsClassHandle, NonNullableUtf8StringHandle)

Calls native function g_flags_get_value_by_nick.

public static extern FlagsValueUnownedHandle FlagsGetValueByNick(FlagsClassHandle flagsClass, NonNullableUtf8StringHandle nick)

Parameters

flagsClass FlagsClassHandle

Transfer ownership: None Nullable: False

nick NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

FlagsValueUnownedHandle

Transfer ownership: None Nullable: True

FlagsRegisterStatic(NonNullableUtf8StringHandle, FlagsValueHandle)

Calls native function g_flags_register_static.

public static extern nuint FlagsRegisterStatic(NonNullableUtf8StringHandle name, FlagsValueHandle constStaticValues)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

constStaticValues FlagsValueHandle

Transfer ownership: None Nullable: False

Returns

nuint

Transfer ownership: None Nullable: False

FlagsToString(Type, uint)

Calls native function g_flags_to_string. Version: 2.54

[Version("2.54")]
public static extern NonNullableUtf8StringOwnedHandle FlagsToString(Type flagsType, uint value)

Parameters

flagsType Type

Transfer ownership: None Nullable: False

value uint

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringOwnedHandle

Transfer ownership: Full Nullable: False

GtypeGetType()

Calls native function g_gtype_get_type.

public static extern nuint GtypeGetType()

Returns

nuint

Transfer ownership: None Nullable: False

ParamSpecBoolean(NonNullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle, bool, ParamFlags)

Calls native function g_param_spec_boolean.

public static extern IntPtr ParamSpecBoolean(NonNullableUtf8StringHandle name, NullableUtf8StringHandle nick, NullableUtf8StringHandle blurb, bool defaultValue, ParamFlags flags)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

nick NullableUtf8StringHandle

Transfer ownership: None Nullable: True

blurb NullableUtf8StringHandle

Transfer ownership: None Nullable: True

defaultValue bool

Transfer ownership: None Nullable: False

flags ParamFlags

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

ParamSpecBoxed(NonNullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle, Type, ParamFlags)

Calls native function g_param_spec_boxed.

public static extern IntPtr ParamSpecBoxed(NonNullableUtf8StringHandle name, NullableUtf8StringHandle nick, NullableUtf8StringHandle blurb, Type boxedType, ParamFlags flags)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

nick NullableUtf8StringHandle

Transfer ownership: None Nullable: True

blurb NullableUtf8StringHandle

Transfer ownership: None Nullable: True

boxedType Type

Transfer ownership: None Nullable: False

flags ParamFlags

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

ParamSpecChar(NonNullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle, sbyte, sbyte, sbyte, ParamFlags)

Calls native function g_param_spec_char.

public static extern IntPtr ParamSpecChar(NonNullableUtf8StringHandle name, NullableUtf8StringHandle nick, NullableUtf8StringHandle blurb, sbyte minimum, sbyte maximum, sbyte defaultValue, ParamFlags flags)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

nick NullableUtf8StringHandle

Transfer ownership: None Nullable: True

blurb NullableUtf8StringHandle

Transfer ownership: None Nullable: True

minimum sbyte

Transfer ownership: None Nullable: False

maximum sbyte

Transfer ownership: None Nullable: False

defaultValue sbyte

Transfer ownership: None Nullable: False

flags ParamFlags

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

ParamSpecDouble(NonNullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle, double, double, double, ParamFlags)

Calls native function g_param_spec_double.

public static extern IntPtr ParamSpecDouble(NonNullableUtf8StringHandle name, NullableUtf8StringHandle nick, NullableUtf8StringHandle blurb, double minimum, double maximum, double defaultValue, ParamFlags flags)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

nick NullableUtf8StringHandle

Transfer ownership: None Nullable: True

blurb NullableUtf8StringHandle

Transfer ownership: None Nullable: True

minimum double

Transfer ownership: None Nullable: False

maximum double

Transfer ownership: None Nullable: False

defaultValue double

Transfer ownership: None Nullable: False

flags ParamFlags

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

ParamSpecEnum(NonNullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle, Type, int, ParamFlags)

Calls native function g_param_spec_enum.

public static extern IntPtr ParamSpecEnum(NonNullableUtf8StringHandle name, NullableUtf8StringHandle nick, NullableUtf8StringHandle blurb, Type enumType, int defaultValue, ParamFlags flags)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

nick NullableUtf8StringHandle

Transfer ownership: None Nullable: True

blurb NullableUtf8StringHandle

Transfer ownership: None Nullable: True

enumType Type

Transfer ownership: None Nullable: False

defaultValue int

Transfer ownership: None Nullable: False

flags ParamFlags

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

ParamSpecFlags(NonNullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle, Type, uint, ParamFlags)

Calls native function g_param_spec_flags.

public static extern IntPtr ParamSpecFlags(NonNullableUtf8StringHandle name, NullableUtf8StringHandle nick, NullableUtf8StringHandle blurb, Type flagsType, uint defaultValue, ParamFlags flags)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

nick NullableUtf8StringHandle

Transfer ownership: None Nullable: True

blurb NullableUtf8StringHandle

Transfer ownership: None Nullable: True

flagsType Type

Transfer ownership: None Nullable: False

defaultValue uint

Transfer ownership: None Nullable: False

flags ParamFlags

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

ParamSpecFloat(NonNullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle, float, float, float, ParamFlags)

Calls native function g_param_spec_float.

public static extern IntPtr ParamSpecFloat(NonNullableUtf8StringHandle name, NullableUtf8StringHandle nick, NullableUtf8StringHandle blurb, float minimum, float maximum, float defaultValue, ParamFlags flags)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

nick NullableUtf8StringHandle

Transfer ownership: None Nullable: True

blurb NullableUtf8StringHandle

Transfer ownership: None Nullable: True

minimum float

Transfer ownership: None Nullable: False

maximum float

Transfer ownership: None Nullable: False

defaultValue float

Transfer ownership: None Nullable: False

flags ParamFlags

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

ParamSpecGtype(NonNullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle, Type, ParamFlags)

Calls native function g_param_spec_gtype. Version: 2.10

[Version("2.10")]
public static extern IntPtr ParamSpecGtype(NonNullableUtf8StringHandle name, NullableUtf8StringHandle nick, NullableUtf8StringHandle blurb, Type isAType, ParamFlags flags)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

nick NullableUtf8StringHandle

Transfer ownership: None Nullable: True

blurb NullableUtf8StringHandle

Transfer ownership: None Nullable: True

isAType Type

Transfer ownership: None Nullable: False

flags ParamFlags

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

ParamSpecInt(NonNullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle, int, int, int, ParamFlags)

Calls native function g_param_spec_int.

public static extern IntPtr ParamSpecInt(NonNullableUtf8StringHandle name, NullableUtf8StringHandle nick, NullableUtf8StringHandle blurb, int minimum, int maximum, int defaultValue, ParamFlags flags)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

nick NullableUtf8StringHandle

Transfer ownership: None Nullable: True

blurb NullableUtf8StringHandle

Transfer ownership: None Nullable: True

minimum int

Transfer ownership: None Nullable: False

maximum int

Transfer ownership: None Nullable: False

defaultValue int

Transfer ownership: None Nullable: False

flags ParamFlags

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

ParamSpecInt64(NonNullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle, long, long, long, ParamFlags)

Calls native function g_param_spec_int64.

public static extern IntPtr ParamSpecInt64(NonNullableUtf8StringHandle name, NullableUtf8StringHandle nick, NullableUtf8StringHandle blurb, long minimum, long maximum, long defaultValue, ParamFlags flags)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

nick NullableUtf8StringHandle

Transfer ownership: None Nullable: True

blurb NullableUtf8StringHandle

Transfer ownership: None Nullable: True

minimum long

Transfer ownership: None Nullable: False

maximum long

Transfer ownership: None Nullable: False

defaultValue long

Transfer ownership: None Nullable: False

flags ParamFlags

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

ParamSpecLong(NonNullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle, long, long, long, ParamFlags)

Calls native function g_param_spec_long.

public static extern IntPtr ParamSpecLong(NonNullableUtf8StringHandle name, NullableUtf8StringHandle nick, NullableUtf8StringHandle blurb, long minimum, long maximum, long defaultValue, ParamFlags flags)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

nick NullableUtf8StringHandle

Transfer ownership: None Nullable: True

blurb NullableUtf8StringHandle

Transfer ownership: None Nullable: True

minimum long

Transfer ownership: None Nullable: False

maximum long

Transfer ownership: None Nullable: False

defaultValue long

Transfer ownership: None Nullable: False

flags ParamFlags

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

ParamSpecObject(NonNullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle, Type, ParamFlags)

Calls native function g_param_spec_object.

public static extern IntPtr ParamSpecObject(NonNullableUtf8StringHandle name, NullableUtf8StringHandle nick, NullableUtf8StringHandle blurb, Type objectType, ParamFlags flags)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

nick NullableUtf8StringHandle

Transfer ownership: None Nullable: True

blurb NullableUtf8StringHandle

Transfer ownership: None Nullable: True

objectType Type

Transfer ownership: None Nullable: False

flags ParamFlags

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

ParamSpecOverride(NonNullableUtf8StringHandle, IntPtr)

Calls native function g_param_spec_override. Version: 2.4

[Version("2.4")]
public static extern IntPtr ParamSpecOverride(NonNullableUtf8StringHandle name, IntPtr overridden)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

overridden IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

ParamSpecParam(NonNullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle, Type, ParamFlags)

Calls native function g_param_spec_param.

public static extern IntPtr ParamSpecParam(NonNullableUtf8StringHandle name, NullableUtf8StringHandle nick, NullableUtf8StringHandle blurb, Type paramType, ParamFlags flags)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

nick NullableUtf8StringHandle

Transfer ownership: None Nullable: True

blurb NullableUtf8StringHandle

Transfer ownership: None Nullable: True

paramType Type

Transfer ownership: None Nullable: False

flags ParamFlags

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

ParamSpecPointer(NonNullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle, ParamFlags)

Calls native function g_param_spec_pointer.

public static extern IntPtr ParamSpecPointer(NonNullableUtf8StringHandle name, NullableUtf8StringHandle nick, NullableUtf8StringHandle blurb, ParamFlags flags)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

nick NullableUtf8StringHandle

Transfer ownership: None Nullable: True

blurb NullableUtf8StringHandle

Transfer ownership: None Nullable: True

flags ParamFlags

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

ParamSpecString(NonNullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle, ParamFlags)

Calls native function g_param_spec_string.

public static extern IntPtr ParamSpecString(NonNullableUtf8StringHandle name, NullableUtf8StringHandle nick, NullableUtf8StringHandle blurb, NullableUtf8StringHandle defaultValue, ParamFlags flags)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

nick NullableUtf8StringHandle

Transfer ownership: None Nullable: True

blurb NullableUtf8StringHandle

Transfer ownership: None Nullable: True

defaultValue NullableUtf8StringHandle

Transfer ownership: None Nullable: True

flags ParamFlags

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

ParamSpecUchar(NonNullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle, byte, byte, byte, ParamFlags)

Calls native function g_param_spec_uchar.

public static extern IntPtr ParamSpecUchar(NonNullableUtf8StringHandle name, NullableUtf8StringHandle nick, NullableUtf8StringHandle blurb, byte minimum, byte maximum, byte defaultValue, ParamFlags flags)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

nick NullableUtf8StringHandle

Transfer ownership: None Nullable: True

blurb NullableUtf8StringHandle

Transfer ownership: None Nullable: True

minimum byte

Transfer ownership: None Nullable: False

maximum byte

Transfer ownership: None Nullable: False

defaultValue byte

Transfer ownership: None Nullable: False

flags ParamFlags

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

ParamSpecUint(NonNullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle, uint, uint, uint, ParamFlags)

Calls native function g_param_spec_uint.

public static extern IntPtr ParamSpecUint(NonNullableUtf8StringHandle name, NullableUtf8StringHandle nick, NullableUtf8StringHandle blurb, uint minimum, uint maximum, uint defaultValue, ParamFlags flags)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

nick NullableUtf8StringHandle

Transfer ownership: None Nullable: True

blurb NullableUtf8StringHandle

Transfer ownership: None Nullable: True

minimum uint

Transfer ownership: None Nullable: False

maximum uint

Transfer ownership: None Nullable: False

defaultValue uint

Transfer ownership: None Nullable: False

flags ParamFlags

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

ParamSpecUint64(NonNullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle, ulong, ulong, ulong, ParamFlags)

Calls native function g_param_spec_uint64.

public static extern IntPtr ParamSpecUint64(NonNullableUtf8StringHandle name, NullableUtf8StringHandle nick, NullableUtf8StringHandle blurb, ulong minimum, ulong maximum, ulong defaultValue, ParamFlags flags)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

nick NullableUtf8StringHandle

Transfer ownership: None Nullable: True

blurb NullableUtf8StringHandle

Transfer ownership: None Nullable: True

minimum ulong

Transfer ownership: None Nullable: False

maximum ulong

Transfer ownership: None Nullable: False

defaultValue ulong

Transfer ownership: None Nullable: False

flags ParamFlags

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

ParamSpecUlong(NonNullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle, ulong, ulong, ulong, ParamFlags)

Calls native function g_param_spec_ulong.

public static extern IntPtr ParamSpecUlong(NonNullableUtf8StringHandle name, NullableUtf8StringHandle nick, NullableUtf8StringHandle blurb, ulong minimum, ulong maximum, ulong defaultValue, ParamFlags flags)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

nick NullableUtf8StringHandle

Transfer ownership: None Nullable: True

blurb NullableUtf8StringHandle

Transfer ownership: None Nullable: True

minimum ulong

Transfer ownership: None Nullable: False

maximum ulong

Transfer ownership: None Nullable: False

defaultValue ulong

Transfer ownership: None Nullable: False

flags ParamFlags

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

ParamSpecUnichar(NonNullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle, uint, ParamFlags)

Calls native function g_param_spec_unichar.

public static extern IntPtr ParamSpecUnichar(NonNullableUtf8StringHandle name, NullableUtf8StringHandle nick, NullableUtf8StringHandle blurb, uint defaultValue, ParamFlags flags)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

nick NullableUtf8StringHandle

Transfer ownership: None Nullable: True

blurb NullableUtf8StringHandle

Transfer ownership: None Nullable: True

defaultValue uint

Transfer ownership: None Nullable: False

flags ParamFlags

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

ParamSpecValueArray(NonNullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle, IntPtr, ParamFlags)

Calls native function g_param_spec_value_array.

public static extern IntPtr ParamSpecValueArray(NonNullableUtf8StringHandle name, NullableUtf8StringHandle nick, NullableUtf8StringHandle blurb, IntPtr elementSpec, ParamFlags flags)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

nick NullableUtf8StringHandle

Transfer ownership: None Nullable: True

blurb NullableUtf8StringHandle

Transfer ownership: None Nullable: True

elementSpec IntPtr

Transfer ownership: None Nullable: False

flags ParamFlags

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

ParamSpecVariant(NonNullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle, VariantTypeHandle, VariantUnownedHandle, ParamFlags)

Calls native function g_param_spec_variant. Version: 2.26

[Version("2.26")]
public static extern IntPtr ParamSpecVariant(NonNullableUtf8StringHandle name, NullableUtf8StringHandle nick, NullableUtf8StringHandle blurb, VariantTypeHandle type, VariantUnownedHandle defaultValue, ParamFlags flags)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

nick NullableUtf8StringHandle

Transfer ownership: None Nullable: True

blurb NullableUtf8StringHandle

Transfer ownership: None Nullable: True

type VariantTypeHandle

Transfer ownership: None Nullable: False

defaultValue VariantUnownedHandle

Transfer ownership: Full Nullable: True

flags ParamFlags

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

ParamTypeRegisterStatic(NonNullableUtf8StringHandle, ParamSpecTypeInfoHandle)

Calls native function g_param_type_register_static.

public static extern nuint ParamTypeRegisterStatic(NonNullableUtf8StringHandle name, ParamSpecTypeInfoHandle pspecInfo)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

pspecInfo ParamSpecTypeInfoHandle

Transfer ownership: None Nullable: False

Returns

nuint

Transfer ownership: None Nullable: False

ParamValueConvert(IntPtr, ValueHandle, ValueHandle, bool)

Calls native function g_param_value_convert.

public static extern bool ParamValueConvert(IntPtr pspec, ValueHandle srcValue, ValueHandle destValue, bool strictValidation)

Parameters

pspec IntPtr

Transfer ownership: None Nullable: False

srcValue ValueHandle

Transfer ownership: None Nullable: False

destValue ValueHandle

Transfer ownership: None Nullable: False

strictValidation bool

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

ParamValueDefaults(IntPtr, ValueHandle)

Calls native function g_param_value_defaults.

public static extern bool ParamValueDefaults(IntPtr pspec, ValueHandle value)

Parameters

pspec IntPtr

Transfer ownership: None Nullable: False

value ValueHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

ParamValueIsValid(IntPtr, ValueHandle)

Calls native function g_param_value_is_valid. Version: 2.74

[Version("2.74")]
public static extern bool ParamValueIsValid(IntPtr pspec, ValueHandle value)

Parameters

pspec IntPtr

Transfer ownership: None Nullable: False

value ValueHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

ParamValueSetDefault(IntPtr, ValueHandle)

Calls native function g_param_value_set_default.

public static extern void ParamValueSetDefault(IntPtr pspec, ValueHandle value)

Parameters

pspec IntPtr

Transfer ownership: None Nullable: False

value ValueHandle

Transfer ownership: None Nullable: False

ParamValueValidate(IntPtr, ValueHandle)

Calls native function g_param_value_validate.

public static extern bool ParamValueValidate(IntPtr pspec, ValueHandle value)

Parameters

pspec IntPtr

Transfer ownership: None Nullable: False

value ValueHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

ParamValuesCmp(IntPtr, ValueHandle, ValueHandle)

Calls native function g_param_values_cmp.

public static extern int ParamValuesCmp(IntPtr pspec, ValueHandle value1, ValueHandle value2)

Parameters

pspec IntPtr

Transfer ownership: None Nullable: False

value1 ValueHandle

Transfer ownership: None Nullable: False

value2 ValueHandle

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

PointerTypeRegisterStatic(NonNullableUtf8StringHandle)

Calls native function g_pointer_type_register_static.

public static extern nuint PointerTypeRegisterStatic(NonNullableUtf8StringHandle name)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

nuint

Transfer ownership: None Nullable: False

SignalAccumulatorFirstWins(SignalInvocationHintHandle, ValueHandle, ValueHandle, IntPtr)

Calls native function g_signal_accumulator_first_wins. Version: 2.28

[Version("2.28")]
public static extern bool SignalAccumulatorFirstWins(SignalInvocationHintHandle ihint, ValueHandle returnAccu, ValueHandle handlerReturn, IntPtr dummy)

Parameters

ihint SignalInvocationHintHandle

Transfer ownership: None Nullable: False

returnAccu ValueHandle

Transfer ownership: None Nullable: False

handlerReturn ValueHandle

Transfer ownership: None Nullable: False

dummy IntPtr

Transfer ownership: None Nullable: True

Returns

bool

Transfer ownership: None Nullable: False

SignalAccumulatorTrueHandled(SignalInvocationHintHandle, ValueHandle, ValueHandle, IntPtr)

Calls native function g_signal_accumulator_true_handled. Version: 2.4

[Version("2.4")]
public static extern bool SignalAccumulatorTrueHandled(SignalInvocationHintHandle ihint, ValueHandle returnAccu, ValueHandle handlerReturn, IntPtr dummy)

Parameters

ihint SignalInvocationHintHandle

Transfer ownership: None Nullable: False

returnAccu ValueHandle

Transfer ownership: None Nullable: False

handlerReturn ValueHandle

Transfer ownership: None Nullable: False

dummy IntPtr

Transfer ownership: None Nullable: True

Returns

bool

Transfer ownership: None Nullable: False

SignalAddEmissionHook(uint, Quark, SignalEmissionHook, IntPtr, DestroyNotify)

Calls native function g_signal_add_emission_hook.

public static extern ulong SignalAddEmissionHook(uint signalId, Quark detail, SignalEmissionHook hookFunc, IntPtr hookData, DestroyNotify dataDestroy)

Parameters

signalId uint

Transfer ownership: None Nullable: False

detail Quark

Transfer ownership: None Nullable: False

hookFunc SignalEmissionHook

Transfer ownership: None Nullable: False

hookData IntPtr

Transfer ownership: None Nullable: True

dataDestroy DestroyNotify

Transfer ownership: None Nullable: True

Returns

ulong

Transfer ownership: None Nullable: False

SignalChainFromOverridden(ValueArray2Handle, ValueHandle)

Calls native function g_signal_chain_from_overridden.

public static extern void SignalChainFromOverridden(ValueArray2Handle instanceAndParams, ValueHandle returnValue)

Parameters

instanceAndParams ValueArray2Handle

Transfer ownership: None Nullable: False

returnValue ValueHandle

Transfer ownership: None Nullable: False

SignalConnectClosure(IntPtr, NonNullableUtf8StringHandle, ClosureHandle, bool)

Calls native function g_signal_connect_closure.

public static extern ulong SignalConnectClosure(IntPtr instance, NonNullableUtf8StringHandle detailedSignal, ClosureHandle closure, bool after)

Parameters

instance IntPtr

Transfer ownership: None Nullable: False

detailedSignal NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

closure ClosureHandle

Transfer ownership: None Nullable: False

after bool

Transfer ownership: None Nullable: False

Returns

ulong

Transfer ownership: None Nullable: False

SignalConnectClosureById(IntPtr, uint, Quark, ClosureHandle, bool)

Calls native function g_signal_connect_closure_by_id.

public static extern ulong SignalConnectClosureById(IntPtr instance, uint signalId, Quark detail, ClosureHandle closure, bool after)

Parameters

instance IntPtr

Transfer ownership: None Nullable: False

signalId uint

Transfer ownership: None Nullable: False

detail Quark

Transfer ownership: None Nullable: False

closure ClosureHandle

Transfer ownership: None Nullable: False

after bool

Transfer ownership: None Nullable: False

Returns

ulong

Transfer ownership: None Nullable: False

SignalConnectData(IntPtr, NonNullableUtf8StringHandle, Callback, IntPtr, ClosureNotify, ConnectFlags)

Calls native function g_signal_connect_data.

public static extern ulong SignalConnectData(IntPtr instance, NonNullableUtf8StringHandle detailedSignal, Callback cHandler, IntPtr data, ClosureNotify destroyData, ConnectFlags connectFlags)

Parameters

instance IntPtr

Transfer ownership: None Nullable: False

detailedSignal NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

cHandler Callback

Transfer ownership: None Nullable: False

data IntPtr

Transfer ownership: None Nullable: True

destroyData ClosureNotify

Transfer ownership: None Nullable: True

connectFlags ConnectFlags

Transfer ownership: None Nullable: False

Returns

ulong

Transfer ownership: None Nullable: False

SignalConnectObject(TypeInstanceHandle, NonNullableUtf8StringHandle, Callback, IntPtr, ConnectFlags)

Calls native function g_signal_connect_object.

public static extern ulong SignalConnectObject(TypeInstanceHandle instance, NonNullableUtf8StringHandle detailedSignal, Callback cHandler, IntPtr gobject, ConnectFlags connectFlags)

Parameters

instance TypeInstanceHandle

Transfer ownership: None Nullable: False

detailedSignal NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

cHandler Callback

Transfer ownership: None Nullable: False

gobject IntPtr

Transfer ownership: None Nullable: True

connectFlags ConnectFlags

Transfer ownership: None Nullable: False

Returns

ulong

Transfer ownership: None Nullable: False

SignalEmitValist(TypeInstanceHandle, uint, Quark, IntPtr)

Calls native function g_signal_emit_valist.

public static extern void SignalEmitValist(TypeInstanceHandle instance, uint signalId, Quark detail, IntPtr varArgs)

Parameters

instance TypeInstanceHandle

Transfer ownership: None Nullable: False

signalId uint

Transfer ownership: None Nullable: False

detail Quark

Transfer ownership: None Nullable: False

varArgs IntPtr

Transfer ownership: None Nullable: False

SignalGetInvocationHint(IntPtr)

Calls native function g_signal_get_invocation_hint.

public static extern SignalInvocationHintUnownedHandle SignalGetInvocationHint(IntPtr instance)

Parameters

instance IntPtr

Transfer ownership: None Nullable: False

Returns

SignalInvocationHintUnownedHandle

Transfer ownership: None Nullable: True

SignalHandlerBlock(IntPtr, ulong)

Calls native function g_signal_handler_block.

public static extern void SignalHandlerBlock(IntPtr instance, ulong handlerId)

Parameters

instance IntPtr

Transfer ownership: None Nullable: False

handlerId ulong

Transfer ownership: None Nullable: False

SignalHandlerDisconnect(IntPtr, ulong)

Calls native function g_signal_handler_disconnect.

public static extern void SignalHandlerDisconnect(IntPtr instance, ulong handlerId)

Parameters

instance IntPtr

Transfer ownership: None Nullable: False

handlerId ulong

Transfer ownership: None Nullable: False

SignalHandlerFind(IntPtr, SignalMatchType, uint, Quark, ClosureHandle, IntPtr, IntPtr)

Calls native function g_signal_handler_find.

public static extern ulong SignalHandlerFind(IntPtr instance, SignalMatchType mask, uint signalId, Quark detail, ClosureHandle closure, IntPtr func, IntPtr data)

Parameters

instance IntPtr

Transfer ownership: None Nullable: False

mask SignalMatchType

Transfer ownership: None Nullable: False

signalId uint

Transfer ownership: None Nullable: False

detail Quark

Transfer ownership: None Nullable: False

closure ClosureHandle

Transfer ownership: None Nullable: True

func IntPtr

Transfer ownership: None Nullable: True

data IntPtr

Transfer ownership: None Nullable: True

Returns

ulong

Transfer ownership: None Nullable: False

SignalHandlerIsConnected(IntPtr, ulong)

Calls native function g_signal_handler_is_connected.

public static extern bool SignalHandlerIsConnected(IntPtr instance, ulong handlerId)

Parameters

instance IntPtr

Transfer ownership: None Nullable: False

handlerId ulong

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

SignalHandlerUnblock(IntPtr, ulong)

Calls native function g_signal_handler_unblock.

public static extern void SignalHandlerUnblock(IntPtr instance, ulong handlerId)

Parameters

instance IntPtr

Transfer ownership: None Nullable: False

handlerId ulong

Transfer ownership: None Nullable: False

SignalHandlersBlockMatched(IntPtr, SignalMatchType, uint, Quark, ClosureHandle, IntPtr, IntPtr)

Calls native function g_signal_handlers_block_matched.

public static extern uint SignalHandlersBlockMatched(IntPtr instance, SignalMatchType mask, uint signalId, Quark detail, ClosureHandle closure, IntPtr func, IntPtr data)

Parameters

instance IntPtr

Transfer ownership: None Nullable: False

mask SignalMatchType

Transfer ownership: None Nullable: False

signalId uint

Transfer ownership: None Nullable: False

detail Quark

Transfer ownership: None Nullable: False

closure ClosureHandle

Transfer ownership: None Nullable: True

func IntPtr

Transfer ownership: None Nullable: True

data IntPtr

Transfer ownership: None Nullable: True

Returns

uint

Transfer ownership: None Nullable: False

SignalHandlersDestroy(IntPtr)

Calls native function g_signal_handlers_destroy.

public static extern void SignalHandlersDestroy(IntPtr instance)

Parameters

instance IntPtr

Transfer ownership: None Nullable: False

SignalHandlersDisconnectMatched(IntPtr, SignalMatchType, uint, Quark, ClosureHandle, IntPtr, IntPtr)

Calls native function g_signal_handlers_disconnect_matched.

public static extern uint SignalHandlersDisconnectMatched(IntPtr instance, SignalMatchType mask, uint signalId, Quark detail, ClosureHandle closure, IntPtr func, IntPtr data)

Parameters

instance IntPtr

Transfer ownership: None Nullable: False

mask SignalMatchType

Transfer ownership: None Nullable: False

signalId uint

Transfer ownership: None Nullable: False

detail Quark

Transfer ownership: None Nullable: False

closure ClosureHandle

Transfer ownership: None Nullable: True

func IntPtr

Transfer ownership: None Nullable: True

data IntPtr

Transfer ownership: None Nullable: True

Returns

uint

Transfer ownership: None Nullable: False

SignalHandlersUnblockMatched(IntPtr, SignalMatchType, uint, Quark, ClosureHandle, IntPtr, IntPtr)

Calls native function g_signal_handlers_unblock_matched.

public static extern uint SignalHandlersUnblockMatched(IntPtr instance, SignalMatchType mask, uint signalId, Quark detail, ClosureHandle closure, IntPtr func, IntPtr data)

Parameters

instance IntPtr

Transfer ownership: None Nullable: False

mask SignalMatchType

Transfer ownership: None Nullable: False

signalId uint

Transfer ownership: None Nullable: False

detail Quark

Transfer ownership: None Nullable: False

closure ClosureHandle

Transfer ownership: None Nullable: True

func IntPtr

Transfer ownership: None Nullable: True

data IntPtr

Transfer ownership: None Nullable: True

Returns

uint

Transfer ownership: None Nullable: False

SignalHasHandlerPending(IntPtr, uint, Quark, bool)

Calls native function g_signal_has_handler_pending.

public static extern bool SignalHasHandlerPending(IntPtr instance, uint signalId, Quark detail, bool mayBeBlocked)

Parameters

instance IntPtr

Transfer ownership: None Nullable: False

signalId uint

Transfer ownership: None Nullable: False

detail Quark

Transfer ownership: None Nullable: False

mayBeBlocked bool

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

SignalIsValidName(NonNullableUtf8StringHandle)

Calls native function g_signal_is_valid_name. Version: 2.66

[Version("2.66")]
public static extern bool SignalIsValidName(NonNullableUtf8StringHandle name)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

SignalListIds(Type, out uint)

Calls native function g_signal_list_ids.

public static extern uint[] SignalListIds(Type itype, out uint nIds)

Parameters

itype Type

Transfer ownership: None Nullable: False

nIds uint

Transfer ownership: Full Nullable: False

Returns

uint[]

Transfer ownership: Full Nullable: False

SignalLookup(NonNullableUtf8StringHandle, Type)

Calls native function g_signal_lookup.

public static extern uint SignalLookup(NonNullableUtf8StringHandle name, Type itype)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

itype Type

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

SignalName(uint)

Calls native function g_signal_name.

public static extern NullableUtf8StringUnownedHandle SignalName(uint signalId)

Parameters

signalId uint

Transfer ownership: None Nullable: False

Returns

NullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: True

SignalNewValist(NonNullableUtf8StringHandle, Type, SignalFlags, ClosureHandle, SignalAccumulator, IntPtr, ClosureMarshal, Type, uint, IntPtr)

Calls native function g_signal_new_valist.

public static extern uint SignalNewValist(NonNullableUtf8StringHandle signalName, Type itype, SignalFlags signalFlags, ClosureHandle classClosure, SignalAccumulator accumulator, IntPtr accuData, ClosureMarshal cMarshaller, Type returnType, uint nParams, IntPtr args)

Parameters

signalName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

itype Type

Transfer ownership: None Nullable: False

signalFlags SignalFlags

Transfer ownership: None Nullable: False

classClosure ClosureHandle

Transfer ownership: None Nullable: True

accumulator SignalAccumulator

Transfer ownership: None Nullable: True

accuData IntPtr

Transfer ownership: None Nullable: True

cMarshaller ClosureMarshal

Transfer ownership: None Nullable: True

returnType Type

Transfer ownership: None Nullable: False

nParams uint

Transfer ownership: None Nullable: False

args IntPtr

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

SignalNewv(NonNullableUtf8StringHandle, Type, SignalFlags, ClosureHandle, SignalAccumulator, IntPtr, ClosureMarshal, Type, uint, nuint[])

Calls native function g_signal_newv.

public static extern uint SignalNewv(NonNullableUtf8StringHandle signalName, Type itype, SignalFlags signalFlags, ClosureHandle classClosure, SignalAccumulator accumulator, IntPtr accuData, ClosureMarshal cMarshaller, Type returnType, uint nParams, nuint[] paramTypes)

Parameters

signalName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

itype Type

Transfer ownership: None Nullable: False

signalFlags SignalFlags

Transfer ownership: None Nullable: False

classClosure ClosureHandle

Transfer ownership: None Nullable: True

accumulator SignalAccumulator

Transfer ownership: None Nullable: True

accuData IntPtr

Transfer ownership: None Nullable: True

cMarshaller ClosureMarshal

Transfer ownership: None Nullable: True

returnType Type

Transfer ownership: None Nullable: False

nParams uint

Transfer ownership: None Nullable: False

paramTypes UIntPtr[]

Transfer ownership: None Nullable: True

Returns

uint

Transfer ownership: None Nullable: False

SignalOverrideClassClosure(uint, Type, ClosureHandle)

Calls native function g_signal_override_class_closure.

public static extern void SignalOverrideClassClosure(uint signalId, Type instanceType, ClosureHandle classClosure)

Parameters

signalId uint

Transfer ownership: None Nullable: False

instanceType Type

Transfer ownership: None Nullable: False

classClosure ClosureHandle

Transfer ownership: None Nullable: False

SignalOverrideClassHandler(NonNullableUtf8StringHandle, Type, Callback)

Calls native function g_signal_override_class_handler. Version: 2.18

[Version("2.18")]
public static extern void SignalOverrideClassHandler(NonNullableUtf8StringHandle signalName, Type instanceType, Callback classHandler)

Parameters

signalName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

instanceType Type

Transfer ownership: None Nullable: False

classHandler Callback

Transfer ownership: None Nullable: False

SignalParseName(NonNullableUtf8StringHandle, Type, out uint, out Quark, bool)

Calls native function g_signal_parse_name.

public static extern bool SignalParseName(NonNullableUtf8StringHandle detailedSignal, Type itype, out uint signalIdP, out Quark detailP, bool forceDetailQuark)

Parameters

detailedSignal NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

itype Type

Transfer ownership: None Nullable: False

signalIdP uint

Transfer ownership: Full Nullable: False

detailP Quark

Transfer ownership: Full Nullable: False

forceDetailQuark bool

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

SignalQuery(uint, SignalQueryOwnedHandle)

Calls native function g_signal_query.

public static extern void SignalQuery(uint signalId, SignalQueryOwnedHandle query)

Parameters

signalId uint

Transfer ownership: None Nullable: False

query SignalQueryOwnedHandle

Transfer ownership: None Nullable: False

SignalRemoveEmissionHook(uint, ulong)

Calls native function g_signal_remove_emission_hook.

public static extern void SignalRemoveEmissionHook(uint signalId, ulong hookId)

Parameters

signalId uint

Transfer ownership: None Nullable: False

hookId ulong

Transfer ownership: None Nullable: False

SignalSetVaMarshaller(uint, Type, VaClosureMarshal)

Calls native function g_signal_set_va_marshaller. Version: 2.32

[Version("2.32")]
public static extern void SignalSetVaMarshaller(uint signalId, Type instanceType, VaClosureMarshal vaMarshaller)

Parameters

signalId uint

Transfer ownership: None Nullable: False

instanceType Type

Transfer ownership: None Nullable: False

vaMarshaller VaClosureMarshal

Transfer ownership: None Nullable: False

SignalStopEmission(IntPtr, uint, Quark)

Calls native function g_signal_stop_emission.

public static extern void SignalStopEmission(IntPtr instance, uint signalId, Quark detail)

Parameters

instance IntPtr

Transfer ownership: None Nullable: False

signalId uint

Transfer ownership: None Nullable: False

detail Quark

Transfer ownership: None Nullable: False

SignalStopEmissionByName(IntPtr, NonNullableUtf8StringHandle)

Calls native function g_signal_stop_emission_by_name.

public static extern void SignalStopEmissionByName(IntPtr instance, NonNullableUtf8StringHandle detailedSignal)

Parameters

instance IntPtr

Transfer ownership: None Nullable: False

detailedSignal NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

SignalTypeCclosureNew(Type, uint)

Calls native function g_signal_type_cclosure_new.

public static extern ClosureUnownedHandle SignalTypeCclosureNew(Type itype, uint structOffset)

Parameters

itype Type

Transfer ownership: None Nullable: False

structOffset uint

Transfer ownership: None Nullable: False

Returns

ClosureUnownedHandle

Transfer ownership: None Nullable: False

SourceSetClosure(SourceHandle, ClosureHandle)

Calls native function g_source_set_closure.

public static extern void SourceSetClosure(SourceHandle source, ClosureHandle closure)

Parameters

source SourceHandle

Transfer ownership: None Nullable: False

closure ClosureHandle

Transfer ownership: None Nullable: False

SourceSetDummyCallback(SourceHandle)

Calls native function g_source_set_dummy_callback.

public static extern void SourceSetDummyCallback(SourceHandle source)

Parameters

source SourceHandle

Transfer ownership: None Nullable: False

StrdupValueContents(ValueHandle)

Calls native function g_strdup_value_contents.

public static extern NonNullableUtf8StringOwnedHandle StrdupValueContents(ValueHandle value)

Parameters

value ValueHandle

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringOwnedHandle

Transfer ownership: Full Nullable: False

TypeAddClassCacheFunc(IntPtr, TypeClassCacheFunc)

Calls native function g_type_add_class_cache_func.

public static extern void TypeAddClassCacheFunc(IntPtr cacheData, TypeClassCacheFunc cacheFunc)

Parameters

cacheData IntPtr

Transfer ownership: None Nullable: True

cacheFunc TypeClassCacheFunc

Transfer ownership: None Nullable: False

TypeAddClassPrivate(Type, nuint)

Calls native function g_type_add_class_private. Version: 2.24

[Version("2.24")]
public static extern void TypeAddClassPrivate(Type classType, nuint privateSize)

Parameters

classType Type

Transfer ownership: None Nullable: False

privateSize nuint

Transfer ownership: None Nullable: False

TypeAddInstancePrivate(Type, nuint)

Calls native function g_type_add_instance_private.

public static extern int TypeAddInstancePrivate(Type classType, nuint privateSize)

Parameters

classType Type

Transfer ownership: None Nullable: False

privateSize nuint

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

TypeAddInterfaceCheck(IntPtr, TypeInterfaceCheckFunc)

Calls native function g_type_add_interface_check. Version: 2.4

[Version("2.4")]
public static extern void TypeAddInterfaceCheck(IntPtr checkData, TypeInterfaceCheckFunc checkFunc)

Parameters

checkData IntPtr

Transfer ownership: None Nullable: True

checkFunc TypeInterfaceCheckFunc

Transfer ownership: None Nullable: False

TypeAddInterfaceDynamic(Type, Type, IntPtr)

Calls native function g_type_add_interface_dynamic.

public static extern void TypeAddInterfaceDynamic(Type instanceType, Type interfaceType, IntPtr plugin)

Parameters

instanceType Type

Transfer ownership: None Nullable: False

interfaceType Type

Transfer ownership: None Nullable: False

plugin IntPtr

Transfer ownership: None Nullable: False

TypeAddInterfaceStatic(Type, Type, InterfaceInfoHandle)

Calls native function g_type_add_interface_static.

public static extern void TypeAddInterfaceStatic(Type instanceType, Type interfaceType, InterfaceInfoHandle info)

Parameters

instanceType Type

Transfer ownership: None Nullable: False

interfaceType Type

Transfer ownership: None Nullable: False

info InterfaceInfoHandle

Transfer ownership: None Nullable: False

TypeCheckClassCast(TypeClassHandle, Type)

Calls native function g_type_check_class_cast.

public static extern TypeClassUnownedHandle TypeCheckClassCast(TypeClassHandle gClass, Type isAType)

Parameters

gClass TypeClassHandle

Transfer ownership: None Nullable: False

isAType Type

Transfer ownership: None Nullable: False

Returns

TypeClassUnownedHandle

Transfer ownership: None Nullable: False

TypeCheckClassIsA(TypeClassHandle, Type)

Calls native function g_type_check_class_is_a.

public static extern bool TypeCheckClassIsA(TypeClassHandle gClass, Type isAType)

Parameters

gClass TypeClassHandle

Transfer ownership: None Nullable: False

isAType Type

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

TypeCheckInstance(TypeInstanceHandle)

Calls native function g_type_check_instance.

public static extern bool TypeCheckInstance(TypeInstanceHandle instance)

Parameters

instance TypeInstanceHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

TypeCheckInstanceCast(TypeInstanceHandle, Type)

Calls native function g_type_check_instance_cast.

public static extern TypeInstanceUnownedHandle TypeCheckInstanceCast(TypeInstanceHandle instance, Type ifaceType)

Parameters

instance TypeInstanceHandle

Transfer ownership: None Nullable: False

ifaceType Type

Transfer ownership: None Nullable: False

Returns

TypeInstanceUnownedHandle

Transfer ownership: None Nullable: False

TypeCheckInstanceIsA(TypeInstanceHandle, Type)

Calls native function g_type_check_instance_is_a.

public static extern bool TypeCheckInstanceIsA(TypeInstanceHandle instance, Type ifaceType)

Parameters

instance TypeInstanceHandle

Transfer ownership: None Nullable: False

ifaceType Type

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

TypeCheckInstanceIsFundamentallyA(TypeInstanceHandle, Type)

Calls native function g_type_check_instance_is_fundamentally_a.

public static extern bool TypeCheckInstanceIsFundamentallyA(TypeInstanceHandle instance, Type fundamentalType)

Parameters

instance TypeInstanceHandle

Transfer ownership: None Nullable: False

fundamentalType Type

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

TypeCheckIsValueType(Type)

Calls native function g_type_check_is_value_type.

public static extern bool TypeCheckIsValueType(Type type)

Parameters

type Type

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

TypeCheckValue(ValueHandle)

Calls native function g_type_check_value.

public static extern bool TypeCheckValue(ValueHandle value)

Parameters

value ValueHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

TypeCheckValueHolds(ValueHandle, Type)

Calls native function g_type_check_value_holds.

public static extern bool TypeCheckValueHolds(ValueHandle value, Type type)

Parameters

value ValueHandle

Transfer ownership: None Nullable: False

type Type

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

TypeClassAdjustPrivateOffset(IntPtr, ref int)

Calls native function g_type_class_adjust_private_offset.

public static extern void TypeClassAdjustPrivateOffset(IntPtr gClass, ref int privateSizeOrOffset)

Parameters

gClass IntPtr

Transfer ownership: None Nullable: True

privateSizeOrOffset int

Transfer ownership: None Nullable: False

TypeClassPeek(Type)

Calls native function g_type_class_peek.

public static extern TypeClassUnownedHandle TypeClassPeek(Type type)

Parameters

type Type

Transfer ownership: None Nullable: False

Returns

TypeClassUnownedHandle

Transfer ownership: None Nullable: False

TypeClassPeekStatic(Type)

Calls native function g_type_class_peek_static. Version: 2.4

[Version("2.4")]
public static extern TypeClassUnownedHandle TypeClassPeekStatic(Type type)

Parameters

type Type

Transfer ownership: None Nullable: False

Returns

TypeClassUnownedHandle

Transfer ownership: None Nullable: False

TypeClassRef(Type)

Calls native function g_type_class_ref.

public static extern TypeClassUnownedHandle TypeClassRef(Type type)

Parameters

type Type

Transfer ownership: None Nullable: False

Returns

TypeClassUnownedHandle

Transfer ownership: None Nullable: False

TypeCreateInstance(Type)

Calls native function g_type_create_instance.

public static extern TypeInstanceUnownedHandle TypeCreateInstance(Type type)

Parameters

type Type

Transfer ownership: None Nullable: False

Returns

TypeInstanceUnownedHandle

Transfer ownership: None Nullable: False

TypeDefaultInterfacePeek(Type)

Calls native function g_type_default_interface_peek. Version: 2.4

[Version("2.4")]
public static extern TypeInterfaceUnownedHandle TypeDefaultInterfacePeek(Type gType)

Parameters

gType Type

Transfer ownership: None Nullable: False

Returns

TypeInterfaceUnownedHandle

Transfer ownership: None Nullable: False

TypeDefaultInterfaceRef(Type)

Calls native function g_type_default_interface_ref. Version: 2.4

[Version("2.4")]
public static extern TypeInterfaceUnownedHandle TypeDefaultInterfaceRef(Type gType)

Parameters

gType Type

Transfer ownership: None Nullable: False

Returns

TypeInterfaceUnownedHandle

Transfer ownership: None Nullable: False

TypeDefaultInterfaceUnref(TypeInterfaceHandle)

Calls native function g_type_default_interface_unref. Version: 2.4

[Version("2.4")]
public static extern void TypeDefaultInterfaceUnref(TypeInterfaceHandle gIface)

Parameters

gIface TypeInterfaceHandle

Transfer ownership: None Nullable: False

TypeDepth(Type)

Calls native function g_type_depth.

public static extern uint TypeDepth(Type type)

Parameters

type Type

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

TypeEnsure(Type)

Calls native function g_type_ensure. Version: 2.34

[Version("2.34")]
public static extern void TypeEnsure(Type type)

Parameters

type Type

Transfer ownership: None Nullable: False

TypeFreeInstance(TypeInstanceHandle)

Calls native function g_type_free_instance.

public static extern void TypeFreeInstance(TypeInstanceHandle instance)

Parameters

instance TypeInstanceHandle

Transfer ownership: None Nullable: False

TypeFromName(NonNullableUtf8StringHandle)

Calls native function g_type_from_name.

public static extern nuint TypeFromName(NonNullableUtf8StringHandle name)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

nuint

Transfer ownership: None Nullable: False

TypeFundamental(Type)

Calls native function g_type_fundamental.

public static extern nuint TypeFundamental(Type typeId)

Parameters

typeId Type

Transfer ownership: None Nullable: False

Returns

nuint

Transfer ownership: None Nullable: False

TypeFundamentalNext()

Calls native function g_type_fundamental_next.

public static extern nuint TypeFundamentalNext()

Returns

nuint

Transfer ownership: None Nullable: False

TypeGetInstanceCount(Type)

Calls native function g_type_get_instance_count. Version: 2.44

[Version("2.44")]
public static extern int TypeGetInstanceCount(Type type)

Parameters

type Type

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

TypeGetPlugin(Type)

Calls native function g_type_get_plugin.

public static extern IntPtr TypeGetPlugin(Type type)

Parameters

type Type

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

TypeGetQdata(Type, Quark)

Calls native function g_type_get_qdata.

public static extern IntPtr TypeGetQdata(Type type, Quark quark)

Parameters

type Type

Transfer ownership: None Nullable: False

quark Quark

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

TypeGetTypeRegistrationSerial()

Calls native function g_type_get_type_registration_serial. Version: 2.36

[Version("2.36")]
public static extern uint TypeGetTypeRegistrationSerial()

Returns

uint

Transfer ownership: None Nullable: False

TypeInit()

Calls native function g_type_init.

public static extern void TypeInit()

TypeInitWithDebugFlags(TypeDebugFlags)

Calls native function g_type_init_with_debug_flags.

public static extern void TypeInitWithDebugFlags(TypeDebugFlags debugFlags)

Parameters

debugFlags TypeDebugFlags

Transfer ownership: None Nullable: False

TypeInterfaceAddPrerequisite(Type, Type)

Calls native function g_type_interface_add_prerequisite.

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

Parameters

interfaceType Type

Transfer ownership: None Nullable: False

prerequisiteType Type

Transfer ownership: None Nullable: False

TypeInterfaceGetPlugin(Type, Type)

Calls native function g_type_interface_get_plugin.

public static extern IntPtr TypeInterfaceGetPlugin(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

TypeInterfaceInstantiatablePrerequisite(Type)

Calls native function g_type_interface_instantiatable_prerequisite. Version: 2.68

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

Parameters

interfaceType Type

Transfer ownership: None Nullable: False

Returns

nuint

Transfer ownership: None Nullable: False

TypeInterfacePeek(TypeClassHandle, Type)

Calls native function g_type_interface_peek.

public static extern TypeInterfaceUnownedHandle TypeInterfacePeek(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

TypeIsA(Type, Type)

Calls native function g_type_is_a.

public static extern bool TypeIsA(Type type, Type isAType)

Parameters

type Type

Transfer ownership: None Nullable: False

isAType Type

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

TypeName(Type)

Calls native function g_type_name.

public static extern NullableUtf8StringUnownedHandle TypeName(Type type)

Parameters

type Type

Transfer ownership: None Nullable: False

Returns

NullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: True

TypeNameFromClass(TypeClassHandle)

Calls native function g_type_name_from_class.

public static extern NonNullableUtf8StringUnownedHandle TypeNameFromClass(TypeClassHandle gClass)

Parameters

gClass TypeClassHandle

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

TypeNameFromInstance(TypeInstanceHandle)

Calls native function g_type_name_from_instance.

public static extern NonNullableUtf8StringUnownedHandle TypeNameFromInstance(TypeInstanceHandle instance)

Parameters

instance TypeInstanceHandle

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

TypeNextBase(Type, Type)

Calls native function g_type_next_base.

public static extern nuint TypeNextBase(Type leafType, Type rootType)

Parameters

leafType Type

Transfer ownership: None Nullable: False

rootType Type

Transfer ownership: None Nullable: False

Returns

nuint

Transfer ownership: None Nullable: False

TypeParent(Type)

Calls native function g_type_parent.

public static extern nuint TypeParent(Type type)

Parameters

type Type

Transfer ownership: None Nullable: False

Returns

nuint

Transfer ownership: None Nullable: False

TypeQname(Type)

Calls native function g_type_qname.

public static extern uint TypeQname(Type type)

Parameters

type Type

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

TypeQuery(Type, TypeQueryOwnedHandle)

Calls native function g_type_query.

public static extern void TypeQuery(Type type, TypeQueryOwnedHandle query)

Parameters

type Type

Transfer ownership: None Nullable: False

query TypeQueryOwnedHandle

Transfer ownership: None Nullable: False

TypeRegisterDynamic(Type, NonNullableUtf8StringHandle, IntPtr, TypeFlags)

Calls native function g_type_register_dynamic.

public static extern nuint TypeRegisterDynamic(Type parentType, NonNullableUtf8StringHandle typeName, IntPtr plugin, TypeFlags flags)

Parameters

parentType Type

Transfer ownership: None Nullable: False

typeName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

plugin IntPtr

Transfer ownership: None Nullable: False

flags TypeFlags

Transfer ownership: None Nullable: False

Returns

nuint

Transfer ownership: None Nullable: False

TypeRegisterFundamental(Type, NonNullableUtf8StringHandle, TypeInfoHandle, TypeFundamentalInfoHandle, TypeFlags)

Calls native function g_type_register_fundamental.

public static extern nuint TypeRegisterFundamental(Type typeId, NonNullableUtf8StringHandle typeName, TypeInfoHandle info, TypeFundamentalInfoHandle finfo, TypeFlags flags)

Parameters

typeId Type

Transfer ownership: None Nullable: False

typeName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

info TypeInfoHandle

Transfer ownership: None Nullable: False

finfo TypeFundamentalInfoHandle

Transfer ownership: None Nullable: False

flags TypeFlags

Transfer ownership: None Nullable: False

Returns

nuint

Transfer ownership: None Nullable: False

TypeRegisterStatic(Type, NonNullableUtf8StringHandle, TypeInfoHandle, TypeFlags)

Calls native function g_type_register_static.

public static extern nuint TypeRegisterStatic(Type parentType, NonNullableUtf8StringHandle typeName, TypeInfoHandle info, TypeFlags flags)

Parameters

parentType Type

Transfer ownership: None Nullable: False

typeName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

info TypeInfoHandle

Transfer ownership: None Nullable: False

flags TypeFlags

Transfer ownership: None Nullable: False

Returns

nuint

Transfer ownership: None Nullable: False

TypeRegisterStaticSimple(Type, NonNullableUtf8StringHandle, uint, ClassInitFunc, uint, InstanceInitFunc, TypeFlags)

Calls native function g_type_register_static_simple. Version: 2.12

[Version("2.12")]
public static extern nuint TypeRegisterStaticSimple(Type parentType, NonNullableUtf8StringHandle typeName, uint classSize, ClassInitFunc classInit, uint instanceSize, InstanceInitFunc instanceInit, TypeFlags flags)

Parameters

parentType Type

Transfer ownership: None Nullable: False

typeName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

classSize uint

Transfer ownership: None Nullable: False

classInit ClassInitFunc

Transfer ownership: None Nullable: False

instanceSize uint

Transfer ownership: None Nullable: False

instanceInit InstanceInitFunc

Transfer ownership: None Nullable: False

flags TypeFlags

Transfer ownership: None Nullable: False

Returns

nuint

Transfer ownership: None Nullable: False

TypeRemoveClassCacheFunc(IntPtr, TypeClassCacheFunc)

Calls native function g_type_remove_class_cache_func.

public static extern void TypeRemoveClassCacheFunc(IntPtr cacheData, TypeClassCacheFunc cacheFunc)

Parameters

cacheData IntPtr

Transfer ownership: None Nullable: True

cacheFunc TypeClassCacheFunc

Transfer ownership: None Nullable: False

TypeRemoveInterfaceCheck(IntPtr, TypeInterfaceCheckFunc)

Calls native function g_type_remove_interface_check. Version: 2.4

[Version("2.4")]
public static extern void TypeRemoveInterfaceCheck(IntPtr checkData, TypeInterfaceCheckFunc checkFunc)

Parameters

checkData IntPtr

Transfer ownership: None Nullable: True

checkFunc TypeInterfaceCheckFunc

Transfer ownership: None Nullable: False

TypeSetQdata(Type, Quark, IntPtr)

Calls native function g_type_set_qdata.

public static extern void TypeSetQdata(Type type, Quark quark, IntPtr data)

Parameters

type Type

Transfer ownership: None Nullable: False

quark Quark

Transfer ownership: None Nullable: False

data IntPtr

Transfer ownership: None Nullable: True

TypeTestFlags(Type, uint)

Calls native function g_type_test_flags.

public static extern bool TypeTestFlags(Type type, uint flags)

Parameters

type Type

Transfer ownership: None Nullable: False

flags uint

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

TypeValueTablePeek(Type)

Calls native function g_type_value_table_peek.

public static extern TypeValueTableUnownedHandle TypeValueTablePeek(Type type)

Parameters

type Type

Transfer ownership: None Nullable: False

Returns

TypeValueTableUnownedHandle

Transfer ownership: None Nullable: False

ValueRegisterTransformFunc(Type, Type, ValueTransform)

Calls native function g_value_register_transform_func.

public static extern void ValueRegisterTransformFunc(Type srcType, Type destType, ValueTransform transformFunc)

Parameters

srcType Type

Transfer ownership: None Nullable: False

destType Type

Transfer ownership: None Nullable: False

transformFunc ValueTransform

Transfer ownership: None Nullable: False

ValueTypeCompatible(Type, Type)

Calls native function g_value_type_compatible.

public static extern bool ValueTypeCompatible(Type srcType, Type destType)

Parameters

srcType Type

Transfer ownership: None Nullable: False

destType Type

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

ValueTypeTransformable(Type, Type)

Calls native function g_value_type_transformable.

public static extern bool ValueTypeTransformable(Type srcType, Type destType)

Parameters

srcType Type

Transfer ownership: None Nullable: False

destType Type

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

VariantGetGtype()

Calls native function g_variant_get_gtype.

public static extern nuint VariantGetGtype()

Returns

nuint

Transfer ownership: None Nullable: False