EditableText

The ATK interface implemented by components containing user-editable text content.

#AtkEditableText should be implemented by UI components which contain text which the user can edit, via the #AtkObject corresponding to that component (see #AtkObject).

#AtkEditableText is a subclass of #AtkText, and as such, an object which implements #AtkEditableText is by definition an #AtkText implementor as well.

See iface@AtkText

Members

Functions

copyText
void copyText(int startPos, int endPos)

Copy text from start_pos up to, but not including end_pos to the clipboard.

cutText
void cutText(int startPos, int endPos)

Copy text from start_pos up to, but not including end_pos to the clipboard and then delete from the widget.

deleteText
void deleteText(int startPos, int endPos)

Delete text start_pos up to, but not including end_pos.

insertText
void insertText(string string_, int length, int position)

Insert text at a given position.

pasteText
void pasteText(int position)

Paste text from clipboard to specified position.

setTextContents
void setTextContents(string string_)

Set text contents of text.