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

True if the 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 gtk:text-buffer-insert function with the true value for the interactive argument uses this function to decide whether insertions are allowed at a given position.
 

See also

2024-7-1