Package: gtk

Function gtk:style-context-has-class

Lambda List

gtk:style-context-has-class (context classname)

Arguments

context -- a gtk:style-context object
classname -- a string with a class name

Return Value

True if the style context has classname defined.

Details

Returns true if the style context currently has defined the given class name.

Warning

This function is deprecated since 4.10. Use the gtk:widget-has-css-class function instead.
 

See also

gtk:style-context
gtk:widget-hass-css-class
#2023-9-17