Gtk.IconInfo.prototype.load_symbolic_for_context_async

function load_symbolic_for_context_async(context:Gtk.StyleContext, cancellable:Gio.Cancellable, callback:Gio.AsyncReadyCallback):void {
    // Gjs wrapper for gtk_icon_info_load_symbolic_for_context_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_for_context which is the synchronous version of this call.

Since 3.8

context

a Gtk.StyleContext

cancellable

optional Gio.Cancellable object, null to ignore

callback

a Gio.AsyncReadyCallback to call when the request is satisfied