Method

GtkTextViewplace_cursor_onscreen

Declaration [src]

gboolean
gtk_text_view_place_cursor_onscreen (
  GtkTextView* text_view
)

Description [src]

Moves the cursor to the currently visible region of the buffer, it it isn’t there already.

Return value

Type: gboolean

TRUE if the cursor had to be moved.