Widget.getStyleContext

Returns the style context associated to widget.

The returned object is guaranteed to be the same for the lifetime of widget.

Returns

Deprecated

Style contexts will be removed in GTK 5