gtkTextBufferSetText {RGtk2} | R Documentation

## gtkTextBufferSetText

### Description

Deletes current contents of `buffer`, and inserts `text` instead. If `len` is -1, `text` must be nul-terminated. `text` must be valid UTF-8.

### Usage

    gtkTextBufferSetText(object, text, len = -1)

### Arguments

``object`` | a `GtkTextBuffer`
``text`` | UTF-8 text to insert
``len`` | length of `text` in bytes

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]