Gtk.CssSectionType
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 <ulink url="http://www.w3.org/TR/CSS21/grammar.html">CSS grammer</ulink>, but may contain extensions.
More types might be added in the future as the parser incorporates more features.
Since 3.2
- CssSectionType.DOCUMENT
The section describes a complete document. This section time is the only one where Gtk.CssSection.prototype.get_parent might return null.
- CssSectionType.IMPORT
The section defines an import rule.
- CssSectionType.COLOR_DEFINITION
The section defines a color. This is a GTK extension to CSS.
- CssSectionType.BINDING_SET
The section defines a binding set. This is a GTK extension to CSS.
- CssSectionType.RULESET
The section defines a CSS ruleset.
- CssSectionType.SELECTOR
The section defines a CSS selector.
- CssSectionType.DECLARATION
The section defines the declaration of a CSS variable.
- CssSectionType.VALUE
The section defines the value of a CSS declaration.
- CssSectionType.KEYFRAMES
The section defines keyframes. See <ulink url="http://dev.w3.org/csswg/css3-animations/#keyframes">CSS animations</ulink> for details. Since 3.6