TextBuffer.getIterAtLine

Initializes iter to the start of the given line.

If line_number is greater than or equal to the number of lines in the buffer, the end iterator is returned.

class TextBuffer
bool
getIterAtLine

Parameters

iter gtk.text_iter.TextIter

iterator to initialize

lineNumber int

line number counting from 0

Return Value

Type: bool

whether the exact position has been found