Method

GtkTextBufferinsert_range_interactive

Declaration [src]

gboolean
gtk_text_buffer_insert_range_interactive (
  GtkTextBuffer* buffer,
  GtkTextIter* iter,
  const GtkTextIter* start,
  const GtkTextIter* end,
  gboolean default_editable
)

Description [src]

Copies text, tags, and paintables between start and end and inserts the copy at iter.

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.

Parameters

iter

Type: GtkTextIter

A position in buffer.

The data is owned by the caller of the function.
start

Type: GtkTextIter

A position in a GtkTextBuffer

The data is owned by the caller of the function.
end

Type: GtkTextIter

Another position in the same buffer as start.

The data is owned by the caller of the function.
default_editable

Type: gboolean

Default editability of the buffer.

Return value

Type: gboolean

Whether an insertion was possible at iter.