<GLoadableIcon> extends the
<GIcon> interface and adds the ability to load icons
from streams.
Loads a loadable icon. For the asynchronous version of this function,
see loadable-icon:load-async.
Passed: a <GLoadableIcon>.
Passed: a 32-bit integer.
an integer.
Passed, or left out: a <GCancellable>, or
#f.
optional <GCancellable> object, #f to
ignore.
Returned: a <GInputStream>.
a <GInputStream> to read the icon from.
Returned: a string.
a location to store the type of the loaded icon, #f to ignore.
Loads an icon asynchronously. To finish this function, see
loadable-icon:load-finish. For
the synchronous, blocking version of this function, see
loadable-icon:load.
Passed: a <GLoadableIcon>.
Passed: a 32-bit integer.
an integer.
Passed, or left out: a <GCancellable>, or
#f.
optional <GCancellable> object, #f to
ignore.
Passed, or left out: a procedure, or #f.
a GAsyncReadyCallback to call when the
request is satisfied
See GAsyncReadyCallback for how it is
called.
Not passed: guile-gi supplies it.
the data to pass to callback function
Finishes an asynchronous icon load started in loadable-icon:load-async.
Passed: a <GLoadableIcon>.
Passed: a <GAsyncResult>.
Returned: a <GInputStream>.
a <GInputStream> to read the icon from.
Returned: a string.
a location to store the type of the loaded icon, #f to ignore.
Loads a loadable icon. For the asynchronous version of this function,
see loadable-icon:load-async.
To override it in a new class, give register-type #:vfuncs
`((load . ,procedure)). The procedure is called as (procedure
self size cancellable) ⇒ %return type.
Passed: the class whose implementation to call: a class that implements
<GLoadableIcon>, or its GType number.
Passed: a <GLoadableIcon>.
Passed: a 32-bit integer.
an integer.
Passed, or left out: a <GCancellable>, or
#f.
optional <GCancellable> object, #f to
ignore.
Returned: a <GInputStream>.
a <GInputStream> to read the icon from.
Returned: a string.
a location to store the type of the loaded icon, #f to ignore.
Loads an icon asynchronously. To finish this function, see
loadable-icon:load-finish. For
the synchronous, blocking version of this function, see
loadable-icon:load.
To override it in a new class, give register-type #:vfuncs
`((load-async . ,procedure)). The procedure is called as
(procedure self size cancellable callback user-data).
Passed: the class whose implementation to call: a class that implements
<GLoadableIcon>, or its GType number.
Passed: a <GLoadableIcon>.
Passed: a 32-bit integer.
an integer.
Passed, or left out: a <GCancellable>, or
#f.
optional <GCancellable> object, #f to
ignore.
Passed, or left out: a procedure, or #f.
a GAsyncReadyCallback to call when the
request is satisfied
See GAsyncReadyCallback for how it is
called.
Not passed: guile-gi supplies it.
the data to pass to callback function
Finishes an asynchronous icon load started in loadable-icon:load-async.
To override it in a new class, give register-type #:vfuncs
`((load-finish . ,procedure)). The procedure is called as
(procedure self res) ⇒ %return type.
Passed: the class whose implementation to call: a class that implements
<GLoadableIcon>, or its GType number.
Passed: a <GLoadableIcon>.
Passed: a <GAsyncResult>.
Returned: a <GInputStream>.
a <GInputStream> to read the icon from.
Returned: a string.
a location to store the type of the loaded icon, #f to ignore.