Efl.Canvas.Layout.Part_Text (class)


Represents a TEXT part of a layout

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


Efl.Canvas.Layout.Part (class)Efl.Object (class)

Full hierarchy


cursor (get) [Overridden from Efl.Text.Cursor]

The object's main cursor.
Efl_Text_Cursor_Cursor *efl_text_cursor_get(const Eo *obj, Efl_Text_Cursor_Cursor_Get_Type get_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]

The content of the cursor (the character under the 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]

Returns the geometry of two cursors ("split cursor"), if logical cursor is between LTR/RTL text, also considering paragraph direction. Upper cursor is shown for the text of the same direction as paragraph, lower cursor - for opposite.
Eina_Bool efl_text_cursor_geometry_get(const Eo *obj, const Efl_Text_Cursor_Cursor *cur, Efl_Text_Cursor_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]

Inserts a markup text to the text object in a given cursor position
void efl_text_markup_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);

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

text (get, set) [Overridden from Efl.Text]

const char *efl_text_get(const Eo *obj);
void efl_text_set(Eo *obj, const char *text);


drag_dir (get) Determines the draggable directions (read-only).
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 Called at the end of efl_add. Should not be called, just overridden.
geometry (get, set) Rectangular geometry that combines both position and size.
part_type (get) Type of this part in the layout.
state (get) The name and value of the current state of this part (read-only).
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.
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 childrens
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 Call the object's constructor.
debug_name_override Build a read-only name for this object used for debugging.
del Unrefs the object and reparents it to NULL.
destructor Call the object's destructor.
event_callback_forwarder_add Add an event callback forwarder for an event and an object.
event_callback_forwarder_del Remove an event callback forwarder for an event and an object.
event_callback_stop Stop the current callback call.
event_freeze Freeze events of object.
event_freeze_count (get) Return freeze events of object.
class event_global_freeze Freeze events of object.
class event_global_freeze_count (get) Return freeze events of object.
class event_global_thaw Thaw events of object.
event_thaw Thaw events of object.
finalized (get) True if the object is already finalized, otherwise false.
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.
cursor_char_delete Deletes a single character from position pointed by given cursor.
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



hide Object just became invisible.
move Object was moved, its position during the event is the new one.
resize Object was resized, its size during the event is the new one.
show Object just became visible.
callback,add A callback was added.
callback,del A callback was deleted.
del Object is being deleted.
destruct Object has been fully destroyed. It can not be used beyond this point. This event should only serve to clean up any dangling pointer.