Forum und email

GtkTextBuffer::set_text

void set_text(string text, int len);

Replaces the current contents of the textbuffer with the contents of text.

Виж също: get_text()