set_theming


Description:


[ Version ( deprecated = true , deprecated_since = "5.5.0" , replacement = "" ) ]
public CssProvider? set_theming (Widget widget, string stylesheet, string? class_name, int priority)

Warning: set_theming is deprecated since 5.5.0.

Applies the stylesheet to the widget.

Parameters:

widget

widget to apply style to

stylesheet

CSS style to apply to the widget

class_name

class name to add style to, pass null if no class should be applied to the widget

priority

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

Returns:

the Gtk.CssProvider that was applied to the widget.


Package: granite