Method

GtkTextIterforward_visible_lines

since: 2.8

Declaration [src]

gboolean
gtk_text_iter_forward_visible_lines (
  GtkTextIter* iter,
  gint count
)

Description [src]

Moves count visible lines forward, if possible (if count would move past the start or end of the buffer, moves to the start or end of the buffer). The return value indicates whether the iterator moved onto a dereferenceable position; if the iterator didn’t move, or moved onto the end iterator, then FALSE is returned. If count is 0, the function does nothing and returns FALSE. If count is negative, moves backward by 0 - count lines.

Available since: 2.8

Parameters

count

Type: gint

Number of lines to move forward.

Return value

Type: gboolean

Whether iter moved and is dereferenceable.