Struct
GtkCssSection
Description [src]
struct GtkCssSection {
/* No available fields */
}
Defines a part of a CSS document.
Because sections are nested into one another, you can use
gtk_css_section_get_parent()
to get the containing region.
Constructors
gtk_css_section_new
Creates a new GtkCssSection
referring to the section
in the given file
from the start
location to the
end
location.
gtk_css_section_new_with_bytes
Creates a new GtkCssSection
referring to the section
in the given file
or the given bytes
from the start
location to the
end
location.
since: 4.16
Instance methods
gtk_css_section_get_start_location
Returns the location in the CSS document where this section starts.
gtk_css_section_to_string
Prints the section into a human-readable text form using
gtk_css_section_print()
.
gtk_css_section_unref
Decrements the reference count on section
, freeing the
structure if the reference count reaches 0.