Package: gtk

Function gtk-widget-class-css-name

Lambda List

gtk-widget-class-css-name (gtype)

Syntax

(gtk-widget-class-css-name gtype) => name
(setf (gtk-widget-class-csss-name gtype) name)

Arguments

gtype -- a string with the widget class to set the CSS name on
name -- a string with the CSS name

Details

Accessor of the CSS name of the widget class.

The gtk-widget-class-css-name function gets the name used by this class for matching in CSS code. The (setf gtk-widget-class-css-name) function sets the name to be used for CSS matching of widgets.

If this function is not called for a given class, the name of the parent class is used.

Since 3.20
 

See also

2021-9-20