StyleContext.setPath

Sets the #GtkWidgetPath used for style matching. As a consequence, the style will be regenerated to match the new given path.

If you are using a #GtkStyleContext returned from gtk.widget.Widget.getStyleContext, you do not need to call this yourself.

class StyleContext
void
setPath

Parameters

path gtk.widget_path.WidgetPath

a #GtkWidgetPath