StyleContext.this

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

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

  1. this(void* ptr, Flag!"Take" take)
  2. this()
    class StyleContext
    this
    ()

Return Value

A newly created #GtkStyleContext.