Gio.LoadableIcon.prototype.load

function load(size: Number(gint), cancellable: Gio.Cancellable): [return_value: Gio.InputStream, type: String] {
    // Gjs wrapper for g_loadable_icon_load()
}
  

Loads a loadable icon. For the asynchronous version of this function, see Gio.LoadableIcon.prototype.load_async.

size

an integer.

cancellable

optional Gio.Cancellable object, null to ignore.

return_value

a Gio.InputStream to read the icon from.

type

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