Gtk.StyleProvider.prototype.get_style

function get_style(path:Gtk.WidgetPath):Gtk.StyleProperties {
    // Gjs wrapper for gtk_style_provider_get_style()
}

Returns the style settings affecting a widget defined by path, or null if provider doesn't contemplate styling path.

Since 3.0

path

Gtk.WidgetPath to query

Returns

a Gtk.StyleProperties containing the style settings affecting path