LoadableIconT.load

Loads a loadable icon. For the asynchronous version of this function, see g_loadable_icon_load_async().

template LoadableIconT(TStruct)
load
(
int size
,
out string type
,)

Parameters

size int

an integer.

type string

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

cancellable Cancellable

optional gio.Cancellable object, NULL to ignore.

Return Value

a gio.InputStream to read the icon from.

Throws

GException on failure.