gtkTextIterGetSlice: gtkTextIterGetSlice

Description Usage Arguments Value Author(s)

View source: R/gtkFuncs.R

Description

Returns the text in the given range. A "slice" is a list of characters encoded in UTF-8 format, including the Unicode "unknown" character 0xFFFC for iterable non-character elements in the buffer, such as images. Because images are encoded in the slice, byte and character offsets in the returned list will correspond to byte offsets in the text buffer. Note that 0xFFFC can occur in normal text as well, so it is not a reliable indicator that a pixbuf or widget is in the buffer.

Usage

1

Arguments

object

iterator at start of a range

end

iterator at end of a range

Value

[character] slice of text from the buffer

Author(s)

Derived by RGtkGen from GTK+ documentation


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