CssSection

class CssSection(pointer: <Error class: unknown class><<Error class: unknown class>>)

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.

Skipped during bindings generation

  • method to_string: C function gtk_css_section_to_string is ignored

Constructors

Link copied to clipboard
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val 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
fun getFile(): <Error class: unknown class>?

Gets the file that @section was parsed from.

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
fun print(string: String)

Prints the section into string in a human-readable form.

Link copied to clipboard

Increments the reference count on section.

Link copied to clipboard
fun unref()

Decrements the reference count on section, freeing the structure if the reference count reaches 0.