set_text
Description:
Deletes current contents of this, and inserts text instead.
This is automatically marked as an irreversible action in the undo stack. If you wish to mark this action as part of a larger undo operation, call [method@TextBuffer.delete] and [method@TextBuffer.insert] directly instead.
If len is -1, text must be nul-terminated. text must be valid UTF-8.
Parameters:
| this |
a `GtkTextBuffer` |
| text |
UTF-8 text to insert |
| len |
length of |