StyleContext.this

Creates a standalone gtk.StyleContext, this style context won’t be attached to any widget, so you may want to call Style.contextSetPath yourself.

This function is only useful when using the theming layer separated from GTK+, if you are using gtk.StyleContext to theme gtk.Widgets, use Widget.getStyleContext in order to get a style context ready to theme the widget.

Return Value

A newly created gtk.StyleContext

Throws

ConstructionException GTK+ fails to create the object.