Gtk.StyleContext.prototype.set_path
function set_path(path:Gtk.WidgetPath):void { // Gjs wrapper for gtk_style_context_set_path() }
Sets the Gtk.WidgetPath used for style matching. As a consequence, the style will be regenerated to match the new given path.
If you are using a Gtk.StyleContext returned from Gtk.get_style_context, you do not need to call this yourself.
Since 3.0
- path