TextIter.getLine

Returns the line number containing the iterator. Lines in a gtk.TextBuffer are numbered beginning with 0 for the first line in the buffer.

class TextIter
int
getLine
()

Return Value

Type: int

a line number