StyleContext.addProviderForScreen

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

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

Note: If both priorities are the same, A GtkStyleProvider added through Style.contextAddProvider takes precedence over another added through this function.

class StyleContext
static
void
addProviderForScreen

Parameters

screen Screen
provider StyleProviderIF
priority uint

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

Meta