Gtk.IconInfo.prototype.load_symbolic_async

function load_symbolic_async(fg:Gdk.RGBA, success_color:Gdk.RGBA, warning_color:Gdk.RGBA, error_color:Gdk.RGBA, cancellable:Gio.Cancellable, callback:Gio.AsyncReadyCallback):void {
    // Gjs wrapper for gtk_icon_info_load_symbolic_async()
}

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

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

Since 3.8

fg

a Gdk.RGBA representing the foreground color of the icon

success_color

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

warning_color

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

error_color

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

cancellable

optional Gio.Cancellable object, null to ignore

callback

a Gio.AsyncReadyCallback to call when the request is satisfied