Class Initable
public class Initable
- Inheritance
-
Initable
- Inherited Members
Methods
GetGType()
Calls native function g_initable_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
Init(IntPtr, IntPtr, out ErrorOwnedHandle)
Calls native method g_initable_init. Version: 2.22
[Version("2.22")]
public static extern bool Init(IntPtr initable, IntPtr cancellable, out ErrorOwnedHandle error)
Parameters
initable
IntPtrTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
NewValist(Type, NonNullableUtf8StringHandle, IntPtr, IntPtr, out ErrorOwnedHandle)
Calls native function g_initable_new_valist. Version: 2.22
[Version("2.22")]
public static extern IntPtr NewValist(Type objectType, NonNullableUtf8StringHandle firstPropertyName, IntPtr varArgs, IntPtr cancellable, out ErrorOwnedHandle error)
Parameters
objectType
TypeTransfer ownership: None Nullable: False
firstPropertyName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
varArgs
IntPtrTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
error
ErrorOwnedHandle
Returns
- IntPtr
Transfer ownership: Full Nullable: False
Newv(Type, uint, ParameterArrayHandle, IntPtr, out ErrorOwnedHandle)
Calls native function g_initable_newv. Version: 2.22
[Version("2.22")]
public static extern IntPtr Newv(Type objectType, uint nParameters, ParameterArrayHandle parameters, IntPtr cancellable, out ErrorOwnedHandle error)
Parameters
objectType
TypeTransfer ownership: None Nullable: False
nParameters
uintTransfer ownership: None Nullable: False
parameters
ParameterArrayHandleTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
error
ErrorOwnedHandle
Returns
- IntPtr
Transfer ownership: Full Nullable: False