Efl.Text_Annotate (interface)

Description

Cursor API

Members

annotation (get, set)

A new format for annotation.
const char *efl_text_annotation_get(const Eo *obj, Efl_Text_Annotate_Annotation *annotation);
Eina_Bool efl_text_annotation_set(Eo *obj, Efl_Text_Annotate_Annotation *annotation, const char *format);


annotation_del

Deletes given annotation.
Eina_Bool efl_text_annotation_del(Eo *obj, Efl_Text_Annotate_Annotation *annotation);


annotation_insert

Inserts an annotation format in a specified range [start, end - 1].
Efl_Text_Annotate_Annotation *efl_text_annotation_insert(Eo *obj, Efl_Text_Cursor_Cursor *start, Efl_Text_Cursor_Cursor *end, const char *format);


annotation_is_item

Whether this is an "item" type of annotation. Should be used before querying the annotation's geometry, as only "item" annotations have a geometry.
Eina_Bool efl_text_annotation_is_item(Eo *obj, Efl_Text_Annotate_Annotation *annotation);


annotation_positions_get

Sets given cursors to the start and end positions of the annotation.
void efl_text_annotation_positions_get(Eo *obj, const Efl_Text_Annotate_Annotation *annotation, Efl_Text_Cursor_Cursor *start, Efl_Text_Cursor_Cursor *end);


cursor_item_annotation (get)

Efl_Text_Annotate_Annotation *efl_text_cursor_item_annotation_get(const Eo *obj, Efl_Text_Cursor_Cursor *cur);


cursor_item_insert

Inserts a object item at specified position.
Efl_Text_Annotate_Annotation *efl_text_cursor_item_insert(Eo *obj, Efl_Text_Cursor_Cursor *cur, const char *item, const char *format);


item_geometry_get

Queries a given object item for its geometry.
Eina_Bool efl_text_item_geometry_get(Eo *obj, const Efl_Text_Annotate_Annotation *an, int *x, int *y, int *w, int *h);


range_annotations_get

Returns an iterator of all the handles in a range.
Eina_Iterator *efl_text_range_annotations_get(const Eo *obj, const Efl_Text_Cursor_Cursor *start, const Efl_Text_Cursor_Cursor *end);


Events