Efl.Text.Format (interface)


The look and layout of the text

The text format can affect the geometry of the text object, as well as how characters are presented.

Since 1.20


ellipsis (get, set)

Ellipsis value (number from -1.0 to 1.0)
double efl_text_ellipsis_get(const Eo *obj);
void efl_text_ellipsis_set(Eo *obj, double value);

halign (get, set)

Horizontal alignment of text
double efl_text_halign_get(const Eo *obj);
void efl_text_halign_set(Eo *obj, double value);

halign_auto_type (get, set)

Horizontal alignment of text
Efl_Text_Format_Horizontal_Alignment_Auto_Type efl_text_halign_auto_type_get(const Eo *obj);
void efl_text_halign_auto_type_set(Eo *obj, Efl_Text_Format_Horizontal_Alignment_Auto_Type value);

linegap (get, set)

Minimal line gap (top and bottom) for each line in the text
double efl_text_linegap_get(const Eo *obj);
void efl_text_linegap_set(Eo *obj, double value);

linerelgap (get, set)

Relative line gap (top and bottom) for each line in the text
double efl_text_linerelgap_get(const Eo *obj);
void efl_text_linerelgap_set(Eo *obj, double value);

multiline (get, set)

Multiline is enabled or not
Eina_Bool efl_text_multiline_get(const Eo *obj);
void efl_text_multiline_set(Eo *obj, Eina_Bool enabled);

password (get, set)

Whether text is a password
Eina_Bool efl_text_password_get(const Eo *obj);
void efl_text_password_set(Eo *obj, Eina_Bool enabled);

replacement_char (get, set)

The character used to replace characters that can't be displayed
const char *efl_text_replacement_char_get(const Eo *obj);
void efl_text_replacement_char_set(Eo *obj, const char *repch);

tabstops (get, set)

Tabstops value
int efl_text_tabstops_get(const Eo *obj);
void efl_text_tabstops_set(Eo *obj, int value);

valign (get, set)

Vertical alignment of text
double efl_text_valign_get(const Eo *obj);
void efl_text_valign_set(Eo *obj, double value);

wrap (get, set)

Wrap mode for use in the text
Efl_Text_Format_Wrap efl_text_wrap_get(const Eo *obj);
void efl_text_wrap_set(Eo *obj, Efl_Text_Format_Wrap wrap);