Method GTK2.TextBuffer()->insert_interactive()
- Method insert_interactive
int
insert_interactive(GTK2.TextIter
iter
,string
text
,int
len
,int
default_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.