Method

GtkCssSectionget_end_line

Declaration [src]

guint
gtk_css_section_get_end_line (
  const GtkCssSection* section
)

Description [src]

Returns the line in the CSS document where this section end. The line number is 0-indexed, so the first line of the document will return 0. This value may change in future invocations of this function if section is not yet parsed completely. This will for example happen in the GtkCssProvider::parsing-error signal. The end position and line may be identical to the start position and line for sections which failed to parse anything successfully.

Available since:3.2

Return value

Type: guint

The line number.