Method

Gtk.TextBuffer.get_insert

Declaration [src]

GtkTextMark*
gtk_text_buffer_get_insert (
  GtkTextBuffer* buffer
)

Description [src]

Returns the mark that represents the cursor (insertion point).

Equivalent to calling gtk_text_buffer_get_mark() to get the mark named “insert”, but very slightly more efficient, and involves less typing.

Return value

Returns: GtkTextMark

insertion point mark

Ownership is not transferred to the caller