Table of Contents

Class LoadableIcon

Namespace
Gio.Internal
Assembly
Gio-2.0.dll
public class LoadableIcon
Inheritance
LoadableIcon
Inherited Members

Methods

GetGType()

Calls native function g_loadable_icon_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

Load(IntPtr, int, out NonNullableUtf8StringOwnedHandle, IntPtr, out ErrorOwnedHandle)

Calls native method g_loadable_icon_load.

public static extern IntPtr Load(IntPtr icon, int size, out NonNullableUtf8StringOwnedHandle type, IntPtr cancellable, out ErrorOwnedHandle error)

Parameters

icon IntPtr

Transfer ownership: None Nullable: False

size int

Transfer ownership: None Nullable: False

type NonNullableUtf8StringOwnedHandle

Transfer ownership: Full Nullable: False

cancellable IntPtr

Transfer ownership: None Nullable: True

error ErrorOwnedHandle

Returns

IntPtr

Transfer ownership: Full Nullable: False

LoadAsync(IntPtr, int, IntPtr, AsyncReadyCallback, IntPtr)

Calls native method g_loadable_icon_load_async.

public static extern void LoadAsync(IntPtr icon, int size, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)

Parameters

icon IntPtr

Transfer ownership: None Nullable: False

size int

Transfer ownership: None Nullable: False

cancellable IntPtr

Transfer ownership: None Nullable: True

callback AsyncReadyCallback

Transfer ownership: None Nullable: True

userData IntPtr

Transfer ownership: None Nullable: True

LoadFinish(IntPtr, IntPtr, out NonNullableUtf8StringOwnedHandle, out ErrorOwnedHandle)

Calls native method g_loadable_icon_load_finish.

public static extern IntPtr LoadFinish(IntPtr icon, IntPtr res, out NonNullableUtf8StringOwnedHandle type, out ErrorOwnedHandle error)

Parameters

icon IntPtr

Transfer ownership: None Nullable: False

res IntPtr

Transfer ownership: None Nullable: False

type NonNullableUtf8StringOwnedHandle

Transfer ownership: Full Nullable: False

error ErrorOwnedHandle

Returns

IntPtr

Transfer ownership: Full Nullable: False