Method

Gtk.TextIter.get_line

Declaration [src]

int
gtk_text_iter_get_line (
  const GtkTextIter* iter
)

Description [src]

Returns the line number containing the iterator.

Lines in a GtkTextBuffer are numbered beginning with 0 for the first line in the buffer.

Return value

Returns: int

a line number