set_theming_for_screen


Description:

public CssProvider? set_theming_for_screen (Screen screen, string stylesheet, int priority)

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