TextBuffer.insertRangeInteractive

Same as gtk_text_buffer_insert_range(), but does nothing if the insertion point isn’t editable. The @default_editable parameter indicates whether the text is editable at @iter if no tags enclosing @iter affect editability. Typically the result of gtk_text_view_get_editable() is appropriate here.

class TextBuffer
bool
insertRangeInteractive

Parameters

iter TextIter

a position in @buffer

start TextIter

a position in a #GtkTextBuffer

end TextIter

another position in the same buffer as @start

defaultEditable bool

default editability of the buffer

Return Value

Type: bool

whether an insertion was possible at @iter

Meta