Package: gtk

Function gtk-style-context-add-provider-for-screen

Lambda List

gtk-style-context-add-provider-for-screen (screen provider priority)

Arguments

screen -- a gdk-screen object
provider -- a gtk-style-provider object
priority -- an unsigned integer with the priority of the style provider

Details

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

The lower the priority of the style provider is, the earlier it will be used in the style construction. Typically this will be in the range between the +gtk-style-provider-priority-fallback+ and +gtk-style-provider-priority-user+ priorities.

GTK uses this to make styling information from the gtk-settings object available.

Note

If both priorities are the same, a style provider object added through the gtk-style-context-add-provider function takes precedence over another added through this function.
 

See also

*2021-11-30