CssSection

Defines a part of a CSS document.

Because sections are nested into one another, you can use gtk.css_section.CssSection.getParent to get the containing region.

Constructors

this
this(gio.file.File file, gtk.types.CssLocation start, gtk.types.CssLocation end)

Creates a new gtk.css_section.CssSection referring to the section in the given file from the start location to the end location.

Members

Functions

getEndLocation
gtk.types.CssLocation getEndLocation()

Returns the location in the CSS document where this section ends.

getFile
gio.file.File getFile()

Gets the file that section was parsed from.

getParent
gtk.css_section.CssSection getParent()

Gets the parent section for the given section.

getStartLocation
gtk.types.CssLocation getStartLocation()

Returns the location in the CSS document where this section starts.

print
void print(glib.string_.String string_)

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

toString_
string toString_()

Prints the section into a human-readable text form using gtk.css_section.CssSection.print.

Inherited Members

From Boxed

cInstancePtr
void* cInstancePtr;

Pointer to the C boxed value

getType
GType getType()

Get the GType of this boxed type.

gType
GType gType [@property getter]

Boxed GType property.

self
Boxed self()

Convenience method to return this cast to a type. For use in D with statements.

copy_
void* copy_()

Make a copy of the wrapped C boxed data.

boxedCopy
void* boxedCopy(void* cBoxed)

Copy a C boxed value using g_boxed_copy.

boxedFree
void boxedFree(void* cBoxed)

Free a C boxed value using g_boxed_free.