GtkCssSectionType

The different types of sections indicate parts of a CSS document as parsed by GTK’s CSS parser. 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.

Values

ValueMeaning
DOCUMENT0

The section describes a complete document. This section time is the only one where CssSection.getParent might return NULL.

IMPORT1

The section defines an import rule.

COLOR_DEFINITION2

The section defines a color. This is a GTK extension to CSS.

BINDING_SET3

The section defines a binding set. This is a GTK extension to CSS.

RULESET4

The section defines a CSS ruleset.

SELECTOR5

The section defines a CSS selector.

DECLARATION6

The section defines the declaration of a CSS variable.

VALUE7

The section defines the value of a CSS declaration.

KEYFRAMES8

The section defines keyframes. See [CSS Animations](http://dev.w3.org/csswg/css3-animations/keyframes) for details. Since 3.6

Meta