paste_text


Description:

public bool paste_text (int position) throws Error

Inserts text from the system clipboard into an EditableText object.

As with all character offsets, the specified position may not be the same as the resulting byte offset, since the text is in a variable-width encoding.

Parameters:

this

a pointer to the EditableText object to modify.

position

a int indicating the character offset at which to insert the new text.

Returns:

TRUE if the operation was successful, otherwise FALSE.




2022 vala-language.org