Creates a new GtkCssSection
referring to the section
in the given file
from the start
location to the
end
location.
The file this section refers to
The start location
The end location
Returns the location in the CSS document where this section ends.
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_DOCUMEN
T. Their parent will
either be NULL
if they are the original CSS document that was loaded by
[methodGtk
.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.
Returns the location in the CSS document where this section starts.
Increments the reference count on section
.
Prints the section into a human-readable text form using
[methodGtk
.CssSection.print].
Decrements the reference count on section
, freeing the
structure if the reference count reaches 0.
Creates a new GtkCssSection
referring to the section
in the given file
from the start
location to the
end
location.
The file this section refers to
The start location
The end location
Defines a part of a CSS document.
Because sections are nested into one another, you can use [method
CssSection
.get_parent] to get the containing region.