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.
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. |