atk.editable_text_mixin
Module for [EditableText] interface mixin
Templates 2
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
Copy text from start_pos up to, but not including end_pos to the clipboard.
Parameters
startPos | start position |
endPos | end position |
Copy text from start_pos up to, but not including end_pos to the clipboard and then delete from the widget.
Parameters
startPos | start position |
endPos | end position |
Delete text start_pos up to, but not including end_pos.
Parameters
startPos | start position |
endPos | end position |
Insert text at a given position.
Parameters
string_ | the text to insert |
position | The caller initializes this to the position at which to insert the text. After the call it points at the position after the newly inserted text. |
Paste text from clipboard to specified position.
Parameters
position | position to paste |
Set text contents of text.
Parameters
string_ | string to set for text contents of text |