Module: Atk::EditableText
- Defined in:
- (unknown)
Overview
Atk::EditableText should be implemented by UI components which contain text which the user can edit, via the Atk::Object corresponding to that component (see Atk::Object).
Atk::EditableText is a subclass of #AtkText, and as such, an object which implements Atk::EditableText is by definition an #AtkText implementor as well.
See also: Atk::Text
Instance Method Summary collapse
- #copy_text(text, start_pos, end_pos) ⇒ nil
- #cut_text(text, start_pos, end_pos) ⇒ nil
- #delete_text(text, start_pos, end_pos) ⇒ nil
-
#insert_text(text, string, length, position) ⇒ nil
the position at which to insert the text.
- #paste_text(text, position) ⇒ nil
-
#set_run_attributes(text, attrib_set, start_offset, end_offset) ⇒ TrueClass
range, otherwise false.
- #set_text_contents(text, string) ⇒ nil
-
#text_contents=(string) ⇒ nil
Set text contents of text.
Instance Method Details
#copy_text(text, start_pos, end_pos) ⇒ nil
#cut_text(text, start_pos, end_pos) ⇒ nil
#delete_text(text, start_pos, end_pos) ⇒ nil
#insert_text(text, string, length, position) ⇒ nil
the position at which to insert the text. After the call it points at the position after the newly inserted text.
#paste_text(text, position) ⇒ nil
#set_run_attributes(text, attrib_set, start_offset, end_offset) ⇒ TrueClass
range, otherwise false
#set_text_contents(text, string) ⇒ nil
#text_contents=(string) ⇒ nil
Set text contents of text.