Package: gtk

Function gtk-text-iter-can-insert

Lambda List

gtk-text-iter-can-insert (iter editable)

Arguments

iter -- a gtk-text-iter instance
editabe -- true if text is editable by default

Return Value

A boolean whether text inserted at the iterator would be editable.

Details

Considering the default editability of the text buffer, and tags that affect editability, determines whether text inserted at the iterator would be editable.

If text inserted at the iterator would be editable then the user should be allowed to insert text at the iterator. The function gtk-text-buffer-insert with the value true for the argument interactive uses this function to decide whether insertions are allowed at a given position.
 

See also

2021-6-13