insert_interactive_at_cursor


Description:

public bool insert_interactive_at_cursor (string text, int len, bool default_editable)

Inserts text in this.

Calls [method@Gtk.TextBuffer.insert_interactive] at the cursor position.

default_editable indicates the editability of text that doesn't have a tag affecting editability applied to it. Typically the result of [method@Gtk.TextView.get_editable] is appropriate here.

Parameters:

this

a `GtkTextBuffer`

text

text in UTF-8 format

len

length of text in bytes, or -1

default_editable

default editability of buffer

Returns:

whether text was actually inserted