CssSection
Object Hierarchy:
Description:
[ CCode ( ref_function = "gtk_css_section_ref" , type_id = "gtk_css_section_get_type ()" , unref_function = "gtk_css_section_unref" ) ]
[ Compact ]
public class CssSection
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.
Content:
Creation methods:
Methods:
- public unowned CssSection @ref ()
Increments the reference count on `section`.
- public unowned CssLocation? get_end_location ()
Returns the location in the CSS document where this section ends.
- public unowned File? get_file ()
Gets the file that this was parsed from.
- public unowned CssSection? get_parent ()
Gets the parent section for the given `section`.
- public unowned CssLocation? get_start_location ()
Returns the location in the CSS document where this section starts.
- public void print (StringBuilder str)
Prints the `section` into `string` in a human-readable form.
- public string to_string ()
Prints the section into a human-readable text form using [method@Gtk.
- public void unref ()
Decrements the reference count on `section`, freeing the structure if the
reference count reaches 0.