set_surrounding_text


Description:

public void set_surrounding_text (Text text, uint32 cursor_pos, uint32 anchor_pos)

Parameters:

this

An InputContext.

text

An Text surrounding the current cursor on the application.

cursor_pos

Current cursor position in characters in text.

anchor_pos

Anchor position of selection in text.




2022 vala-language.org