insert_text


Description:

public virtual signal bool insert_text (uint position, string chars, uint n_chars)

Use this signal to determine if text should be allowed to be inserted into the text buffer.

Return GDK_EVENT_STOP to prevent the text from being inserted.

Parameters:

position

the position in UTF-8 characters.

chars

the NULL terminated UTF-8 text to insert.

n_chars

the number of UTF-8 characters in chars.




2022 vala-language.org