Pike v8.1 release 6

Method GTK2.TextIter()->can_insert()


Method can_insert

int can_insert(int default_editability)

Description

Considering the default editability of the buffer, and tags that affect editability, determines whether text inserted here would be editabled. If text inserted here would be editabled then the user should be allowed to insert text here. insert_interactive() uses this function to decide whether insertions are allowed at a given position.