Efl.Canvas.Layout.Part (class)


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

Since 1.20


Efl.Object (class)

Full hierarchy


drag_dir (get) [Overridden from Efl.Ui.Drag]

Determines the draggable directions (read-only).
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 by dx,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 by dx,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);

finalize [Overridden from Efl.Object]

Called at the end of efl_add. Should not be called, just overridden.
Efl_Object *efl_finalize(Eo *obj);

geometry (get, set) [Overridden from Efl.Gfx]

Rectangular geometry that combines both position and size.
Eina_Rect efl_gfx_geometry_get(const Eo *obj);
void efl_gfx_geometry_set(Eo *obj, Eina_Rect rect);

part_type (get)

Type of this part in the layout.
Efl_Canvas_Layout_Part_Type efl_canvas_layout_part_type_get(const Eo *obj);

state (get)

The name and value of the current state of this part (read-only).
void efl_canvas_layout_part_state_get(const Eo *obj, const char **state, double *val);


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.



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.