set_text


Description:

public void set_text (uint8[] chars)

Sets the text in the buffer.

This is roughly equivalent to calling [[email protected]_text] and [[email protected]_text].

Note that n_chars is in characters, not in bytes.

Parameters:

this

a `GtkEntryBuffer`

chars

the new text

n_chars

the number of characters in text, or -1




2022 vala-language.org