Table of Contents

Class Initable

Namespace
Gio.Internal
Assembly
Gio-2.0.dll
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 IntPtr

Transfer ownership: None Nullable: False

cancellable IntPtr

Transfer 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 Type

Transfer ownership: None Nullable: False

firstPropertyName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

varArgs IntPtr

Transfer ownership: None Nullable: False

cancellable IntPtr

Transfer 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 Type

Transfer ownership: None Nullable: False

nParameters uint

Transfer ownership: None Nullable: False

parameters ParameterArrayHandle

Transfer ownership: None Nullable: False

cancellable IntPtr

Transfer ownership: None Nullable: True

error ErrorOwnedHandle

Returns

IntPtr

Transfer ownership: Full Nullable: False