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_get_style_context(), you do not need to call this yourself.

class StyleContext
void
setPath

Parameters

path WidgetPath

a #GtkWidgetPath

Meta