gio.loadable_icon

Module for [LoadableIcon] interface

Types 2

interfaceLoadableIcon

[gio.loadable_icon.LoadableIcon] extends the [gio.icon.Icon] interface and adds the ability to load icons from streams.

Methods
gio.input_stream.InputStream load(int size, out string type, gio.cancellable.Cancellable cancellable = null)Loads a loadable icon. For the asynchronous version of this function, see [gio.loadable_icon.LoadableIcon.loadAsync].
void loadAsync(int size, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)Loads an icon asynchronously. To finish this function, see [gio.loadableicon.LoadableIcon.loadFinish]. For the synchronous, blocking version of this function, see [gio.loadableicon.LoadableIcon.load].
gio.input_stream.InputStream loadFinish(gio.async_result.AsyncResult res, out string type)Finishes an asynchronous icon load started in [gio.loadable_icon.LoadableIcon.loadAsync].