Loadable
Icon
Iface
constructor
g
Iface
name
load
load
Async
load
Finish
NODE-GTK API Reference
Gio-2.0
Gio
LoadableIconIface
Class LoadableIconIface
Interface for icons that can be loaded as a stream.
record
Hierarchy
LoadableIconIface
Index
Constructors
constructor
Properties
g
Iface
name
Methods
load
load
Async
load
Finish
Constructors
constructor
new
Loadable
Icon
Iface
(
)
:
LoadableIconIface
Returns
LoadableIconIface
Properties
g
Iface
g
Iface
:
TypeInterface
The parent interface.
field
Static
name
name
:
string
Methods
load
load
(
icon
:
LoadableIcon
, size
:
number
, cancellable
:
Gio
.
Cancellable
)
:
[
Gio
.
InputStream
,
string
]
Parameters
icon:
LoadableIcon
size:
number
cancellable:
Gio
.
Cancellable
Returns
[
Gio
.
InputStream
,
string
]
load
Async
load
Async
(
icon
:
LoadableIcon
, size
:
number
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
icon:
LoadableIcon
size:
number
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
load
Finish
load
Finish
(
icon
:
LoadableIcon
, res
:
AsyncResult
)
:
[
Gio
.
InputStream
,
string
]
Parameters
icon:
LoadableIcon
res:
AsyncResult
Returns
[
Gio
.
InputStream
,
string
]
Loadable
Icon
Iface
constructor
g
Iface
name
load
load
Async
load
Finish
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHaW9fMl8wLkdpby5Mb2FkYWJsZUljb25JZmFjZS5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MiLCJocmVmIjoi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