Package: gtk

Function gtk:widget-style-context

Lambda List

gtk:widget-style-context (widget)

Arguments

widget -- a gtk:widget object

Return Value

The gtk:style-context object.

Details

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

Warning

This function is deprecated since 4.10. Style contexts will be removed in GTK 5.
 

See also

2025-2-15