Package: gtk
Function gtk-text-buffer-insert-range
Lambda Listgtk-text-buffer-insert-range (buffer iter start end &key interactive editable) SyntaxArgumentsReturn ValueA boolean whether an insertion was possible. Details Copies text, tags, and pixbufs between the start and end iterators, the order of start and end does not matter, and inserts the copy at the iter iterator. Used instead of simply getting/inserting text because it preserves images and tags. If start and end are in a different text buffer from buffer, the two buffers must share the same tag table. The interactive keyword argument with the true value is the same, but does nothing if the insertion point is not editable. The editable keyword argument indicates whether the text is editable at the iterator if no tags enclosing the iterator affect editability. Typically the result of the gtk-text-view-editable function is appropriate here. Implemented via emissions of the "insert-text" and "apply-tag" signals, so expect those. Note | See also |
2021-11-16