set_theming_for_screen


Description:


[ Version ( deprecated = true , deprecated_since = "5.5.0" , replacement = "Gtk.StyleContext.add_provider_for_screen" ) ]
public CssProvider? set_theming_for_screen (Screen screen, string stylesheet, int priority)

Warning: set_theming_for_screen is deprecated since 5.5.0. Use Gtk.StyleContext.add_provider_for_screen.

Applies a stylesheet to the given screen. This will affect all the widgets which are part of that screen.

Parameters:

screen

screen to apply style to, use Gtk.Widget.get_screen in order to get the screen that the widget is on

stylesheet

CSS style to apply to screen

priority

priorty of change, for most cases this will be Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION

Returns:

the Gtk.CssProvider that was applied to the screen.


Package: granite