load_async


Description:

public abstract async InputStream load_async (int size, Cancellable? cancellable = null, out string? type = null) throws Error

Loads an icon asynchronously.

To finish this function, see load_async.end. For the synchronous, blocking version of this function, see load.

Parameters:

this

a LoadableIcon.

size

an integer.

cancellable

optional Cancellable object, null to ignore.

callback

a AsyncReadyCallback to call when the request is satisfied

user_data

the data to pass to callback function