Efl.Canvas.Layout_Part_Text (class)

Description

Represents a TEXT part of a layout

Its lifetime is limited to one function call only, unless an extra reference is explicitly held.

Inheritance

Efl.Canvas.Layout_Part (class)Efl.Object (class)

Full hierarchy

Members

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


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


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


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


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


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


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


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


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


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


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


text_expand (get, set)

Sizing policy for text parts.
Efl_Canvas_Layout_Part_Text_Expand efl_canvas_layout_part_text_expand_get(const Eo *obj);
void efl_canvas_layout_part_text_expand_set(Eo *obj, Efl_Canvas_Layout_Part_Text_Expand 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);


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


Inherited

Efl.Canvas.Layout_Part
drag_dir (get)
drag_page (get, set) The page step increments.
drag_page_move Moves the draggable by dx,dy pages.
drag_size (get, set) The draggable object relative size.
drag_step (get, set) The drag step increment.
drag_step_move Moves the draggable by dx,dy steps.
drag_value (get, set) The draggable object relative location.
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.
part_type (get)
state (get)
Efl.Gfx.Entity
position (get, set) The 2D position of a canvas object.
scale (get, set) The scaling factor of an object.
size (get, set) The 2D size of a canvas object.
visible (get, set) The visibility of a canvas 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.
constructor Implement this method to provide optional initialization code for your object.
debug_name_override Build a read-only name for this object used for debugging.
destructor Implement this method to provide deinitialization code for your object if you need it.
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 Freeze events of this object.
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.
event_thaw Thaw events of object.
finalized (get)
invalidate Implement this method to perform special actions when your object loses its parent, if you need to.
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.
parent (get, set) The parent of an object.
provider_find Searches upwards in the object tree for a provider which knows the given class/interface.
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.Text_Cursor
cursor_char_delete Deletes a single character from position pointed by given cursor.
cursor_cluster_coord_set Set cursor coordinates according to grapheme clusters. It does not allow to put a cursor to the middle of a grapheme cluster.
cursor_cluster_next Advances to the next grapheme cluster
cursor_cluster_prev Advances to the previous grapheme cluster
cursor_compare Compare two cursors
cursor_equal Check if two cursors are equal
cursor_free Free existing cursor
cursor_new Create new cursor
cursor_paragraph_char_first Advances to the first character in this paragraph
cursor_paragraph_char_last Advances to the last character in this paragraph
cursor_paragraph_next Advances to the start of the next text node
cursor_paragraph_prev Advances to the end of the previous text node
cursor_text_insert Adds text to the current cursor position and set the cursor to *after* the start of the text just added.
cursor_word_end Advance to current word end
cursor_word_start Advance to current word start
Efl.Text_Font
font_bitmap_scalable (get, set) 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)
font_fallbacks (get, set) Comma-separated list of font fallbacks
font_lang (get, set) Specific language of the displayed font
font_slant (get, set) Type of slant of the displayed font
font_source (get, set) The font (source) file to be used on a given text object.
font_weight (get, set) Type of weight of the displayed font
font_width (get, set) Type of width of the displayed font
Efl.Text_Format
halign (get, set) Horizontal alignment of text
halign_auto_type (get, set) Horizontal alignment of text
linegap (get, set) Minimal line gap (top and bottom) for each line in the text
linerelgap (get, set) Relative line gap (top and bottom) for each line in the text
multiline (get, set) Multiline is enabled or not
password (get, set) Whether text is a password
replacement_char (get, set) The character used to replace characters that can't be displayed
tabstops (get, set) Tabstops value
valign (get, set) Vertical alignment of text
Efl.Text_Markup_Interactive
markup_range (get, set) Markup of a given range in the text
Efl.Text_Style
gfx_filter (get, set) Program that applies a special filter

Events

Inherited

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.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.