EditableText
Object Hierarchy:
Atk.EditableText
Atk.EditableText
Atk.EditableText
GLib.Object
GLib.Object
GLib.Object->Atk.EditableText
Description:
[
CCode ( type_id =
"atk_editable_text_get_type ()" ) ]
public interface EditableText :
Object
EditableText should be implemented by UI components which contain text which the user can edit, via the
Object corresponding to that component (see Object
).
EditableText is a subclass of Text , and as such, an object
which implements EditableText is by definition an Text
implementor as well.
See also: Text
All known implementing classes:
Content:
Methods:
public abstract void copy_text (int start_pos, int end_pos)
Copy text from start_pos
up to, but not including end_pos
to the clipboard.
public abstract void cut_text (int start_pos, int end_pos)
Copy text from start_pos
up to, but not including end_pos
to the clipboard and then delete from the widget.
public abstract void delete_text (int start_pos, int end_pos)
Delete text start_pos
up to, but not including end_pos
.
public abstract void insert_text (string string, int length, int position)
Insert text at a given position.
public abstract void paste_text (int position)
Paste text from clipboard to specified position
.
public abstract bool set_run_attributes (AttributeSet attrib_set, int start_offset, int end_offset)
Sets the attributes for a specified range.
public abstract void set_text_contents (string string)
Set text contents of this .
Inherited Members:
All known members inherited from class GLib.Object