Widget.getStyleContext

gtk.style_context.StyleContext getStyleContext() nothrow

Returns the style context associated to widget. The returned object is guaranteed to be the same for the lifetime of widget.

Returns

a #GtkStyleContext. This memory is owned by widget and

must not be freed.