load_symbolic_async


Description:

public async Pixbuf load_symbolic_async (RGBA fg, RGBA? success_color = null, RGBA? warning_color = null, RGBA? error_color = null, Cancellable? cancellable = null, out bool was_symbolic = null) throws Error

Asynchronously load, render and scale a symbolic icon previously looked up from the icon theme using lookup_icon.

For more details, see load_symbolic which is the synchronous version of this call.

Parameters:

this

a IconInfo from lookup_icon

fg

a RGBA representing the foreground color of the icon

success_color

a RGBA representing the warning color of the icon or null to use the default color

warning_color

a RGBA representing the warning color of the icon or null to use the default color

error_color

a RGBA representing the error color of the icon or null to use the default color (allow-none)

cancellable

optional Cancellable object, null to ignore

callback

a TaskReadyCallback to call when the request is satisfied

user_data

the data to pass to callback function




2022 vala-language.org