~~Title: Efl.Text_Annotate~~
====== Efl.Text_Annotate (interface) ======
===== Description =====
%%Cursor API%%
{{page>:develop:api-include:efl:text_annotate:description&nouser&nolink&nodate}}
===== Members =====
**[[:develop:api:efl:text_annotate:property:annotation|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);
\\
**[[:develop:api:efl:text_annotate:method:annotation_del|annotation_del]]**\\
> %%Deletes given annotation.%%
Eina_Bool efl_text_annotation_del(Eo *obj, Efl_Text_Annotate_Annotation *annotation);
\\
**[[:develop:api:efl:text_annotate:method:annotation_insert|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);
\\
**[[:develop:api:efl:text_annotate:method:annotation_is_item|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);
\\
**[[:develop:api:efl:text_annotate:method:annotation_positions_get|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);
\\
**[[:develop:api:efl:text_annotate:property:cursor_item_annotation|cursor_item_annotation]]** //**(get)**//\\
>
Efl_Text_Annotate_Annotation *efl_text_cursor_item_annotation_get(const Eo *obj, Efl_Text_Cursor_Cursor *cur);
\\
**[[:develop:api:efl:text_annotate:method:cursor_item_insert|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);
\\
**[[:develop:api:efl:text_annotate:method:item_geometry_get|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);
\\
**[[:develop:api:efl:text_annotate:method:range_annotations_get|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 =====