[ 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.
widget to apply style to
CSS style to apply to the widget
class name to add style to, pass null if no class should be applied to the widget
priorty of change, for most cases this will be Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION
the Gtk.CssProvider that was applied to the widget.