Efl.Loop.Timer (class)


Timers are objects that will call a given callback at some point in the future and repeat that tick at a given interval.

Timers require the ecore main loop to be running and functioning properly. They do not guarantee exact timing but try to work on a "best effort" basis.



constructor [Overridden from Efl.Object]

Call the object's constructor.
Efl_Object *efl_constructor(Eo *obj);


Adds a delay to the next occurrence of a timer. This doesn't affect the timer interval.
void efl_loop_timer_delay(Eo *obj, double add);

destructor [Overridden from Efl.Object]

Call the object's destructor.
void efl_destructor(Eo *obj);

event_freeze [Overridden from Efl.Object]

Freeze events of object.
void efl_event_freeze(Eo *obj);

event_freeze_count (get) [Overridden from Efl.Object]

Return freeze events of object.
int efl_event_freeze_count_get(const Eo *obj);

event_thaw [Overridden from Efl.Object]

Thaw events of object.
void efl_event_thaw(Eo *obj);

finalize [Overridden from Efl.Object]

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

interval (get, set)

Interval the timer ticks on.
double efl_loop_timer_interval_get(const Eo *obj);
void efl_loop_timer_interval_set(Eo *obj, double in);


This effectively resets a timer but based on the time when this iteration of the main loop started.
void efl_loop_timer_loop_reset(Eo *obj);

parent (get, set) [Overridden from Efl.Object]

The parent of an object.
Efl_Object *efl_parent_get(const Eo *obj);
void efl_parent_set(Eo *obj, Efl_Object *parent);

pending (get)

Pending time regarding a timer.
double efl_loop_timer_pending_get(const Eo *obj);


Resets a timer to its full interval. This effectively makes the timer start ticking off from zero now.
void efl_loop_timer_reset(Eo *obj);


loop (get) The loop to which this object belongs to.
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.
debug_name_override Build a read-only name for this object used for debugging.
del Unrefs the object and reparents it to NULL.
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.
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.
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.
provider_find Searches upwards in the object tree for a provider which knows the given class/interface.



Event triggered when the specified time as passed.


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.