Widget.getStyleContext
gtk.style_context.StyleContext getStyleContext()Returns the style context associated to widget.
The returned object is guaranteed to be the same for the lifetime of widget.
Returns
the widget’s gtk.style_context.StyleContext
Deprecated
Style contexts will be removed in GTK 5