Gets the bytes that section was parsed from.
the GLib.Bytes from which the section was parsed
Returns the location in the CSS document where this section ends.
The end location of this section
Gets the file that section was parsed from.
If no such file exists, for example because the CSS was loaded via
Gtk.CssProvider.load_from_data, then NULL is returned.
the Gio.File from which the section was parsed
Gets the parent section for the given section.
The parent section is the section that contains this section. A special
case are sections of type GTK_CSS_SECTION_DOCUMENT. Their parent will
either be NULL if they are the original CSS document that was loaded by
Gtk.CssProvider.load_from_file or a section of type
GTK_CSS_SECTION_IMPORT if it was loaded with an import rule from
a different file.
the parent section
Returns the location in the CSS document where this section starts.
The start location of this section
Prints the section into string in a human-readable form.
This is a form like gtk.css:32:1-23 to denote line 32, characters
1 to 23 in the file gtk.css.
a GLib.String to print to
Prints the section into a human-readable text form using Gtk.CssSection.print.
A new string.
Decrements the reference count on section, freeing the
structure if the reference count reaches 0.
StaticnewStaticnew_
Defines a part of a CSS document.
Because sections are nested into one another, you can use CssSection.get_parent to get the containing region.