Class LoadableIcon
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
IntPtrTransfer ownership: None Nullable: False
size
intTransfer ownership: None Nullable: False
type
NonNullableUtf8StringOwnedHandleTransfer ownership: Full Nullable: False
cancellable
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
size
intTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
res
IntPtrTransfer ownership: None Nullable: False
type
NonNullableUtf8StringOwnedHandleTransfer ownership: Full Nullable: False
error
ErrorOwnedHandle
Returns
- IntPtr
Transfer ownership: Full Nullable: False