get_iter_at_line


Description:

public bool get_iter_at_line (out TextIter iter, int line_number)

Initializes iter to the start of the given line.

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

Parameters:

this

a `GtkTextBuffer`

iter

iterator to initialize

line_number

line number counting from 0

Returns:

whether the exact position has been found




2022 vala-language.org