Enumeration

GtkCssSectionType

since: 3.2

Declaration

enum Gtk.CssSectionType

Description [src]

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.

Available since: 3.2

Members

GTK_CSS_SECTION_DOCUMENT

The section describes a complete document. This section time is the only one where gtk_css_section_get_parent() might return NULL.

  • Value: 0
  • Available since: 3.2
GTK_CSS_SECTION_IMPORT

The section defines an import rule.

  • Value: 1
  • Available since: 3.2
GTK_CSS_SECTION_COLOR_DEFINITION

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

  • Value: 2
  • Available since: 3.2
GTK_CSS_SECTION_BINDING_SET

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

  • Value: 3
  • Available since: 3.2
GTK_CSS_SECTION_RULESET

The section defines a CSS ruleset.

  • Value: 4
  • Available since: 3.2
GTK_CSS_SECTION_SELECTOR

The section defines a CSS selector.

  • Value: 5
  • Available since: 3.2
GTK_CSS_SECTION_DECLARATION

The section defines the declaration of a CSS variable.

  • Value: 6
  • Available since: 3.2
GTK_CSS_SECTION_VALUE

The section defines the value of a CSS declaration.

  • Value: 7
  • Available since: 3.2
GTK_CSS_SECTION_KEYFRAMES

The section defines keyframes. See CSS Animations for details. Since 3.6

  • Value: 8
  • Available since: 3.2