Top |
AtkEditableTextAtkEditableText — The ATK interface implemented by components containing user-editable text content. |
gboolean | atk_editable_text_set_run_attributes () |
void | atk_editable_text_set_text_contents () |
void | atk_editable_text_insert_text () |
void | atk_editable_text_copy_text () |
void | atk_editable_text_cut_text () |
void | atk_editable_text_delete_text () |
void | atk_editable_text_paste_text () |
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 also: AtkText
gboolean atk_editable_text_set_run_attributes (AtkEditableText *text
,AtkAttributeSet *attrib_set
,gint start_offset
,gint end_offset
);
Sets the attributes for a specified range. See the ATK_ATTRIBUTE macros (such as ATK_ATTRIBUTE_LEFT_MARGIN) for examples of attributes that can be set. Note that other attributes that do not have corresponding ATK_ATTRIBUTE macros may also be set for certain text widgets.
void atk_editable_text_set_text_contents (AtkEditableText *text
,const gchar *string
);
Set text contents of text
.
void atk_editable_text_insert_text (AtkEditableText *text
,const gchar *string
,gint length
,gint *position
);
Insert text at a given position.
void atk_editable_text_copy_text (AtkEditableText *text
,gint start_pos
,gint end_pos
);
Copy text from start_pos
up to, but not including end_pos
to the clipboard.
void atk_editable_text_cut_text (AtkEditableText *text
,gint start_pos
,gint end_pos
);
Copy text from start_pos
up to, but not including end_pos
to the clipboard and then delete from the widget.
void atk_editable_text_delete_text (AtkEditableText *text
,gint start_pos
,gint end_pos
);
Delete text start_pos
up to, but not including end_pos
.
void atk_editable_text_paste_text (AtkEditableText *text
,gint position
);
Paste text from clipboard to specified position
.