Efl.Text_Annotate.cursor_item_insert

Description

Inserts a object item at specified position.

This adds a placeholder to be queried by higher-level code, which in turn place graphics on top of it. It essentially places an OBJECT REPLACEMENT CHARACTER and set a special annotation to it.

Signature

cursor_item_insert @pure_virtual {
    params {
        @in cur: ptr(Efl.Text_Cursor_Cursor);
        @in item: string;
        @in format: string;
    }
    return: ptr(Efl.Text_Annotate_Annotation);
}

C signature

Efl_Text_Annotate_Annotation *efl_text_cursor_item_insert(Eo *obj, Efl_Text_Cursor_Cursor *cur, const char *item, const char *format);

Parameters

  • cur (in) - Cursor object
  • item (in) - Item key to be used in higher-up code to query and decided what image, emoticon etc. to embed.
  • format (in) - Size format of the inserted item. This hints how to size the item in the text.

Implemented by