LoadableIcon.load

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].

Parameters

sizean integer.
typea location to store the type of the loaded icon, null to ignore.
cancellableoptional #GCancellable object, null to ignore.

Returns

a #GInputStream to read the icon from.

Throws

[ErrorWrap]