load
Description:
public abstract InputStream load (int size, out string? type, Cancellable? cancellable = null) throws Error
Loads a loadable icon.
For the asynchronous version of this function, see load_async .
Parameters:
this |
a LoadableIcon. |
size |
an integer. |
type |
a location to store the type of the loaded icon, null to ignore. |
cancellable |
optional Cancellable object, null to ignore. |
Returns:
a InputStream to read the icon from. |