Method
Gtk.TextBuffer.insert_interactive
Declaration [src]
gboolean
gtk_text_buffer_insert_interactive (
  GtkTextBuffer* buffer,
  GtkTextIter* iter,
  const char* text,
  int len,
  gboolean default_editable
)
Description [src]
Inserts text in buffer.
Like gtk_text_buffer_insert(), but the insertion will not occur
if iter is at a non-editable location in the buffer. Usually you
want to prevent insertions at ineditable locations if the insertion
results from a user action (is interactive).
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_get_editable() is appropriate here.
Parameters
| iter | GtkTextIter | 
| a position in  | |
| Ownership is not transferred to the callee | |
| text | const char* | 
| some UTF-8 text | |
| Ownership is not transferred to the callee | |
| The string is a NUL terminated UTF-8 string | |
| len | int | 
| length of text in bytes, or -1 | |
| default_editable | gboolean | 
| default editability of buffer |