What to monitor the file descriptor for: reading, writing or error.
Fd Read mask
Fd Write mask
Fd Error mask
Flags for executing a child with its stdin and/or stdout piped back.
No exe flags at all
Exe Pipe Read mask
Exe Pipe Write mask
Exe Pipe error mask
Reads are buffered until a newline and split 1 line per Ecore_Exe_Event_Data_Line
Errors are buffered until a newline and split 1 line per Ecore_Exe_Event_Data_Line
stdout and stderr are buffered automatically
FIXME: Exe is restarted if it dies
Use /bin/sh to run the command
Do not use setsid() to have the executed process be its own session leader
Makes child receive SIGTERM when parent dies
Return value to remove a callback, it will not be called again
Return value to keep a callback
Return value to pass event to next handler
Return value to stop event handling
Linear 0.0 -> 1.0
Start slow then speed up
Start fast then slow down
Start slow, speed up then slow down at end
Start slow then speed up, v1 being a power factor, 0.0 being linear, 1.0 being normal accelerate, 2.0 being much more pronounced accelerate (squared), 3.0 being cubed, etc.
Start fast then slow down, v1 being a power factor, 0.0 being linear, 1.0 being normal decelerate, 2.0 being much more pronounced decelerate (squared), 3.0 being cubed, etc.
Start slow, speed up then slow down at end, v1 being a power factor, 0.0 being linear, 1.0 being normal sinusoidal, 2.0 being much more pronounced sinusoidal (squared), 3.0 being cubed, etc.
Start at gradient * v1, interpolated via power of v2 curve
Start at 0.0 then “drop” like a ball bouncing to the ground at 1.0, and bounce v2 times, with decay factor of v1
Start at 0.0 then “wobble” like a spring rest position 1.0, and wobble v2 times, with decay factor of v1
TODO: Follow the cubic-bezier curve calculated with the control points (x1, y1), (x2, y2)
The default system clock/timer based animator that ticks every “frametime” seconds
A custom animator trigger that you need to call ecore_animator_trigger() to make it tick
No event
A file has been created
A directory has been created
A file has been deleted
A directory has been deleted
The monitored path itself has been deleted
A file has changed
A file has been closed
Bases: object
Bases: efl.ecore.EventHandler
This class is responsible by filtering out the events created from C without associated Python wrappers.
Bases: efl.ecore.EventHandler
Bases: efl.ecore.EventHandler
Bases: object
animator_add(func, *args, **kargs) Animator factory, for C-api compatibility.
func signature:
func(*args, **kargs): bool
param func: function to call every frame. return: a new Animator instance rtype: efl.ecore.Animator
animator_frametime_get()
animator_frametime_set(double frametime)
event_type_new(cls)
exe_pipe_run(exe_cmd, int flags=0, data=None) efl.ecore.Exe factory, for C-api compatibility.
exe_run(exe_cmd, data=None) efl.ecore.Exe factory, for C-api compatibility.
exe_run_priority_get()
exe_run_priority_set(int pri)
fd_handler_add(fd, int flags, func, *args, **kargs) FdHandler factory, for C-api compatibility.
func signature:
func(fd_handler, *args, **kargs): bool
param fd: file descriptor or object with fileno() method. param flags: bitwise OR of ECORE_FD_READ, ECORE_FD_WRITE... param func: function to call when file descriptor state changes. rtype: efl.ecore.FdHandler
file_download(url, dst, completion_cb, progress_cb, *args, **kargs) efl.ecore.FileDownload factory, for C-api compatibility.
param url: The complete url to download
param dst: Where to download the file
param completion_cb: The function called when the download end Expected signature:
completion_cb(file, status, \*args, \**kargs)param progress_cb: The function to called while the download progress advance. Expected signature:
progress_cb(file, dltotal, dlnow, uptotal, upnow, \*args, \**kargs): intreturn: a new efl.ecore.FileDownload instance
rtype:
file_download_abort(instance) C-api compatibility
Abort the given download an free internal resources
file_download_abort_all() This will abort all the download currently in progress, use with caution.
file_download_protocol_available(protocol) Check if the given download protocol is available, available protocols
idle_enterer_add(func, *args, **kargs) efl.ecore.IdleEnterer factory, for C-api compatibility.
param func: Function to call when system enters idle. Expected signature:
func(*args, **kargs): boolreturn: a new IdleEnterer instance
rtype: efl.ecore.IdleEnterer
idle_exiter_add(func, *args, **kargs) efl.ecore.IdleExiter factory, for C-api compatibility.
param func: Function to call when system exits idle. Expected signature:
func(*args, **kargs): boolreturn: a new IdleExiter instance
rtype: efl.ecore.IdleExiter
idler_add(func, *args, **kargs) efl.ecore.Idler factory, for C-api compatibility.
param func: function to call when system is idle. Expected signature:
func(*args, **kargs): boolreturn: a new Idler instance
rtype: efl.ecore.Idler
init()
loop_time_get()
main_loop_begin()
main_loop_glib_always_integrate_disable()
main_loop_glib_integrate()
main_loop_iterate()
main_loop_quit()
on_exe_add_event_add(func, *args, **kargs) Create an ecore event handler for ECORE_EXE_EVENT_ADD
see: EventHandler see: EventHandlerExe
on_exe_data_event_add(func, *args, **kargs) Create an ecore event handler for ECORE_EXE_EVENT_DATA
see: EventHandler see: EventHandlerExe
on_exe_del_event_add(func, *args, **kargs) Create an ecore event handler for ECORE_EXE_EVENT_DEL
see: EventHandler see: EventHandlerExe
on_exe_error_event_add(func, *args, **kargs) Create an ecore event handler for ECORE_EXE_EVENT_ERROR
see: EventHandler see: EventHandlerExe
shutdown()
signal_warning(sig, action)
time_get()
timer_precision_get()
timer_precision_set(double value)