Common class for part proxy objects for Efl.Canvas.Layout.
As an Efl.Part implementation class, all objects of this class are meant to be used for one and only one function call. In pseudo-code, the use of object of this type looks like the following: rect = layout.part("somepart").geometry_get();
⇒ Efl.Canvas.Layout_Part (class) ⇒ Efl.Object (class)
content (get, set) [Overridden from Efl.Content]
Sub-object currently set as this object's single content.
Efl_Gfx_Entity *efl_content_get(const Eo *obj); Eina_Bool efl_content_set(Eo *obj, Efl_Gfx_Entity *content);
content_count [Overridden from Efl.Container]
Returns the number of contained sub-objects.
int efl_content_count(Eo *obj);
content_iterate [Overridden from Efl.Container]
Begin iterating over this object's contents.
Eina_Iterator *efl_content_iterate(Eo *obj);
content_unset [Overridden from Efl.Content]
Remove the sub-object currently set as content of this object and return it. This object becomes empty.
Efl_Gfx_Entity *efl_content_unset(Eo *obj);
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);
drag_dir (get) [Overridden from Efl.Ui.Drag]
Efl_Ui_Drag_Dir efl_ui_drag_dir_get(const Eo *obj);
drag_page (get, set) [Overridden from Efl.Ui.Drag]
The page step increments.
Eina_Bool efl_ui_drag_page_get(const Eo *obj, double *dx, double *dy); Eina_Bool efl_ui_drag_page_set(Eo *obj, double dx, double dy);
drag_page_move [Overridden from Efl.Ui.Drag]
Moves the draggable bydx
,dy
pages.
Eina_Bool efl_ui_drag_page_move(Eo *obj, double dx, double dy);
drag_size (get, set) [Overridden from Efl.Ui.Drag]
The draggable object relative size.
Eina_Bool efl_ui_drag_size_get(const Eo *obj, double *dw, double *dh); Eina_Bool efl_ui_drag_size_set(Eo *obj, double dw, double dh);
drag_step (get, set) [Overridden from Efl.Ui.Drag]
The drag step increment.
Eina_Bool efl_ui_drag_step_get(const Eo *obj, double *dx, double *dy); Eina_Bool efl_ui_drag_step_set(Eo *obj, double dx, double dy);
drag_step_move [Overridden from Efl.Ui.Drag]
Moves the draggable bydx
,dy
steps.
Eina_Bool efl_ui_drag_step_move(Eo *obj, double dx, double dy);
drag_value (get, set) [Overridden from Efl.Ui.Drag]
The draggable object relative location.
Eina_Bool efl_ui_drag_value_get(const Eo *obj, double *dx, double *dy); Eina_Bool efl_ui_drag_value_set(Eo *obj, double dx, double dy);
geometry (get, set) [Overridden from Efl.Gfx.Entity]
Rectangular geometry that combines both position and size.
Eina_Rect efl_gfx_entity_geometry_get(const Eo *obj); void efl_gfx_entity_geometry_set(Eo *obj, Eina_Rect rect);
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);
orientation (get, set) [Overridden from Efl.Ui.Layout_Orientable]
Returnsdefault
if unknown.
Efl_Ui_Layout_Orientation efl_ui_layout_orientation_get(const Eo *obj); void efl_ui_layout_orientation_set(Eo *obj, Efl_Ui_Layout_Orientation dir);
pack [Overridden from Efl.Pack]
Adds a sub-object to this container.
Eina_Bool efl_pack(Eo *obj, Efl_Gfx_Entity *subobj);
pack_after [Overridden from Efl.Pack_Linear]
Append an object after theexisting
sub-object.
Eina_Bool efl_pack_after(Eo *obj, Efl_Gfx_Entity *subobj, const Efl_Gfx_Entity *existing);
pack_at [Overridden from Efl.Pack_Linear]
Insertssubobj
BEFORE the sub-object at positionindex
.
Eina_Bool efl_pack_at(Eo *obj, Efl_Gfx_Entity *subobj, int index);
pack_before [Overridden from Efl.Pack_Linear]
Prepend an object before theexisting
sub-object.
Eina_Bool efl_pack_before(Eo *obj, Efl_Gfx_Entity *subobj, const Efl_Gfx_Entity *existing);
pack_begin [Overridden from Efl.Pack_Linear]
Prepend an object at the beginning of this container.
Eina_Bool efl_pack_begin(Eo *obj, Efl_Gfx_Entity *subobj);
pack_clear [Overridden from Efl.Pack]
Removes all packed sub-objects and unreferences them.
Eina_Bool efl_pack_clear(Eo *obj);
pack_content_get [Overridden from Efl.Pack_Linear]
Sub-object at a givenindex
in this container.
Efl_Gfx_Entity *efl_pack_content_get(Eo *obj, int index);
pack_end [Overridden from Efl.Pack_Linear]
Append object at the end of this container.
Eina_Bool efl_pack_end(Eo *obj, Efl_Gfx_Entity *subobj);
pack_index_get [Overridden from Efl.Pack_Linear]
Get the index of a sub-object in this container.
int efl_pack_index_get(Eo *obj, const Efl_Gfx_Entity *subobj);
pack_table [Overridden from Efl.Pack_Table]
Pack object at a given location in the table.
Eina_Bool efl_pack_table(Eo *obj, Efl_Gfx_Entity *subobj, int col, int row, int colspan, int rowspan);
pack_unpack_at [Overridden from Efl.Pack_Linear]
Pop out (remove) the sub-object at the specifiedindex
.
Efl_Gfx_Entity *efl_pack_unpack_at(Eo *obj, int index);
part_type (get) [Overridden from Efl.Canvas.Layout_Part]
Efl_Canvas_Layout_Part_Type efl_canvas_layout_part_type_get(const Eo *obj);
state (get) [Overridden from Efl.Canvas.Layout_Part]
void efl_canvas_layout_part_state_get(const Eo *obj, const char **state, double *val);
table_cell_column (get, set) [Overridden from Efl.Pack_Table]
column of thesubobj
in this container.
Eina_Bool efl_pack_table_cell_column_get(const Eo *obj, Efl_Gfx_Entity *subobj, int *col, int *colspan); void efl_pack_table_cell_column_set(Eo *obj, Efl_Gfx_Entity *subobj, int col, int colspan);
table_cell_row (get, set) [Overridden from Efl.Pack_Table]
row of thesubobj
in this container.
Eina_Bool efl_pack_table_cell_row_get(const Eo *obj, Efl_Gfx_Entity *subobj, int *row, int *rowspan); void efl_pack_table_cell_row_set(Eo *obj, Efl_Gfx_Entity *subobj, int row, int rowspan);
table_columns (get, set) [Overridden from Efl.Pack_Table]
Specifies the amount of columns the table will have when the fill direction is horizontal. If it is vertical, the amount of columns depends on the amount of cells added and Efl.Pack_Table.table_rows.
int efl_pack_table_columns_get(const Eo *obj); void efl_pack_table_columns_set(Eo *obj, int cols);
table_content_get [Overridden from Efl.Pack_Table]
Returns a child at a given position, see Efl.Pack_Table.table_contents_get.
Efl_Gfx_Entity *efl_pack_table_content_get(Eo *obj, int col, int row);
table_contents_get [Overridden from Efl.Pack_Table]
Returns all objects at a given position in this table.
Eina_Iterator *efl_pack_table_contents_get(Eo *obj, int col, int row, Eina_Bool below);
table_rows (get, set) [Overridden from Efl.Pack_Table]
Specifies the amount of rows the table will have when the fill direction is vertical. If it is horizontal, the amount of rows depends on the amount of cells added and Efl.Pack_Table.table_columns.
int efl_pack_table_rows_get(const Eo *obj); void efl_pack_table_rows_set(Eo *obj, int rows);
table_size (get, set) [Overridden from Efl.Pack_Table]
Combines Efl.Pack_Table.table_columns and Efl.Pack_Table.table_rows
void efl_pack_table_size_get(const Eo *obj, int *cols, int *rows); void efl_pack_table_size_set(Eo *obj, int cols, int rows);
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);
unpack [Overridden from Efl.Pack]
Removes an existing sub-object from the container without deleting it.
Eina_Bool efl_pack_unpack(Eo *obj, Efl_Gfx_Entity *subobj);
unpack_all [Overridden from Efl.Pack]
Removes all packed sub-objects without unreferencing them.
Eina_Bool efl_pack_unpack_all(Eo *obj);
Efl.Canvas.Layout_Part | ||
---|---|---|
finalize | Implement this method to finish the initialization of your object after all (if any) user-provided configuration methods have been executed. | |
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_Markup_Interactive | ||
markup_range (get, set) | Markup of a given range in the text |
Efl.Container | ||
---|---|---|
content,added | Sent after a new sub-object was added. | |
content,removed | Sent after a sub-object was removed, before unref. | |
Efl.Content | ||
content,changed | Sent after the content is set or unset using the current content object. | |
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. |