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.loadable_icon.LoadableIcon.loadFinish]. For the synchronous, blocking version of this function, see [gio.loadable_icon.LoadableIcon.l...
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].

Fluent builder implementation template for gio.loadable_icon.LoadableIcon