Description

A new format for annotation.

This will replace the format applied by annotation with format. Assumes that annotation is a handle for an existing annotation, i.e. one that was added using Efl.Text.Annotate.annotation_insert to this object. Otherwise, this will fail and return false.

Since 1.18

Keys

  • annotation - Given annotation

Values

  • format - The new format for the given annotation

Signature

@property annotation @pure_virtual {
    get {
        keys {
            annotation: ptr(Efl.Text.Annotate.Annotation);
        }
        values {
            format: free(string, free);
        }
    }
    set {
        keys {
            annotation: ptr(Efl.Text.Annotate.Annotation);
        }
        values {
            format: free(string, free);
        }
        return: bool;
    }
}

C signature

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);

Implemented by

  • Efl.Text.Annotate.annotation