Method

GtkTextIterset_line

Declaration [src]

void
gtk_text_iter_set_line (
  GtkTextIter* iter,
  gint line_number
)

Description [src]

Moves iterator iter to the start of the line line_number. If line_number is negative or larger than the number of lines in the buffer, moves iter to the start of the last line in the buffer.

Parameters

line_number

Type: gint

Line number (counted from 0).