Package: gtk

Function gtk-style-context-add-provider

Lambda List

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

Arguments

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

Details

Adds a style provider to the style context, to be used in style construction. 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.

Note

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

See also

*2021-11-26