Efl.Ui.Focus.Manager_Calc (class)

Description

Calculates the elements present in each Efl.Ui.Focus.Direction.

Each registered item will get a target item in each direction. You can get the target items for the currently focused item by calling Efl.Ui.Focus.Manager.request_move.

Inheritance

Members

border_elements (get) [Overridden from Efl.Ui.Focus.Manager]

Eina_Iterator *efl_ui_focus_manager_border_elements_get(const Eo *obj);


constructor [Overridden from Efl.Object]

Implement this method to provide optional initialization code for your object.
Efl_Object *efl_constructor(Eo *obj);


destructor [Overridden from Efl.Object]

Implement this method to provide deinitialization code for your object if you need it.
void efl_destructor(Eo *obj);


dirty_logic_freeze [Overridden from Efl.Ui.Focus.Manager]

Disables the cache invalidation when an object is moved.
void efl_ui_focus_manager_dirty_logic_freeze(Eo *obj);


dirty_logic_unfreeze [Overridden from Efl.Ui.Focus.Manager]

Enables the cache invalidation when an object is moved.
void efl_ui_focus_manager_dirty_logic_unfreeze(Eo *obj);


fetch [Overridden from Efl.Ui.Focus.Manager]

Fetches the data from a registered node.
Efl_Ui_Focus_Relations *efl_ui_focus_manager_fetch(Eo *obj, Efl_Ui_Focus_Object *child);


finalize [Overridden from Efl.Object]

Implement this method to finish the initialization of your object after all (if any) user-provided configuration methods have been executed.
Efl_Object *efl_finalize(Eo *obj);


logical_end [Overridden from Efl.Ui.Focus.Manager]

Returns the last logical object.
Efl_Ui_Focus_Manager_Logical_End_Detail efl_ui_focus_manager_logical_end(Eo *obj);


manager_focus (get, set) [Overridden from Efl.Ui.Focus.Manager]

The element which is currently focused by this manager.
Efl_Ui_Focus_Object *efl_ui_focus_manager_focus_get(const Eo *obj);
void efl_ui_focus_manager_focus_set(Eo *obj, Efl_Ui_Focus_Object *focus);


move [Overridden from Efl.Ui.Focus.Manager]

Moves the focus in the given direction to the next regular widget.
Efl_Ui_Focus_Object *efl_ui_focus_manager_move(Eo *obj, Efl_Ui_Focus_Direction direction);


pop_history_stack [Overridden from Efl.Ui.Focus.Manager]

Removes the uppermost history element, and focuses the previous one.
void efl_ui_focus_manager_pop_history_stack(Eo *obj);


provider_find [Overridden from Efl.Object]

Searches upwards in the object tree for a provider which knows the given class/interface.
Efl_Object *efl_provider_find(const Eo *obj, const Efl_Class *klass);


redirect (get, set) [Overridden from Efl.Ui.Focus.Manager]

Add another manager to serve the move requests.
Efl_Ui_Focus_Manager *efl_ui_focus_manager_redirect_get(const Eo *obj);
void efl_ui_focus_manager_redirect_set(Eo *obj, Efl_Ui_Focus_Manager *redirect);


register

Registers a new item in the graph.
Eina_Bool efl_ui_focus_manager_calc_register(Eo *obj, Efl_Ui_Focus_Object *child, Efl_Ui_Focus_Object *parent, Efl_Ui_Focus_Manager *redirect);


register_logical

Registers a new logical item in the graph.
Eina_Bool efl_ui_focus_manager_calc_register_logical(Eo *obj, Efl_Ui_Focus_Object *child, Efl_Ui_Focus_Object *parent, Efl_Ui_Focus_Manager *redirect);


request_move [Overridden from Efl.Ui.Focus.Manager]

Returns the object in the direction from child.
Efl_Ui_Focus_Object *efl_ui_focus_manager_request_move(Eo *obj, Efl_Ui_Focus_Direction direction, Efl_Ui_Focus_Object *child, Eina_Bool logical);


request_subchild [Overridden from Efl.Ui.Focus.Manager]

Returns the widget in the direction next.
Efl_Ui_Focus_Object *efl_ui_focus_manager_request_subchild(Eo *obj, Efl_Ui_Focus_Object *root);


reset_history [Overridden from Efl.Ui.Focus.Manager]

Resets the history stack of this manager object. This means the uppermost element will be unfocused, and all other elements will be removed from the remembered list.
void efl_ui_focus_manager_reset_history(Eo *obj);


root (get, set) [Overridden from Efl.Ui.Focus.Manager]

Root node for all logical sub-trees.
Efl_Ui_Focus_Object *efl_ui_focus_manager_root_get(const Eo *obj);
Eina_Bool efl_ui_focus_manager_root_set(Eo *obj, Efl_Ui_Focus_Object *root);


setup_on_first_touch [Overridden from Efl.Ui.Focus.Manager]

Called when this manager is set as redirect.
void efl_ui_focus_manager_setup_on_first_touch(Eo *obj, Efl_Ui_Focus_Direction direction, Efl_Ui_Focus_Object *entry);


unregister

Unregister the given item from the focus graph.
void efl_ui_focus_manager_calc_unregister(Eo *obj, Efl_Ui_Focus_Object *child);


update_children

Sets the list of children to a different order.
Eina_Bool efl_ui_focus_manager_calc_update_children(Eo *obj, Efl_Ui_Focus_Object *parent, Eina_List *children);


update_order

Sets the list of children to a different order.
void efl_ui_focus_manager_calc_update_order(Eo *obj, Efl_Ui_Focus_Object *parent, Eina_List *children);


update_parent

Sets a new logical parent for the given child.
Eina_Bool efl_ui_focus_manager_calc_update_parent(Eo *obj, Efl_Ui_Focus_Object *child, Efl_Ui_Focus_Object *parent);


update_redirect

Sets a new redirect object for the given child.
Eina_Bool efl_ui_focus_manager_calc_update_redirect(Eo *obj, Efl_Ui_Focus_Object *child, Efl_Ui_Focus_Manager *redirect);


viewport_elements (get) [Overridden from Efl.Ui.Focus.Manager]

Eina_Iterator *efl_ui_focus_manager_viewport_elements_get(const Eo *obj, Eina_Rect viewport);


Inherited

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.
debug_name_override Build a read-only name for this object used for debugging.
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_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.

Events

Inherited

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.
Efl.Ui.Focus.Manager
coords,dirty Cached relationship calculation results have been invalidated.
dirty_logic_freeze,changed Called when this focus manager is frozen or thawed, even_info being true indicates that it is now frozen, false indicates that it is thawed.
flush,pre After this event, the manager object will calculate relations in the graph. Can be used to add / remove children in a lazy fashion.
manager_focus,changed The manager_focus property has changed. The previously focused object is passed as an event argument.
redirect,changed Redirect object has changed, the old manager is passed as an event argument.