Gtk.StyleProvider.prototype.get_icon_factory

function get_icon_factory(path:Gtk.WidgetPath):Gtk.IconFactory {
    // Gjs wrapper for gtk_style_provider_get_icon_factory()
}

Returns the Gtk.IconFactory defined to be in use for path, or null if none is defined.

Since 3.0

path

Gtk.WidgetPath to query

Returns

The icon factory to use for path, or null