Package: gtk

Function gtk:widget-color

Lambda List

gtk:widget-color (widget)

Arguments

widget -- a gtk:widget object

Return Value

The gdk:rgba instance with the color.

Details

Gets the current foreground color for the CSS style of the widget. This function should only be used in snapshot implementations that need to do custom drawing with the foreground color.

Since 4.10
 

See also

2025-2-15