EntryBuffer.setText

void setText(string chars)

Sets the text in the buffer.

This is roughly equivalent to calling gtk.entry_buffer.EntryBuffer.deleteText and gtk.entry_buffer.EntryBuffer.insertText.

Note that n_chars is in characters, not in bytes.

Parameters

charsthe new text