atk.editable_text

Module for EditableText interface

Types 2

interfaceEditableText

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

Methods
void copyText(int startPos, int endPos)Copy text from start_pos up to, but not including end_pos to the clipboard.
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.
void deleteText(int startPos, int endPos)Delete text start_pos up to, but not including end_pos.
void insertText(string string_, ref int position)Insert text at a given position.
void pasteText(int position)Paste text from clipboard to specified position.
void setTextContents(string string_)Set text contents of text.

Fluent builder implementation template for atk.editable_text.EditableText