RGtk2 (version 2.20.31)

gtkTextBufferSetText: 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

text
UTF-8 text to insert
len
length of text in bytes