gtkTextBufferInsertRange: gtkTextBufferInsertRange

Description Usage Arguments Details Author(s)

View source: R/gtkFuncs.R

Description

Copies text, tags, and pixbufs between start and end (the order of start and end doesn't matter) and inserts the copy at iter. Used instead of simply getting/inserting text because it preserves images and tags. If start and end are in a different buffer from buffer, the two buffers must share the same tag table.

Usage

1

Arguments

object

a GtkTextBuffer

iter

a position in buffer

start

a position in a GtkTextBuffer

end

another position in the same buffer as start

Details

Implemented via emissions of the insert_text and apply_tag signals, so expect those.

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.