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 ]
[ Version ( since = "3.2" ) ]
public class CssSection
Defines a part of a CSS document.
Because sections are nested into one another, you can use get_parent to
get the containing region.
Content:
Methods:
- public unowned CssSection @ref ()
Increments the reference count on this.
- public uint get_end_line ()
Returns the line in the CSS document where this section end.
- public uint get_end_position ()
Returns the offset in bytes from the start of the current line returned via
get_end_line.
- 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 this
.
- public CssSectionType get_section_type ()
Gets the type of information that this
describes.
- public uint get_start_line ()
Returns the line in the CSS document where this section starts.
- public uint get_start_position ()
Returns the offset in bytes from the start of the current line returned via
get_start_line.
- public void unref ()
Decrements the reference count on this,
freeing the structure if the reference count reaches 0.