TextBuffer.getIterAtLine

void getIterAtLine(out gtk.text_iter.TextIter iter, int lineNumber)

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.

Parameters

iteriterator to initialize
lineNumberline number counting from 0