Package: gtk

Enum gtk-css-section-type

Details

The different types of sections indicate parts of a CSS document as parsed by the CSS parser of GTK. They are oriented towards the CSS grammar, but may contain extensions.

More types might be added in the future as the parser incorporates more features.
(define-g-enum "GtkCssSectionType" gtk-css-section-type
  (:export t
   :type-initializer "gtk_css_section_type_get_type")
  (:document 0)
  (:import 1)
  (:color-definition 2)
  (:binding-set 3)
  (:ruleset 4)
  (:selector 5)
  (:declaration 6)
  (:value 7)
  (:keyframes 8))  
:document
The section describes a complete document. This section is the only one where the gtk-css-section-parent function might return nil.
:import
The section defines an import rule.
:color-definition
The section defines a color. This is a GTK extension to CSS.
:binding-set
The section defines a binding set. This is a GTK extension to CSS.
:ruleset
The section defines a CSS ruleset.
:selector
The section defines a CSS selector.
:declaration
The section defines the declaration of a CSS variable.
:value
The section defines the value of a CSS declaration.
:keyframes
The section defines keyframes. See CSS animations for details.
 

See also

2021-11-18