Package: gtk

Function gtk:widget-has-css-class

Lambda List

gtk:widget-has-css-class (widget class)

Arguments

widget -- a gtk:widget object
class -- a string for the style class, without the leading "." used for notation of style classes

Return Value

True if class is currently applied to widget, false otherwise.

Details

Returns whether class is currently applied to widget.
 

See also

2025-2-15