Efl canvas text class
⇒ Efl.Canvas.Object (class) ⇒ Efl.Loop_Consumer (class) ⇒ Efl.Object (class)
annotation (get, set) [Overridden from Efl.Text_Annotate]
A new format forannotation
.
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 [Overridden from Efl.Text_Annotate]
Deletes given annotation.
Eina_Bool efl_text_annotation_del(Eo *obj, Efl_Text_Annotate_Annotation *annotation);
annotation_insert [Overridden from Efl.Text_Annotate]
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 [Overridden from Efl.Text_Annotate]
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 [Overridden from Efl.Text_Annotate]
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);
Requests to layout the text off the mainloop.
Eina_Future *efl_canvas_text_async_layout(Eo *obj);
backing_color (get, set) [Overridden from Efl.Text_Style]
Backing color
void efl_text_backing_color_get(const Eo *obj, unsigned char *r, unsigned char *g, unsigned char *b, unsigned char *a); void efl_text_backing_color_set(Eo *obj, unsigned char r, unsigned char g, unsigned char b, unsigned char a);
backing_type (get, set) [Overridden from Efl.Text_Style]
Enable or disable backing type
Efl_Text_Style_Backing_Type efl_text_backing_type_get(const Eo *obj); void efl_text_backing_type_set(Eo *obj, Efl_Text_Style_Backing_Type type);
bidi_delimiters (get, set)
BiDi delimiters are used for in-paragraph separation of bidi segments. This is useful, for example, in the recipient fields of e-mail clients where bidi oddities can occur when mixing RTL and LTR.
const char *efl_canvas_text_bidi_delimiters_get(const Eo *obj); void efl_canvas_text_bidi_delimiters_set(Eo *obj, const char *delim);
constructor [Overridden from Efl.Object]
Implement this method to provide optional initialization code for your object.
Efl_Object *efl_constructor(Eo *obj);
cursor_char_delete [Overridden from Efl.Text_Cursor]
Deletes a single character from position pointed by given cursor.
void efl_text_cursor_char_delete(Eo *obj, Efl_Text_Cursor_Cursor *cur);
cursor_char_next [Overridden from Efl.Text_Cursor]
Advances to the next character
void efl_text_cursor_char_next(Eo *obj, Efl_Text_Cursor_Cursor *cur);
cursor_char_prev [Overridden from Efl.Text_Cursor]
Advances to the previous character
void efl_text_cursor_char_prev(Eo *obj, Efl_Text_Cursor_Cursor *cur);
cursor_cluster_coord_set [Overridden from Efl.Text_Cursor]
Set cursor coordinates according to grapheme clusters. It does not allow to put a cursor to the middle of a grapheme cluster.
void efl_text_cursor_cluster_coord_set(Eo *obj, Efl_Text_Cursor_Cursor *cur, int x, int y);
cursor_cluster_next [Overridden from Efl.Text_Cursor]
Advances to the next grapheme cluster
void efl_text_cursor_cluster_next(Eo *obj, Efl_Text_Cursor_Cursor *cur);
cursor_cluster_prev [Overridden from Efl.Text_Cursor]
Advances to the previous grapheme cluster
void efl_text_cursor_cluster_prev(Eo *obj, Efl_Text_Cursor_Cursor *cur);
cursor_compare [Overridden from Efl.Text_Cursor]
Compare two cursors
int efl_text_cursor_compare(Eo *obj, const Efl_Text_Cursor_Cursor *cur1, const Efl_Text_Cursor_Cursor *cur2);
cursor_content (get) [Overridden from Efl.Text_Cursor]
Eina_Unicode efl_text_cursor_content_get(const Eo *obj, const Efl_Text_Cursor_Cursor *cur);
cursor_coord_set [Overridden from Efl.Text_Cursor]
Set cursor coordinates
void efl_text_cursor_coord_set(Eo *obj, Efl_Text_Cursor_Cursor *cur, int x, int y);
cursor_copy [Overridden from Efl.Text_Cursor]
Copy existing cursor
void efl_text_cursor_copy(Eo *obj, Efl_Text_Cursor_Cursor *dst, const Efl_Text_Cursor_Cursor *src);
cursor_equal [Overridden from Efl.Text_Cursor]
Check if two cursors are equal
Eina_Bool efl_text_cursor_equal(Eo *obj, const Efl_Text_Cursor_Cursor *cur1, const Efl_Text_Cursor_Cursor *cur2);
cursor_free [Overridden from Efl.Text_Cursor]
Free existing cursor
void efl_text_cursor_free(Eo *obj, Efl_Text_Cursor_Cursor *cur);
cursor_geometry (get) [Overridden from Efl.Text_Cursor]
Eina_Bool efl_text_cursor_geometry_get(const Eo *obj, const Efl_Text_Cursor_Cursor *cur, Efl_Text_Cursor_Type ctype, int *cx, int *cy, int *cw, int *ch, int *cx2, int *cy2, int *cw2, int *ch2);
cursor_item_annotation (get) [Overridden from Efl.Text_Annotate]
Efl_Text_Annotate_Annotation *efl_text_cursor_item_annotation_get(const Eo *obj, Efl_Text_Cursor_Cursor *cur);
cursor_item_insert [Overridden from Efl.Text_Annotate]
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);
cursor_line_char_first [Overridden from Efl.Text_Cursor]
Advance to current line first character
void efl_text_cursor_line_char_first(Eo *obj, Efl_Text_Cursor_Cursor *cur);
cursor_line_char_last [Overridden from Efl.Text_Cursor]
Advance to current line last character
void efl_text_cursor_line_char_last(Eo *obj, Efl_Text_Cursor_Cursor *cur);
cursor_line_jump_by [Overridden from Efl.Text_Cursor]
Jump the cursor by the given number of lines
void efl_text_cursor_line_jump_by(Eo *obj, Efl_Text_Cursor_Cursor *cur, int by);
cursor_markup_insert [Overridden from Efl.Text_Markup_Interactive]
Inserts a markup text to the text object in a given cursor position
void efl_text_markup_interactive_cursor_markup_insert(Eo *obj, Efl_Text_Cursor_Cursor *cur, const char *markup);
cursor_new [Overridden from Efl.Text_Cursor]
Create new cursor
Efl_Text_Cursor_Cursor *efl_text_cursor_new(Eo *obj);
cursor_paragraph_char_first [Overridden from Efl.Text_Cursor]
Advances to the first character in this paragraph
void efl_text_cursor_paragraph_char_first(Eo *obj, Efl_Text_Cursor_Cursor *cur);
cursor_paragraph_char_last [Overridden from Efl.Text_Cursor]
Advances to the last character in this paragraph
void efl_text_cursor_paragraph_char_last(Eo *obj, Efl_Text_Cursor_Cursor *cur);
cursor_paragraph_first [Overridden from Efl.Text_Cursor]
Advance to current paragraph first character
void efl_text_cursor_paragraph_first(Eo *obj, Efl_Text_Cursor_Cursor *cur);
cursor_paragraph_last [Overridden from Efl.Text_Cursor]
Advance to current paragraph last character
void efl_text_cursor_paragraph_last(Eo *obj, Efl_Text_Cursor_Cursor *cur);
cursor_paragraph_next [Overridden from Efl.Text_Cursor]
Advances to the start of the next text node
void efl_text_cursor_paragraph_next(Eo *obj, Efl_Text_Cursor_Cursor *cur);
cursor_paragraph_prev [Overridden from Efl.Text_Cursor]
Advances to the end of the previous text node
void efl_text_cursor_paragraph_prev(Eo *obj, Efl_Text_Cursor_Cursor *cur);
cursor_position (get, set) [Overridden from Efl.Text_Cursor]
Cursor position
int efl_text_cursor_position_get(const Eo *obj, Efl_Text_Cursor_Cursor *cur); void efl_text_cursor_position_set(Eo *obj, Efl_Text_Cursor_Cursor *cur, int position);
cursor_text_insert [Overridden from Efl.Text_Cursor]
Adds text to the current cursor position and set the cursor to *after* the start of the text just added.
int efl_text_cursor_text_insert(Eo *obj, Efl_Text_Cursor_Cursor *cur, const char *text);
cursor_word_end [Overridden from Efl.Text_Cursor]
Advance to current word end
void efl_text_cursor_word_end(Eo *obj, Efl_Text_Cursor_Cursor *cur);
cursor_word_start [Overridden from Efl.Text_Cursor]
Advance to current word start
void efl_text_cursor_word_start(Eo *obj, Efl_Text_Cursor_Cursor *cur);
destructor [Overridden from Efl.Object]
Implement this method to provide deinitialization code for your object if you need it.
void efl_destructor(Eo *obj);
effect_type (get, set) [Overridden from Efl.Text_Style]
Type of effect used for the displayed text
Efl_Text_Style_Effect_Type efl_text_effect_type_get(const Eo *obj); void efl_text_effect_type_set(Eo *obj, Efl_Text_Style_Effect_Type type);
ellipsis (get, set) [Overridden from Efl.Text_Format]
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);
filter_data (get, set) [Overridden from Efl.Gfx.Filter]
Extra data used by the filter program.
void efl_gfx_filter_data_get(const Eo *obj, const char *name, const char **value, Eina_Bool *execute); void efl_gfx_filter_data_set(Eo *obj, const char *name, const char *value, Eina_Bool execute);
filter_program (get, set) [Overridden from Efl.Gfx.Filter]
A graphical filter program on this object.
void efl_gfx_filter_program_get(const Eo *obj, const char **code, const char **name); void efl_gfx_filter_program_set(Eo *obj, const char *code, const char *name);
filter_source (get, set) [Overridden from Efl.Gfx.Filter]
Bind an object to use as a mask or texture in a filter program.
Efl_Gfx_Entity *efl_gfx_filter_source_get(const Eo *obj, const char *name); void efl_gfx_filter_source_set(Eo *obj, const char *name, Efl_Gfx_Entity *source);
font (get, set) [Overridden from Efl.Text_Font]
The font family, filename and size for a given text object.
void efl_text_font_get(const Eo *obj, const char **font, Efl_Font_Size *size); void efl_text_font_set(Eo *obj, const char *font, Efl_Font_Size size);
font_bitmap_scalable (get, set) [Overridden from Efl.Text_Font]
The bitmap fonts have fixed size glyphs for several available sizes. Basically, it is not scalable. But, it needs to be scalable for some use cases. (ex. colorful emoji fonts)
Efl_Text_Font_Bitmap_Scalable efl_text_font_bitmap_scalable_get(const Eo *obj); void efl_text_font_bitmap_scalable_set(Eo *obj, Efl_Text_Font_Bitmap_Scalable scalable);
font_fallbacks (get, set) [Overridden from Efl.Text_Font]
Comma-separated list of font fallbacks
const char *efl_text_font_fallbacks_get(const Eo *obj); void efl_text_font_fallbacks_set(Eo *obj, const char *font_fallbacks);
font_lang (get, set) [Overridden from Efl.Text_Font]
Specific language of the displayed font
const char *efl_text_font_lang_get(const Eo *obj); void efl_text_font_lang_set(Eo *obj, const char *lang);
font_slant (get, set) [Overridden from Efl.Text_Font]
Type of slant of the displayed font
Efl_Text_Font_Slant efl_text_font_slant_get(const Eo *obj); void efl_text_font_slant_set(Eo *obj, Efl_Text_Font_Slant style);
font_source (get, set) [Overridden from Efl.Text_Font]
The font (source) file to be used on a given text object.
const char *efl_text_font_source_get(const Eo *obj); void efl_text_font_source_set(Eo *obj, const char *font_source);
font_weight (get, set) [Overridden from Efl.Text_Font]
Type of weight of the displayed font
Efl_Text_Font_Weight efl_text_font_weight_get(const Eo *obj); void efl_text_font_weight_set(Eo *obj, Efl_Text_Font_Weight font_weight);
font_width (get, set) [Overridden from Efl.Text_Font]
Type of width of the displayed font
Efl_Text_Font_Width efl_text_font_width_get(const Eo *obj); void efl_text_font_width_set(Eo *obj, Efl_Text_Font_Width width);
gfx_filter (get, set) [Overridden from Efl.Text_Style]
Program that applies a special filter
const char *efl_text_gfx_filter_get(const Eo *obj); void efl_text_gfx_filter_set(Eo *obj, const char *code);
glow2_color (get, set) [Overridden from Efl.Text_Style]
Second color of the glow effect
void efl_text_glow2_color_get(const Eo *obj, unsigned char *r, unsigned char *g, unsigned char *b, unsigned char *a); void efl_text_glow2_color_set(Eo *obj, unsigned char r, unsigned char g, unsigned char b, unsigned char a);
glow_color (get, set) [Overridden from Efl.Text_Style]
Color of glow effect
void efl_text_glow_color_get(const Eo *obj, unsigned char *r, unsigned char *g, unsigned char *b, unsigned char *a); void efl_text_glow_color_set(Eo *obj, unsigned char r, unsigned char g, unsigned char b, unsigned char a);
halign (get, set) [Overridden from Efl.Text_Format]
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) [Overridden from Efl.Text_Format]
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);
is_empty (get)
Eina_Bool efl_canvas_text_is_empty_get(const Eo *obj);
item_geometry_get [Overridden from Efl.Text_Annotate]
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);
legacy_newline (get, set)
Whentrue
, newline character will behave as a paragraph separator.
Eina_Bool efl_canvas_text_legacy_newline_get(const Eo *obj); void efl_canvas_text_legacy_newline_set(Eo *obj, Eina_Bool mode);
linegap (get, set) [Overridden from Efl.Text_Format]
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) [Overridden from Efl.Text_Format]
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);
markup (get, set) [Overridden from Efl.Text_Markup]
Markup property
const char *efl_text_markup_get(const Eo *obj); void efl_text_markup_set(Eo *obj, const char *markup);
markup_range (get, set) [Overridden from Efl.Text_Markup_Interactive]
Markup of a given range in the text
char *efl_text_markup_interactive_markup_range_get(const Eo *obj, Efl_Text_Cursor_Cursor *start, Efl_Text_Cursor_Cursor *end); void efl_text_markup_interactive_markup_range_set(Eo *obj, Efl_Text_Cursor_Cursor *start, Efl_Text_Cursor_Cursor *end, char *markup);
multiline (get, set) [Overridden from Efl.Text_Format]
Multiline is enabled or not
Eina_Bool efl_text_multiline_get(const Eo *obj); void efl_text_multiline_set(Eo *obj, Eina_Bool enabled);
normal_color (get, set) [Overridden from Efl.Text_Style]
Color of text, excluding style
void efl_text_normal_color_get(const Eo *obj, unsigned char *r, unsigned char *g, unsigned char *b, unsigned char *a); void efl_text_normal_color_set(Eo *obj, unsigned char r, unsigned char g, unsigned char b, unsigned char a);
Add obstacle evas objecteo_obs
to be observed during layout of text.
Eina_Bool efl_canvas_text_obstacle_add(Eo *obj, Efl_Canvas_Object *eo_obs);
Removeseo_obs
from observation during text layout.
Eina_Bool efl_canvas_text_obstacle_del(Eo *obj, Efl_Canvas_Object *eo_obs);
Triggers for relayout due to obstacles' state change.
void efl_canvas_text_obstacles_update(Eo *obj);
outline_color (get, set) [Overridden from Efl.Text_Style]
Color of outline effect
void efl_text_outline_color_get(const Eo *obj, unsigned char *r, unsigned char *g, unsigned char *b, unsigned char *a); void efl_text_outline_color_set(Eo *obj, unsigned char r, unsigned char g, unsigned char b, unsigned char a);
paragraph_direction (get, set) [Overridden from Efl.Canvas.Object]
This handles text paragraph direction of the given object. Even if the given object is not textblock or text, its smart child objects can inherit the paragraph direction from the given object. The default paragraph direction isinherit
.
Efl_Text_Bidirectional_Type efl_canvas_object_paragraph_direction_get(const Eo *obj); void efl_canvas_object_paragraph_direction_set(Eo *obj, Efl_Text_Bidirectional_Type dir);
password (get, set) [Overridden from Efl.Text_Format]
Whether text is a password
Eina_Bool efl_text_password_get(const Eo *obj); void efl_text_password_set(Eo *obj, Eina_Bool enabled);
range_annotations_get [Overridden from Efl.Text_Annotate]
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);
Deletes the range between given cursors.
void efl_canvas_text_range_delete(Eo *obj, Efl_Text_Cursor_Cursor *cur1, Efl_Text_Cursor_Cursor *cur2);
Get the geometry of a range in the text.
Eina_Iterator *efl_canvas_text_range_geometry_get(Eo *obj, const Efl_Text_Cursor_Cursor *cur1, const Efl_Text_Cursor_Cursor *cur2);
Get the "simple" geometry of a range.
Eina_Iterator *efl_canvas_text_range_simple_geometry_get(Eo *obj, const Efl_Text_Cursor_Cursor *cur1, const Efl_Text_Cursor_Cursor *cur2);
Returns the text in the range betweencur1
andcur2
.
char *efl_canvas_text_range_text_get(const Eo *obj, const Efl_Text_Cursor_Cursor *cur1, const Efl_Text_Cursor_Cursor *cur2);
replacement_char (get, set) [Overridden from Efl.Text_Format]
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);
scale (get, set) [Overridden from Efl.Gfx.Entity]
The scaling factor of an object.
double efl_gfx_entity_scale_get(const Eo *obj); void efl_gfx_entity_scale_set(Eo *obj, double scale);
shadow_color (get, set) [Overridden from Efl.Text_Style]
Color of shadow effect
void efl_text_shadow_color_get(const Eo *obj, unsigned char *r, unsigned char *g, unsigned char *b, unsigned char *a); void efl_text_shadow_color_set(Eo *obj, unsigned char r, unsigned char g, unsigned char b, unsigned char a);
shadow_direction (get, set) [Overridden from Efl.Text_Style]
Direction of shadow effect
Efl_Text_Style_Shadow_Direction efl_text_shadow_direction_get(const Eo *obj); void efl_text_shadow_direction_set(Eo *obj, Efl_Text_Style_Shadow_Direction type);
size_formatted (get)
void efl_canvas_text_size_formatted_get(const Eo *obj, int *w, int *h);
size_native (get)
void efl_canvas_text_size_native_get(const Eo *obj, int *w, int *h);
strikethrough_color (get, set) [Overridden from Efl.Text_Style]
Color of strikethrough_style
void efl_text_strikethrough_color_get(const Eo *obj, unsigned char *r, unsigned char *g, unsigned char *b, unsigned char *a); void efl_text_strikethrough_color_set(Eo *obj, unsigned char r, unsigned char g, unsigned char b, unsigned char a);
strikethrough_type (get, set) [Overridden from Efl.Text_Style]
Type of strikethrough style
Efl_Text_Style_Strikethrough_Type efl_text_strikethrough_type_get(const Eo *obj); void efl_text_strikethrough_type_set(Eo *obj, Efl_Text_Style_Strikethrough_Type type);
style (get, set)
The text style of the object.
const char *efl_canvas_text_style_get(const Eo *obj, const char *key); void efl_canvas_text_style_set(Eo *obj, const char *key, const char *style);
style_insets (get)
void efl_canvas_text_style_insets_get(const Eo *obj, int *l, int *r, int *t, int *b);
tabstops (get, set) [Overridden from Efl.Text_Format]
Tabstops value
int efl_text_tabstops_get(const Eo *obj); void efl_text_tabstops_set(Eo *obj, int value);
text (get, set) [Overridden from Efl.Text]
The text string to be displayed by the given text object.
const char *efl_text_get(const Eo *obj); void efl_text_set(Eo *obj, const char *text);
text_cursor (get) [Overridden from Efl.Text_Cursor]
Efl_Text_Cursor_Cursor *efl_text_cursor_get(const Eo *obj, Efl_Text_Cursor_Get_Type get_type);
underline2_color (get, set) [Overridden from Efl.Text_Style]
Color of underline2 style
void efl_text_underline2_color_get(const Eo *obj, unsigned char *r, unsigned char *g, unsigned char *b, unsigned char *a); void efl_text_underline2_color_set(Eo *obj, unsigned char r, unsigned char g, unsigned char b, unsigned char a);
underline_color (get, set) [Overridden from Efl.Text_Style]
Color of normal underline style
void efl_text_underline_color_get(const Eo *obj, unsigned char *r, unsigned char *g, unsigned char *b, unsigned char *a); void efl_text_underline_color_set(Eo *obj, unsigned char r, unsigned char g, unsigned char b, unsigned char a);
underline_dashed_color (get, set) [Overridden from Efl.Text_Style]
Color of dashed underline style
void efl_text_underline_dashed_color_get(const Eo *obj, unsigned char *r, unsigned char *g, unsigned char *b, unsigned char *a); void efl_text_underline_dashed_color_set(Eo *obj, unsigned char r, unsigned char g, unsigned char b, unsigned char a);
underline_dashed_gap (get, set) [Overridden from Efl.Text_Style]
Gap of dashed underline style
int efl_text_underline_dashed_gap_get(const Eo *obj); void efl_text_underline_dashed_gap_set(Eo *obj, int gap);
underline_dashed_width (get, set) [Overridden from Efl.Text_Style]
Width of dashed underline style
int efl_text_underline_dashed_width_get(const Eo *obj); void efl_text_underline_dashed_width_set(Eo *obj, int width);
underline_height (get, set) [Overridden from Efl.Text_Style]
Height of underline style
double efl_text_underline_height_get(const Eo *obj); void efl_text_underline_height_set(Eo *obj, double height);
underline_type (get, set) [Overridden from Efl.Text_Style]
Sets an underline style on the text
Efl_Text_Style_Underline_Type efl_text_underline_type_get(const Eo *obj); void efl_text_underline_type_set(Eo *obj, Efl_Text_Style_Underline_Type type);
valign (get, set) [Overridden from Efl.Text_Format]
Vertical alignment of text
double efl_text_valign_get(const Eo *obj); void efl_text_valign_set(Eo *obj, double value);
Returns the currently visible range.
Eina_Bool efl_canvas_text_visible_range_get(Eo *obj, Efl_Text_Cursor_Cursor *start, Efl_Text_Cursor_Cursor *end);
wrap (get, set) [Overridden from Efl.Text_Format]
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);
filter_dirty protected
[Overridden from Efl.Canvas.Filter.Internal]
Called when filter changes must trigger a redraw of the object.
void evas_filter_dirty(Eo *obj);
filter_input_render protected
[Overridden from Efl.Canvas.Filter.Internal]
Called by Efl.Canvas.Filter.Internal when the parent class must render the input.
Eina_Bool evas_filter_input_render(Eo *obj, void *filter, void *engine, void *output, void *drawctx, void *data, int l, int r, int t, int b, int x, int y, Eina_Bool do_async);
filter_state_prepare protected
[Overridden from Efl.Canvas.Filter.Internal]
Called by Efl.Canvas.Filter.Internal to request the parent class for state information (color, etc...).
void evas_filter_state_prepare(Eo *obj, Efl_Canvas_Filter_State *state, void *data);
Efl.Canvas.Filter.Internal | ||
---|---|---|
filter_padding (get) | ||
filter_state (get, set) | Set the current state of the filter. | |
protected | filter_changed (set) | |
protected | filter_input_alpha | Called by Efl.Canvas.Filter.Internal to determine whether the input is alpha or rgba. |
protected | filter_invalid (set) | |
protected | filter_output_buffer (get) | |
Efl.Canvas.Object | ||
above (get) | ||
anti_alias (get, set) | Whether or not the given Evas object is to be drawn anti-aliased. | |
below (get) | ||
clipped_objects (get) | ||
clipped_objects_count | Returns the number of objects clipped by obj |
|
clipper (get, set) | Clip one object to another. | |
color (get, set) | The general/main color of the given Evas object. | |
coords_inside (get) | ||
debug_name_override | Build a read-only name for this object used for debugging. | |
event_freeze | Freeze events of this object. | |
event_thaw | Thaw events of object. | |
finalize | Implement this method to finish the initialization of your object after all (if any) user-provided configuration methods have been executed. | |
geometry (get, set) | Rectangular geometry that combines both position and size. | |
gesture_manager_get | Returns current canvas's gesture manager | |
has_fixed_size (get, set) | A hint for an object that its size will not change. | |
hint_align (get, set) | Hints for an object's alignment. | |
hint_aspect (get, set) | Defines the aspect ratio to respect when scaling this object. | |
hint_fill (get, set) | Hints for an object's fill property that used to specify "justify" or "fill" by some users. Efl.Gfx.Hint.hint_fill specify whether to fill the space inside the boundaries of a container/manager. | |
hint_margin (get, set) | Hints for an object's margin or padding space. | |
hint_size_combined_max (get) | ||
hint_size_combined_min (get) | ||
hint_size_max (get, set) | Hints on the object's maximum size. | |
hint_size_min (get, set) | Hints on the object's minimum size. | |
protected set | hint_size_restricted_max (get, set) | Internal hints for an object's maximum size. |
protected set | hint_size_restricted_min (get, set) | Internal hints for an object's minimum size. |
hint_weight (get, set) | Hints for an object's weight. | |
invalidate | Implement this method to perform special actions when your object loses its parent, if you need to. | |
key_focus (get, set) | Indicates that this object is the keyboard event receiver on its canvas. | |
key_grab | Requests keyname key events be directed to obj . |
|
key_ungrab | Removes the grab on keyname key events by obj . |
|
layer (get, set) | The layer of its canvas that the given object will be part of. | |
loop (get) | ||
lower_to_bottom | Lower obj to the bottom of its layer. |
|
no_render (get, set) | Disables all rendering on the canvas. | |
pass_events (get, set) | Whether an Evas object is to pass (ignore) events. | |
pointer_inside (get) | ||
pointer_mode (get, set) | Low-level pointer behaviour. | |
pointer_mode_by_device (get, set) | Low-level pointer behaviour by device. See Efl.Canvas.Object.pointer_mode.get and Efl.Canvas.Object.pointer_mode.set for more explanation. | |
position (get, set) | The 2D position of a canvas object. | |
precise_is_inside (get, set) | Whether to use precise (usually expensive) point collision detection for a given Evas object. | |
propagate_events (get, set) | Whether events on a smart object's member should be propagated up to its parent. | |
provider_find | Searches upwards in the object tree for a provider which knows the given class/interface. | |
raise_to_top | Raise obj to the top of its layer. |
|
render_op (get, set) | Render mode to be used for compositing the Evas object. | |
repeat_events (get, set) | Whether an Evas object is to repeat events to objects below it. | |
seat_event_filter (get, set) | Whether input events from a given seat are enabled. If the filter list is empty (no seat is disabled) this object will report mouse, keyboard and focus events from any seat, otherwise those events will only be reported if the event comes from a seat that is not in the list. | |
seat_focus (get) | ||
seat_focus_add | Add a seat to the focus list. | |
seat_focus_check | Check if this object is focused by a given seat | |
seat_focus_del | Remove a seat from the focus list. | |
size (get, set) | The 2D size of a canvas object. | |
stack_above | Stack obj immediately above |
|
stack_below | Stack obj immediately below |
|
visible (get, set) | The visibility of a canvas object. | |
protected | render_parent (get) | |
Efl.Gfx.Color | ||
color_code (get, set) | Hexadecimal color code of given Evas object (#RRGGBBAA). | |
Efl.Gfx.Mapping | ||
lighting_3d | Apply a lighting effect on the object. | |
lighting_3d_absolute | Apply a lighting effect to the object. | |
mapping_alpha (get, set) | Alpha flag for map rendering. | |
mapping_clockwise (get) | ||
mapping_color (get, set) | Color of a vertex in the map. | |
mapping_coord_absolute (get, set) | A point's absolute coordinate on the canvas. | |
mapping_has | Read-only property indicating whether an object is mapped. | |
mapping_point_count (get, set) | Number of points of a map. | |
mapping_reset | Resets the map transformation to its default state. | |
mapping_smooth (get, set) | Smoothing state for map rendering. | |
mapping_uv (get, set) | Map point's U and V texture source point. | |
perspective_3d | Apply a perspective transform to the map | |
perspective_3d_absolute | Apply a perspective transform to the map | |
rotate | Apply a rotation to the object. | |
rotate_3d | Rotate the object around 3 axes in 3D. | |
rotate_3d_absolute | Rotate the object around 3 axes in 3D, using absolute coordinates. | |
rotate_absolute | Apply a rotation to the object, using absolute coordinates. | |
rotate_quat | Rotate the object in 3D using a unit quaternion. | |
rotate_quat_absolute | Rotate the object in 3D using a unit quaternion, using absolute coordinates. | |
translate | Apply a translation to the object using map. | |
zoom | Apply a zoom to the object. | |
zoom_absolute | Apply a zoom to the object, using absolute coordinates. | |
Efl.Loop_Consumer | ||
future_rejected | Creates a new future that is already rejected to a specified error using the Efl.Loop_Consumer.loop.get. | |
future_resolved | Creates a new future that is already resolved to a value. | |
parent (get, set) | The parent of an object. | |
promise_new | Create a new promise with the scheduler coming from the loop provided by this object. | |
Efl.Object | ||
allow_parent_unref (get, set) | Allow an object to be deleted by unref even if it has a parent. | |
children_iterator_new | Get an iterator on all children. | |
comment (get, set) | A human readable comment for the object. | |
composite_attach | Make an object a composite object of another. | |
composite_detach | Detach a composite object from another object. | |
composite_part_is | Check if an object is part of a composite object. | |
event_callback_forwarder_del | Remove an event callback forwarder for a specified event and object. | |
event_callback_forwarder_priority_add | Add an event callback forwarder that will make this object emit an event whenever another object (source ) emits it. The event is said to be forwarded from source to this object. |
|
event_callback_stop | Stop the current callback call. | |
event_freeze_count (get) | ||
static | event_global_freeze | Globally freeze events for ALL EFL OBJECTS. |
static | event_global_freeze_count (get) | |
static | event_global_thaw | Globally thaw events for ALL EFL OBJECTS. |
finalized (get) | ||
invalidated (get) | ||
invalidating (get) | ||
name (get, set) | The name of the object. | |
name_find | Find a child object with the given name and return it. | |
provider_register | Will register a manager of a specific class to be answered by Efl.Object.provider_find. | |
provider_unregister | Will unregister a manager of a specific class that was previously registered and answered by Efl.Object.provider_find. | |
Efl.Ui.I18n | ||
language (get, set) | The (human) language for this object. | |
mirrored (get, set) | Whether this object should be mirrored. | |
mirrored_automatic (get, set) | Whether the property Efl.Ui.I18n.mirrored should be set automatically. |
Called when canvas text changed
EFL_CANVAS_TEXT_EVENT_CHANGED(void)
Called when cursor changed
EFL_CANVAS_TEXT_EVENT_CURSOR_CHANGED(void)
Called when the property Efl.Canvas.Text.style_insets changed.
EFL_CANVAS_TEXT_EVENT_STYLE_INSETS_CHANGED(void)
Efl.Canvas.Object | ||
---|---|---|
animator,tick | Animator tick synchronized with screen vsync if possible. | |
Efl.Gesture.Events | ||
gesture,double_tap | Emitted when a Double-tap gesture has been detected. A Double-tap gesture consists of two taps on the screen (or clicks of the mouse) in quick succession. If the second one is delayed for too long they will be detected as two independent Efl.Gesture.Events.gesture,tap events. | |
gesture,flick | Emitted when a Flick gesture has been detected. | |
gesture,long_tap | Emitted when a Long-tap gesture has been detected. A Long-tap gesture consists of a touch of the screen (or click of the mouse) followed by a release after some time. If the release happens too quickly a Efl.Gesture.Events.gesture,tap event will be emitted instead. | |
gesture,momentum | Emitted when a Momentum gesture has been detected. A Momentum gesture consists of a quick displacement of the finger while touching the screen (or while holding down a mouse button). | |
gesture,tap | Emitted when a Tap gesture has been detected. A Tap gesture consists of a touch of the screen (or click of the mouse) quickly followed by a release. If the release happens too late a Efl.Gesture.Events.gesture,long_tap event will be emitted instead. | |
gesture,triple_tap | Emitted when a Triple-tap gesture has been detected. A Triple-tap gesture consists of three taps on the screen (or clicks of the mouse) in quick succession. If any of them is delayed for too long they will be detected as independent Efl.Gesture.Events.gesture,tap or Efl.Gesture.Events.gesture,double_tap events. | |
gesture,zoom | Emitted when a Zoom gesture has been detected. A Zoom gesture consists of two fingers touching the screen and separating ("zoom in") or getting closer ("zoom out" or "pinch"). This gesture cannot be performed with a mouse as it requires more than one pointer. | |
Efl.Gfx.Entity | ||
position,changed | Object was moved, its position during the event is the new one. | |
size,changed | Object was resized, its size during the event is the new one. | |
visibility,changed | Object's visibility state changed, the event value is the new state. | |
Efl.Gfx.Hint | ||
hints,changed | Object hints changed. | |
Efl.Gfx.Stack | ||
stacking,changed | Object stacking was changed. | |
Efl.Input.Interface | ||
finger,down | Finger pressed (finger id is known). | |
finger,move | Finger moved (current and previous positions are known). | |
finger,up | Finger released (finger id is known). | |
focus,in | A focus in event. | |
focus,out | A focus out event. | |
hold | All input events are on hold or resumed. | |
key,down | Keyboard key press. | |
key,up | Keyboard key release. | |
pointer,axis | Pen or other axis event update. | |
pointer,cancel | Main pointer button press was cancelled (button id is known). This can happen in rare cases when the window manager passes the focus to a more urgent window, for instance. You probably don't need to listen to this event, as it will be accompanied by an up event. | |
pointer,down | Main pointer button pressed (button id is known). | |
pointer,in | Pointer entered a window or a widget. | |
pointer,move | Main pointer move (current and previous positions are known). | |
pointer,out | Pointer left a window or a widget. | |
pointer,up | Main pointer button released (button id is known). | |
pointer,wheel | Mouse wheel event. | |
Efl.Object | ||
del | Object is being deleted. See Efl.Object.destructor. | |
destruct | Object has been fully destroyed. It can not be used beyond this point. This event should only serve to clean up any reference you keep to the object. | |
invalidate | Object is being invalidated and losing its parent. See Efl.Object.invalidate. | |
noref | Object has lost its last reference, only parent relationship is keeping it alive. Advanced usage. | |
ownership,shared | Object has acquired a second reference. It has multiple owners now. Triggered whenever increasing the refcount from one to two, it will not trigger by further increasing the refcount beyond two. | |
ownership,unique | Object has lost a reference and only one is left. It has just one owner now. Triggered whenever the refcount goes from two to one. |