Sets the text in the buffer.
This is roughly equivalent to calling Entry.bufferDeleteText and Entry.bufferInsertText.
Note that n_chars is in characters, not in bytes.
the new text
the number of characters in text, or -1
2.18
Sets the text in the buffer.
This is roughly equivalent to calling Entry.bufferDeleteText and Entry.bufferInsertText.
Note that n_chars is in characters, not in bytes.