TextBuffer.getIterAtLine

Initializes iter to the start of the given line. If line_number is greater than the number of lines in the buffer, the end iterator is returned.

class TextBuffer
void
getIterAtLine

Parameters

iter gtk.text_iter.TextIter

iterator to initialize

lineNumber int

line number counting from 0