Valadoc
|
Vala
|
Tutorial
|
API-References
|
Markup
Packages
gio-2.0
GLib
LoadableIcon
load
load_async
LoadableIcon
Object Hierarchy:
Description:
public
interface
LoadableIcon
:
Object
,
Icon
Interface for icons that can be loaded as a stream.
All known implementing classes:
FileIcon
Namespace:
GLib
Package:
gio-2.0
Content:
Methods:
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
.
public
abstract
async
InputStream
load_async
(
int
size,
Cancellable
? cancellable,
out
string
? type)
throws
Error
Loads an icon asynchronously. To finish this function, see
g_loadable_icon_load_finish
. For the synchronous, blocking version of this function, see
load
.