LoadableIcon.load

Loads a loadable icon. For the asynchronous version of this function, see gio.loadable_icon.LoadableIcon.loadAsync.

interface LoadableIcon
load

Parameters

size int

an integer.

type string

a location to store the type of the loaded icon, null to ignore.

cancellable gio.cancellable.Cancellable

optional #GCancellable object, null to ignore.

Return Value

Type: gio.input_stream.InputStream

a #GInputStream to read the icon from.