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
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref