Class Functions
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
TypeTransfer ownership: None Nullable: False
srcBoxed
IntPtrTransfer 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
TypeTransfer ownership: None Nullable: False
boxed
IntPtrTransfer 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
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
boxedCopy
BoxedCopyFuncTransfer ownership: None Nullable: False
boxedFree
BoxedFreeFuncTransfer 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
ClosureHandleTransfer ownership: None Nullable: False
returnValue
ValueHandleTransfer ownership: None Nullable: False
nParamValues
uintTransfer ownership: None Nullable: False
paramValues
ValueHandleTransfer ownership: None Nullable: False
invocationHint
IntPtrTransfer ownership: None Nullable: True
marshalData
IntPtrTransfer 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
ClosureHandleTransfer ownership: None Nullable: False
returnValue
ValueHandleTransfer ownership: None Nullable: False
nParamValues
uintTransfer ownership: None Nullable: False
paramValues
ValueHandleTransfer ownership: None Nullable: False
invocationHint
IntPtrTransfer ownership: None Nullable: True
marshalData
IntPtrTransfer 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
ClosureHandleTransfer ownership: None Nullable: False
returnGvalue
ValueHandleTransfer ownership: None Nullable: False
nParamValues
uintTransfer ownership: None Nullable: False
paramValues
ValueHandleTransfer ownership: None Nullable: False
invocationHint
IntPtrTransfer ownership: None Nullable: True
marshalData
IntPtrTransfer 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
ClosureHandleTransfer ownership: None Nullable: False
returnValue
ValueHandleTransfer ownership: None Nullable: False
nParamValues
uintTransfer ownership: None Nullable: False
paramValues
ValueHandleTransfer ownership: None Nullable: False
invocationHint
IntPtrTransfer ownership: None Nullable: True
marshalData
IntPtrTransfer 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
ClosureHandleTransfer ownership: None Nullable: False
returnValue
ValueHandleTransfer ownership: None Nullable: False
nParamValues
uintTransfer ownership: None Nullable: False
paramValues
ValueHandleTransfer ownership: None Nullable: False
invocationHint
IntPtrTransfer ownership: None Nullable: True
marshalData
IntPtrTransfer 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
ClosureHandleTransfer ownership: None Nullable: False
returnValue
ValueHandleTransfer ownership: None Nullable: False
nParamValues
uintTransfer ownership: None Nullable: False
paramValues
ValueHandleTransfer ownership: None Nullable: False
invocationHint
IntPtrTransfer ownership: None Nullable: True
marshalData
IntPtrTransfer 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
ClosureHandleTransfer ownership: None Nullable: False
returnValue
ValueHandleTransfer ownership: None Nullable: False
nParamValues
uintTransfer ownership: None Nullable: False
paramValues
ValueHandleTransfer ownership: None Nullable: False
invocationHint
IntPtrTransfer ownership: None Nullable: True
marshalData
IntPtrTransfer 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
ClosureHandleTransfer ownership: None Nullable: False
returnValue
ValueHandleTransfer ownership: None Nullable: False
nParamValues
uintTransfer ownership: None Nullable: False
paramValues
ValueHandleTransfer ownership: None Nullable: False
invocationHint
IntPtrTransfer ownership: None Nullable: True
marshalData
IntPtrTransfer 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
ClosureHandleTransfer ownership: None Nullable: False
returnValue
ValueHandleTransfer ownership: None Nullable: False
nParamValues
uintTransfer ownership: None Nullable: False
paramValues
ValueHandleTransfer ownership: None Nullable: False
invocationHint
IntPtrTransfer ownership: None Nullable: True
marshalData
IntPtrTransfer 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
ClosureHandleTransfer ownership: None Nullable: False
returnValue
ValueHandleTransfer ownership: None Nullable: False
nParamValues
uintTransfer ownership: None Nullable: False
paramValues
ValueHandleTransfer ownership: None Nullable: False
invocationHint
IntPtrTransfer ownership: None Nullable: True
marshalData
IntPtrTransfer 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
ClosureHandleTransfer ownership: None Nullable: False
returnValue
ValueHandleTransfer ownership: None Nullable: False
nParamValues
uintTransfer ownership: None Nullable: False
paramValues
ValueHandleTransfer ownership: None Nullable: False
invocationHint
IntPtrTransfer ownership: None Nullable: True
marshalData
IntPtrTransfer 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
ClosureHandleTransfer ownership: None Nullable: False
returnValue
ValueHandleTransfer ownership: None Nullable: False
nParamValues
uintTransfer ownership: None Nullable: False
paramValues
ValueHandleTransfer ownership: None Nullable: False
invocationHint
IntPtrTransfer ownership: None Nullable: True
marshalData
IntPtrTransfer 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
ClosureHandleTransfer ownership: None Nullable: False
returnValue
ValueHandleTransfer ownership: None Nullable: False
nParamValues
uintTransfer ownership: None Nullable: False
paramValues
ValueHandleTransfer ownership: None Nullable: False
invocationHint
IntPtrTransfer ownership: None Nullable: True
marshalData
IntPtrTransfer 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
ClosureHandleTransfer ownership: None Nullable: False
returnValue
ValueHandleTransfer ownership: None Nullable: False
nParamValues
uintTransfer ownership: None Nullable: False
paramValues
ValueHandleTransfer ownership: None Nullable: False
invocationHint
IntPtrTransfer ownership: None Nullable: True
marshalData
IntPtrTransfer 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
ClosureHandleTransfer ownership: None Nullable: False
returnValue
ValueHandleTransfer ownership: None Nullable: False
nParamValues
uintTransfer ownership: None Nullable: False
paramValues
ValueHandleTransfer ownership: None Nullable: False
invocationHint
IntPtrTransfer ownership: None Nullable: True
marshalData
IntPtrTransfer 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
ClosureHandleTransfer ownership: None Nullable: False
returnValue
ValueHandleTransfer ownership: None Nullable: False
nParamValues
uintTransfer ownership: None Nullable: False
paramValues
ValueHandleTransfer ownership: None Nullable: False
invocationHint
IntPtrTransfer ownership: None Nullable: True
marshalData
IntPtrTransfer 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
ClosureHandleTransfer ownership: None Nullable: False
returnValue
ValueHandleTransfer ownership: None Nullable: False
nParamValues
uintTransfer ownership: None Nullable: False
paramValues
ValueHandleTransfer ownership: None Nullable: False
invocationHint
IntPtrTransfer ownership: None Nullable: True
marshalData
IntPtrTransfer 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
ClosureHandleTransfer ownership: None Nullable: False
returnValue
ValueHandleTransfer ownership: None Nullable: False
nParamValues
uintTransfer ownership: None Nullable: False
paramValues
ValueHandleTransfer ownership: None Nullable: False
invocationHint
IntPtrTransfer ownership: None Nullable: True
marshalData
IntPtrTransfer 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
ClosureHandleTransfer ownership: None Nullable: False
returnValue
ValueHandleTransfer ownership: None Nullable: False
nParamValues
uintTransfer ownership: None Nullable: False
paramValues
ValueHandleTransfer ownership: None Nullable: False
invocationHint
IntPtrTransfer ownership: None Nullable: True
marshalData
IntPtrTransfer 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
ClosureHandleTransfer ownership: None Nullable: False
returnValue
ValueHandleTransfer ownership: None Nullable: False
nParamValues
uintTransfer ownership: None Nullable: False
paramValues
ValueHandleTransfer ownership: None Nullable: False
invocationHint
IntPtrTransfer ownership: None Nullable: True
marshalData
IntPtrTransfer 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
ClosureHandleTransfer ownership: None Nullable: False
returnValue
ValueHandleTransfer ownership: None Nullable: False
nParamValues
uintTransfer ownership: None Nullable: False
paramValues
ValueHandleTransfer ownership: None Nullable: False
invocationHint
IntPtrTransfer ownership: None Nullable: True
marshalData
IntPtrTransfer 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
ClosureHandleTransfer ownership: None Nullable: False
returnValue
ValueHandleTransfer ownership: None Nullable: False
nParamValues
uintTransfer ownership: None Nullable: False
paramValues
ValueHandleTransfer ownership: None Nullable: False
invocationHint
IntPtrTransfer ownership: None Nullable: True
marshalData
IntPtrTransfer 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
ClosureHandleTransfer ownership: None Nullable: False
returnValue
ValueHandleTransfer ownership: None Nullable: False
nParamValues
uintTransfer ownership: None Nullable: False
paramValues
ValueHandleTransfer ownership: None Nullable: False
invocationHint
IntPtrTransfer ownership: None Nullable: True
marshalData
IntPtrTransfer 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
CallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
destroyData
ClosureNotifyTransfer 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
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
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
CallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
destroyData
ClosureNotifyTransfer 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
IntPtrTransfer 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
ulongTransfer ownership: None Nullable: False
instance
IntPtrTransfer 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
EnumClassHandleTransfer ownership: None Nullable: False
value
intTransfer 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
EnumClassHandleTransfer ownership: None Nullable: False
name
NonNullableUtf8StringHandleTransfer 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
EnumClassHandleTransfer ownership: None Nullable: False
nick
NonNullableUtf8StringHandleTransfer 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
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
constStaticValues
EnumValueHandleTransfer 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
TypeTransfer ownership: None Nullable: False
value
intTransfer 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
FlagsClassHandleTransfer ownership: None Nullable: False
value
uintTransfer 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
FlagsClassHandleTransfer ownership: None Nullable: False
name
NonNullableUtf8StringHandleTransfer 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
FlagsClassHandleTransfer ownership: None Nullable: False
nick
NonNullableUtf8StringHandleTransfer 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
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
constStaticValues
FlagsValueHandleTransfer 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
TypeTransfer ownership: None Nullable: False
value
uintTransfer 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
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
nick
NullableUtf8StringHandleTransfer ownership: None Nullable: True
blurb
NullableUtf8StringHandleTransfer ownership: None Nullable: True
defaultValue
boolTransfer ownership: None Nullable: False
flags
ParamFlagsTransfer 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
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
nick
NullableUtf8StringHandleTransfer ownership: None Nullable: True
blurb
NullableUtf8StringHandleTransfer ownership: None Nullable: True
boxedType
TypeTransfer ownership: None Nullable: False
flags
ParamFlagsTransfer 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
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
nick
NullableUtf8StringHandleTransfer ownership: None Nullable: True
blurb
NullableUtf8StringHandleTransfer ownership: None Nullable: True
minimum
sbyteTransfer ownership: None Nullable: False
maximum
sbyteTransfer ownership: None Nullable: False
defaultValue
sbyteTransfer ownership: None Nullable: False
flags
ParamFlagsTransfer 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
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
nick
NullableUtf8StringHandleTransfer ownership: None Nullable: True
blurb
NullableUtf8StringHandleTransfer ownership: None Nullable: True
minimum
doubleTransfer ownership: None Nullable: False
maximum
doubleTransfer ownership: None Nullable: False
defaultValue
doubleTransfer ownership: None Nullable: False
flags
ParamFlagsTransfer 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
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
nick
NullableUtf8StringHandleTransfer ownership: None Nullable: True
blurb
NullableUtf8StringHandleTransfer ownership: None Nullable: True
enumType
TypeTransfer ownership: None Nullable: False
defaultValue
intTransfer ownership: None Nullable: False
flags
ParamFlagsTransfer 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
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
nick
NullableUtf8StringHandleTransfer ownership: None Nullable: True
blurb
NullableUtf8StringHandleTransfer ownership: None Nullable: True
flagsType
TypeTransfer ownership: None Nullable: False
defaultValue
uintTransfer ownership: None Nullable: False
flags
ParamFlagsTransfer 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
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
nick
NullableUtf8StringHandleTransfer ownership: None Nullable: True
blurb
NullableUtf8StringHandleTransfer ownership: None Nullable: True
minimum
floatTransfer ownership: None Nullable: False
maximum
floatTransfer ownership: None Nullable: False
defaultValue
floatTransfer ownership: None Nullable: False
flags
ParamFlagsTransfer 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
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
nick
NullableUtf8StringHandleTransfer ownership: None Nullable: True
blurb
NullableUtf8StringHandleTransfer ownership: None Nullable: True
isAType
TypeTransfer ownership: None Nullable: False
flags
ParamFlagsTransfer 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
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
nick
NullableUtf8StringHandleTransfer ownership: None Nullable: True
blurb
NullableUtf8StringHandleTransfer ownership: None Nullable: True
minimum
intTransfer ownership: None Nullable: False
maximum
intTransfer ownership: None Nullable: False
defaultValue
intTransfer ownership: None Nullable: False
flags
ParamFlagsTransfer 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
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
nick
NullableUtf8StringHandleTransfer ownership: None Nullable: True
blurb
NullableUtf8StringHandleTransfer ownership: None Nullable: True
minimum
longTransfer ownership: None Nullable: False
maximum
longTransfer ownership: None Nullable: False
defaultValue
longTransfer ownership: None Nullable: False
flags
ParamFlagsTransfer 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
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
nick
NullableUtf8StringHandleTransfer ownership: None Nullable: True
blurb
NullableUtf8StringHandleTransfer ownership: None Nullable: True
minimum
longTransfer ownership: None Nullable: False
maximum
longTransfer ownership: None Nullable: False
defaultValue
longTransfer ownership: None Nullable: False
flags
ParamFlagsTransfer 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
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
nick
NullableUtf8StringHandleTransfer ownership: None Nullable: True
blurb
NullableUtf8StringHandleTransfer ownership: None Nullable: True
objectType
TypeTransfer ownership: None Nullable: False
flags
ParamFlagsTransfer 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
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
overridden
IntPtrTransfer 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
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
nick
NullableUtf8StringHandleTransfer ownership: None Nullable: True
blurb
NullableUtf8StringHandleTransfer ownership: None Nullable: True
paramType
TypeTransfer ownership: None Nullable: False
flags
ParamFlagsTransfer 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
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
nick
NullableUtf8StringHandleTransfer ownership: None Nullable: True
blurb
NullableUtf8StringHandleTransfer ownership: None Nullable: True
flags
ParamFlagsTransfer 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
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
nick
NullableUtf8StringHandleTransfer ownership: None Nullable: True
blurb
NullableUtf8StringHandleTransfer ownership: None Nullable: True
defaultValue
NullableUtf8StringHandleTransfer ownership: None Nullable: True
flags
ParamFlagsTransfer 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
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
nick
NullableUtf8StringHandleTransfer ownership: None Nullable: True
blurb
NullableUtf8StringHandleTransfer ownership: None Nullable: True
minimum
byteTransfer ownership: None Nullable: False
maximum
byteTransfer ownership: None Nullable: False
defaultValue
byteTransfer ownership: None Nullable: False
flags
ParamFlagsTransfer 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
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
nick
NullableUtf8StringHandleTransfer ownership: None Nullable: True
blurb
NullableUtf8StringHandleTransfer ownership: None Nullable: True
minimum
uintTransfer ownership: None Nullable: False
maximum
uintTransfer ownership: None Nullable: False
defaultValue
uintTransfer ownership: None Nullable: False
flags
ParamFlagsTransfer 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
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
nick
NullableUtf8StringHandleTransfer ownership: None Nullable: True
blurb
NullableUtf8StringHandleTransfer ownership: None Nullable: True
minimum
ulongTransfer ownership: None Nullable: False
maximum
ulongTransfer ownership: None Nullable: False
defaultValue
ulongTransfer ownership: None Nullable: False
flags
ParamFlagsTransfer 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
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
nick
NullableUtf8StringHandleTransfer ownership: None Nullable: True
blurb
NullableUtf8StringHandleTransfer ownership: None Nullable: True
minimum
ulongTransfer ownership: None Nullable: False
maximum
ulongTransfer ownership: None Nullable: False
defaultValue
ulongTransfer ownership: None Nullable: False
flags
ParamFlagsTransfer 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
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
nick
NullableUtf8StringHandleTransfer ownership: None Nullable: True
blurb
NullableUtf8StringHandleTransfer ownership: None Nullable: True
defaultValue
uintTransfer ownership: None Nullable: False
flags
ParamFlagsTransfer 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
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
nick
NullableUtf8StringHandleTransfer ownership: None Nullable: True
blurb
NullableUtf8StringHandleTransfer ownership: None Nullable: True
elementSpec
IntPtrTransfer ownership: None Nullable: False
flags
ParamFlagsTransfer 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
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
nick
NullableUtf8StringHandleTransfer ownership: None Nullable: True
blurb
NullableUtf8StringHandleTransfer ownership: None Nullable: True
type
VariantTypeHandleTransfer ownership: None Nullable: False
defaultValue
VariantUnownedHandleTransfer ownership: Full Nullable: True
flags
ParamFlagsTransfer 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
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
pspecInfo
ParamSpecTypeInfoHandleTransfer 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
IntPtrTransfer ownership: None Nullable: False
srcValue
ValueHandleTransfer ownership: None Nullable: False
destValue
ValueHandleTransfer ownership: None Nullable: False
strictValidation
boolTransfer 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
IntPtrTransfer ownership: None Nullable: False
value
ValueHandleTransfer 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
IntPtrTransfer ownership: None Nullable: False
value
ValueHandleTransfer 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
IntPtrTransfer ownership: None Nullable: False
value
ValueHandleTransfer 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
IntPtrTransfer ownership: None Nullable: False
value
ValueHandleTransfer 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
IntPtrTransfer ownership: None Nullable: False
value1
ValueHandleTransfer ownership: None Nullable: False
value2
ValueHandleTransfer 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
NonNullableUtf8StringHandleTransfer 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
SignalInvocationHintHandleTransfer ownership: None Nullable: False
returnAccu
ValueHandleTransfer ownership: None Nullable: False
handlerReturn
ValueHandleTransfer ownership: None Nullable: False
dummy
IntPtrTransfer 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
SignalInvocationHintHandleTransfer ownership: None Nullable: False
returnAccu
ValueHandleTransfer ownership: None Nullable: False
handlerReturn
ValueHandleTransfer ownership: None Nullable: False
dummy
IntPtrTransfer 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
uintTransfer ownership: None Nullable: False
detail
QuarkTransfer ownership: None Nullable: False
hookFunc
SignalEmissionHookTransfer ownership: None Nullable: False
hookData
IntPtrTransfer ownership: None Nullable: True
dataDestroy
DestroyNotifyTransfer 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
ValueArray2HandleTransfer ownership: None Nullable: False
returnValue
ValueHandleTransfer 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
IntPtrTransfer ownership: None Nullable: False
detailedSignal
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
closure
ClosureHandleTransfer ownership: None Nullable: False
after
boolTransfer 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
IntPtrTransfer ownership: None Nullable: False
signalId
uintTransfer ownership: None Nullable: False
detail
QuarkTransfer ownership: None Nullable: False
closure
ClosureHandleTransfer ownership: None Nullable: False
after
boolTransfer 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
IntPtrTransfer ownership: None Nullable: False
detailedSignal
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
cHandler
CallbackTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
destroyData
ClosureNotifyTransfer ownership: None Nullable: True
connectFlags
ConnectFlagsTransfer 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
TypeInstanceHandleTransfer ownership: None Nullable: False
detailedSignal
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
cHandler
CallbackTransfer ownership: None Nullable: False
gobject
IntPtrTransfer ownership: None Nullable: True
connectFlags
ConnectFlagsTransfer 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
TypeInstanceHandleTransfer ownership: None Nullable: False
signalId
uintTransfer ownership: None Nullable: False
detail
QuarkTransfer ownership: None Nullable: False
varArgs
IntPtrTransfer ownership: None Nullable: False
SignalGetInvocationHint(IntPtr)
Calls native function g_signal_get_invocation_hint.
public static extern SignalInvocationHintUnownedHandle SignalGetInvocationHint(IntPtr instance)
Parameters
instance
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
handlerId
ulongTransfer 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
IntPtrTransfer ownership: None Nullable: False
handlerId
ulongTransfer 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
IntPtrTransfer ownership: None Nullable: False
mask
SignalMatchTypeTransfer ownership: None Nullable: False
signalId
uintTransfer ownership: None Nullable: False
detail
QuarkTransfer ownership: None Nullable: False
closure
ClosureHandleTransfer ownership: None Nullable: True
func
IntPtrTransfer ownership: None Nullable: True
data
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
handlerId
ulongTransfer 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
IntPtrTransfer ownership: None Nullable: False
handlerId
ulongTransfer 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
IntPtrTransfer ownership: None Nullable: False
mask
SignalMatchTypeTransfer ownership: None Nullable: False
signalId
uintTransfer ownership: None Nullable: False
detail
QuarkTransfer ownership: None Nullable: False
closure
ClosureHandleTransfer ownership: None Nullable: True
func
IntPtrTransfer ownership: None Nullable: True
data
IntPtrTransfer 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
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
mask
SignalMatchTypeTransfer ownership: None Nullable: False
signalId
uintTransfer ownership: None Nullable: False
detail
QuarkTransfer ownership: None Nullable: False
closure
ClosureHandleTransfer ownership: None Nullable: True
func
IntPtrTransfer ownership: None Nullable: True
data
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
mask
SignalMatchTypeTransfer ownership: None Nullable: False
signalId
uintTransfer ownership: None Nullable: False
detail
QuarkTransfer ownership: None Nullable: False
closure
ClosureHandleTransfer ownership: None Nullable: True
func
IntPtrTransfer ownership: None Nullable: True
data
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
signalId
uintTransfer ownership: None Nullable: False
detail
QuarkTransfer ownership: None Nullable: False
mayBeBlocked
boolTransfer 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
NonNullableUtf8StringHandleTransfer 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
TypeTransfer ownership: None Nullable: False
nIds
uintTransfer 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
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
itype
TypeTransfer 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
uintTransfer 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
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
itype
TypeTransfer ownership: None Nullable: False
signalFlags
SignalFlagsTransfer ownership: None Nullable: False
classClosure
ClosureHandleTransfer ownership: None Nullable: True
accumulator
SignalAccumulatorTransfer ownership: None Nullable: True
accuData
IntPtrTransfer ownership: None Nullable: True
cMarshaller
ClosureMarshalTransfer ownership: None Nullable: True
returnType
TypeTransfer ownership: None Nullable: False
nParams
uintTransfer ownership: None Nullable: False
args
IntPtrTransfer 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
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
itype
TypeTransfer ownership: None Nullable: False
signalFlags
SignalFlagsTransfer ownership: None Nullable: False
classClosure
ClosureHandleTransfer ownership: None Nullable: True
accumulator
SignalAccumulatorTransfer ownership: None Nullable: True
accuData
IntPtrTransfer ownership: None Nullable: True
cMarshaller
ClosureMarshalTransfer ownership: None Nullable: True
returnType
TypeTransfer ownership: None Nullable: False
nParams
uintTransfer 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
uintTransfer ownership: None Nullable: False
instanceType
TypeTransfer ownership: None Nullable: False
classClosure
ClosureHandleTransfer 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
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
instanceType
TypeTransfer ownership: None Nullable: False
classHandler
CallbackTransfer 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
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
itype
TypeTransfer ownership: None Nullable: False
signalIdP
uintTransfer ownership: Full Nullable: False
detailP
QuarkTransfer ownership: Full Nullable: False
forceDetailQuark
boolTransfer 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
uintTransfer ownership: None Nullable: False
query
SignalQueryOwnedHandleTransfer 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
uintTransfer ownership: None Nullable: False
hookId
ulongTransfer 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
uintTransfer ownership: None Nullable: False
instanceType
TypeTransfer ownership: None Nullable: False
vaMarshaller
VaClosureMarshalTransfer 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
IntPtrTransfer ownership: None Nullable: False
signalId
uintTransfer ownership: None Nullable: False
detail
QuarkTransfer 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
IntPtrTransfer ownership: None Nullable: False
detailedSignal
NonNullableUtf8StringHandleTransfer 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
TypeTransfer ownership: None Nullable: False
structOffset
uintTransfer 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
SourceHandleTransfer ownership: None Nullable: False
closure
ClosureHandleTransfer ownership: None Nullable: False
SourceSetDummyCallback(SourceHandle)
Calls native function g_source_set_dummy_callback.
public static extern void SourceSetDummyCallback(SourceHandle source)
Parameters
source
SourceHandleTransfer ownership: None Nullable: False
StrdupValueContents(ValueHandle)
Calls native function g_strdup_value_contents.
public static extern NonNullableUtf8StringOwnedHandle StrdupValueContents(ValueHandle value)
Parameters
value
ValueHandleTransfer 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
IntPtrTransfer ownership: None Nullable: True
cacheFunc
TypeClassCacheFuncTransfer 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
TypeTransfer ownership: None Nullable: False
privateSize
nuintTransfer 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
TypeTransfer ownership: None Nullable: False
privateSize
nuintTransfer 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
IntPtrTransfer ownership: None Nullable: True
checkFunc
TypeInterfaceCheckFuncTransfer 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
TypeTransfer ownership: None Nullable: False
interfaceType
TypeTransfer ownership: None Nullable: False
plugin
IntPtrTransfer 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
TypeTransfer ownership: None Nullable: False
interfaceType
TypeTransfer ownership: None Nullable: False
info
InterfaceInfoHandleTransfer 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
TypeClassHandleTransfer ownership: None Nullable: False
isAType
TypeTransfer 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
TypeClassHandleTransfer ownership: None Nullable: False
isAType
TypeTransfer 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
TypeInstanceHandleTransfer 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
TypeInstanceHandleTransfer ownership: None Nullable: False
ifaceType
TypeTransfer 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
TypeInstanceHandleTransfer ownership: None Nullable: False
ifaceType
TypeTransfer 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
TypeInstanceHandleTransfer ownership: None Nullable: False
fundamentalType
TypeTransfer 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
TypeTransfer 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
ValueHandleTransfer 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
ValueHandleTransfer ownership: None Nullable: False
type
TypeTransfer 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
IntPtrTransfer ownership: None Nullable: True
privateSizeOrOffset
intTransfer ownership: None Nullable: False
TypeClassPeek(Type)
Calls native function g_type_class_peek.
public static extern TypeClassUnownedHandle TypeClassPeek(Type type)
Parameters
type
TypeTransfer 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
TypeTransfer 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
TypeTransfer 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
TypeTransfer 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
TypeTransfer 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
TypeTransfer 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
TypeInterfaceHandleTransfer ownership: None Nullable: False
TypeDepth(Type)
Calls native function g_type_depth.
public static extern uint TypeDepth(Type type)
Parameters
type
TypeTransfer 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
TypeTransfer ownership: None Nullable: False
TypeFreeInstance(TypeInstanceHandle)
Calls native function g_type_free_instance.
public static extern void TypeFreeInstance(TypeInstanceHandle instance)
Parameters
instance
TypeInstanceHandleTransfer ownership: None Nullable: False
TypeFromName(NonNullableUtf8StringHandle)
Calls native function g_type_from_name.
public static extern nuint TypeFromName(NonNullableUtf8StringHandle name)
Parameters
name
NonNullableUtf8StringHandleTransfer 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
TypeTransfer 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
TypeTransfer 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
TypeTransfer 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
TypeTransfer ownership: None Nullable: False
quark
QuarkTransfer 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
TypeDebugFlagsTransfer 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
TypeTransfer ownership: None Nullable: False
prerequisiteType
TypeTransfer 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
TypeTransfer ownership: None Nullable: False
interfaceType
TypeTransfer 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
TypeTransfer 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
TypeClassHandleTransfer ownership: None Nullable: False
ifaceType
TypeTransfer 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
TypeTransfer ownership: None Nullable: False
isAType
TypeTransfer 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
TypeTransfer 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
TypeClassHandleTransfer 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
TypeInstanceHandleTransfer 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
TypeTransfer ownership: None Nullable: False
rootType
TypeTransfer 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
TypeTransfer 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
TypeTransfer 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
TypeTransfer ownership: None Nullable: False
query
TypeQueryOwnedHandleTransfer 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
TypeTransfer ownership: None Nullable: False
typeName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
plugin
IntPtrTransfer ownership: None Nullable: False
flags
TypeFlagsTransfer 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
TypeTransfer ownership: None Nullable: False
typeName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
info
TypeInfoHandleTransfer ownership: None Nullable: False
finfo
TypeFundamentalInfoHandleTransfer ownership: None Nullable: False
flags
TypeFlagsTransfer 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
TypeTransfer ownership: None Nullable: False
typeName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
info
TypeInfoHandleTransfer ownership: None Nullable: False
flags
TypeFlagsTransfer 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
TypeTransfer ownership: None Nullable: False
typeName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
classSize
uintTransfer ownership: None Nullable: False
classInit
ClassInitFuncTransfer ownership: None Nullable: False
instanceSize
uintTransfer ownership: None Nullable: False
instanceInit
InstanceInitFuncTransfer ownership: None Nullable: False
flags
TypeFlagsTransfer 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
IntPtrTransfer ownership: None Nullable: True
cacheFunc
TypeClassCacheFuncTransfer 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
IntPtrTransfer ownership: None Nullable: True
checkFunc
TypeInterfaceCheckFuncTransfer 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
TypeTransfer ownership: None Nullable: False
quark
QuarkTransfer ownership: None Nullable: False
data
IntPtrTransfer 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
TypeTransfer ownership: None Nullable: False
flags
uintTransfer 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
TypeTransfer 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
TypeTransfer ownership: None Nullable: False
destType
TypeTransfer ownership: None Nullable: False
transformFunc
ValueTransformTransfer 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
TypeTransfer ownership: None Nullable: False
destType
TypeTransfer 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
TypeTransfer ownership: None Nullable: False
destType
TypeTransfer 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