add_provider_for_screen


Description:

[ Version ( since = "3.0" ) ]
public static void add_provider_for_screen (Screen screen, StyleProvider provider, uint priority)

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

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

Note: If both priorities are the same, A StyleProvider added through add_provider takes precedence over another added through this function.

Parameters:

screen

a Screen

provider

a 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