add_provider_for_screen

function add_provider_for_screen(screen:Gdk.Screen, provider:Gtk.StyleProvider, priority:Number):void {
    // Gjs wrapper for gtk_style_context_add_provider_for_screen()
}

Adds a global style provider to screen, which will be used in style construction for all #GtkStyleContexts under screen.

GTK+ uses this to make styling information from Gtk.Settings available.

<note><para>If both priorities are the same, A Gtk.StyleProvider added through Gtk.StyleContext.prototype.add_provider takes precedence over another added through this function.</para></note>

Since 3.0

screen

a Gdk.Screen

provider

a Gtk.StyleProvider

priority

the priority of the style provider. The lower it is, the earlier it will be used in the style construction. Typically this will be in the range between %GTK_STYLE_PROVIDER_PRIORITY_FALLBACK and %GTK_STYLE_PROVIDER_PRIORITY_USER