Method GTK2.TextBuffer()->insert_interactive()
- Method
insert_interactive
intinsert_interactive(GTK2.TextIteriter,stringtext,intlen,intdefault_editable)- Description
Like 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_edtibale indicates the editability of text that doesn't have a tag affecting editability applied to it. Typically the result of get_editable() is appropriate here.