gtkTextBufferGetText {RGtk2} | R Documentation

## gtkTextBufferGetText

### Description

Returns the text in the range [`start`,`end`). Excludes undisplayed text (text marked with tags that set the invisibility attribute) if `include.hidden.chars` is `FALSE`. Does not include characters representing embedded images, so byte and character indexes into the returned string do not correspond to byte and character indexes into the buffer. Contrast with `gtkTextBufferGetSlice`.

### Usage

    gtkTextBufferGetText(object, start, end, include.hidden.chars = TRUE)

### Arguments

``object`` | a `GtkTextBuffer`
``start`` | start of a range
``end`` | end of a range
``include.hidden.chars`` | whether to include invisible text

### Value

[character] an allocated UTF-8 string

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.40 Index]