CssSection
class CssSection(val gtkCssSectionPointer: <Error class: unknown class><<Error class: unknown class>>)(source)
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.
Constructors
Link copied to clipboard
Creates a new GtkCssSection referring to the section in the given file from the start location to the end location.
constructor(file: <Error class: unknown class>? = null, bytes: <Error class: unknown class>? = null, start: CssLocation, end: CssLocation)
Creates a new GtkCssSection referring to the section in the given file or the given bytes from the start location to the end location.
constructor(gtkCssSectionPointer: <Error class: unknown class><<Error class: unknown class>>)
Functions
Link copied to clipboard
Returns the location in the CSS document where this section ends.
Link copied to clipboard
Gets the parent section for the given section.
Link copied to clipboard
Returns the location in the CSS document where this section starts.
Link copied to clipboard
Increments the reference count on section.