TextBuffer.insertInteractiveAtCursor

bool insertInteractiveAtCursor(string text, bool defaultEditable)

Calls [gtk.text_buffer.TextBuffer.insertInteractive] 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 [gtk.text_view.TextView.getEditable] is appropriate here.

Parameters

texttext in UTF-8 format
defaultEditabledefault editability of buffer

Returns

whether text was actually inserted