efl.ecore Module¶What to monitor the file descriptor for: reading, writing or error.
efl.ecore.ECORE_FD_READ¶Fd Read mask
efl.ecore.ECORE_FD_WRITE¶Fd Write mask
efl.ecore.ECORE_FD_ERROR¶Fd Error mask
Flags for executing a child with its stdin and/or stdout piped back.
efl.ecore.ECORE_EXE_NONE¶No exe flags at all
efl.ecore.ECORE_EXE_PIPE_READ¶Exe Pipe Read mask
efl.ecore.ECORE_EXE_PIPE_WRITE¶Exe Pipe Write mask
efl.ecore.ECORE_EXE_PIPE_ERROR¶Exe Pipe error mask
efl.ecore.ECORE_EXE_PIPE_READ_LINE_BUFFERED¶Reads are buffered until a newline and split 1 line per Ecore_Exe_Event_Data_Line
efl.ecore.ECORE_EXE_PIPE_ERROR_LINE_BUFFERED¶Errors are buffered until a newline and split 1 line per Ecore_Exe_Event_Data_Line
efl.ecore.ECORE_EXE_PIPE_AUTO¶stdout and stderr are buffered automatically
efl.ecore.ECORE_EXE_RESPAWN¶FIXME: Exe is restarted if it dies
efl.ecore.ECORE_EXE_USE_SH¶Use /bin/sh to run the command
efl.ecore.ECORE_EXE_NOT_LEADER¶Do not use setsid() to have the executed process be its own session leader
efl.ecore.ECORE_EXE_TERM_WITH_PARENT¶Makes child receive SIGTERM when parent dies
efl.ecore.ECORE_CALLBACK_CANCEL¶Return value to remove a callback, it will not be called again
efl.ecore.ECORE_CALLBACK_RENEW¶Return value to keep a callback
efl.ecore.ECORE_CALLBACK_PASS_ON¶Return value to pass event to next handler
efl.ecore.ECORE_CALLBACK_DONE¶Return value to stop event handling
efl.ecore.ECORE_POS_MAP_LINEAR¶Linear 0.0 -> 1.0
efl.ecore.ECORE_POS_MAP_ACCELERATE¶Start slow then speed up
efl.ecore.ECORE_POS_MAP_DECELERATE¶Start fast then slow down
efl.ecore.ECORE_POS_MAP_SINUSOIDAL¶Start slow, speed up then slow down at end
efl.ecore.ECORE_POS_MAP_ACCELERATE_FACTOR¶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.
efl.ecore.ECORE_POS_MAP_DECELERATE_FACTOR¶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.
efl.ecore.ECORE_POS_MAP_SINUSOIDAL_FACTOR¶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.
efl.ecore.ECORE_POS_MAP_DIVISOR_INTERP¶Start at gradient * v1, interpolated via power of v2 curve
efl.ecore.ECORE_POS_MAP_BOUNCE¶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
efl.ecore.ECORE_POS_MAP_SPRING¶Start at 0.0 then “wobble” like a spring rest position 1.0, and wobble v2 times, with decay factor of v1
efl.ecore.ECORE_POS_MAP_CUBIC_BEZIER¶TODO: Follow the cubic-bezier curve calculated with the control points (x1, y1), (x2, y2)
efl.ecore.ECORE_ANIMATOR_SOURCE_TIMER¶The default system clock/timer based animator that ticks every “frametime” seconds
efl.ecore.ECORE_ANIMATOR_SOURCE_CUSTOM¶A custom animator trigger that you need to call ecore_animator_trigger() to make it tick
efl.ecore.ECORE_FILE_EVENT_NONE¶No event
efl.ecore.ECORE_FILE_EVENT_CREATED_FILE¶A file has been created
efl.ecore.ECORE_FILE_EVENT_CREATED_DIRECTORY¶A directory has been created
efl.ecore.ECORE_FILE_EVENT_DELETED_FILE¶A file has been deleted
efl.ecore.ECORE_FILE_EVENT_DELETED_DIRECTORY¶A directory has been deleted
efl.ecore.ECORE_FILE_EVENT_DELETED_SELF¶The monitored path itself has been deleted
efl.ecore.ECORE_FILE_EVENT_MODIFIED¶A file has changed
efl.ecore.ECORE_FILE_EVENT_CLOSED¶A file has been closed
efl.ecore.Event¶Bases: object
efl.ecore.EventHandlerExe¶Bases: efl.ecore.EventHandler
This class is responsible by filtering out the events created from C without associated Python wrappers.
efl.ecore.EventHandlerSignalExit(func, *args, **kargs)¶Bases: efl.ecore.EventHandler
efl.ecore.EventHandlerSignalUser(func, *args, **kargs)¶Bases: efl.ecore.EventHandler
efl.ecore.ExeEventFilter(Exe exe, int event_type)¶Bases: object
callback_add(func, args, kargs)¶callback_del(func, args, kargs)¶delete()¶efl.ecore.animator_add¶Animator factory, for C-api compatibility.
func signature:
func(*args, **kargs): bool
| Parameters: | func – function to call every frame. |
|---|---|
| Returns: | a new Animator instance |
| Return type: | efl.ecore.Animator |
efl.ecore.animator_frametime_get¶efl.ecore.animator_frametime_set¶efl.ecore.event_add¶efl.ecore.event_handler_add¶efl.ecore.event_type_new¶efl.ecore.exe_pipe_run¶efl.ecore.Exe factory, for C-api compatibility.
efl.ecore.exe_run¶efl.ecore.Exe factory, for C-api compatibility.
efl.ecore.exe_run_priority_get¶efl.ecore.exe_run_priority_set¶efl.ecore.fd_handler_add¶FdHandler factory, for C-api compatibility.
func signature:
func(fd_handler, *args, **kargs): bool
| Parameters: |
|
|---|---|
| Return type: | efl.ecore.FdHandler |
efl.ecore.file_download¶efl.ecore.FileDownload factory, for C-api compatibility.
| Parameters: |
|
|---|---|
| Returns: | a new |
| Return type: |
efl.ecore.file_download_abort¶C-api compatibility Abort the given download an free internal resources
efl.ecore.file_download_abort_all¶This will abort all the download currently in progress, use with caution.
efl.ecore.file_download_protocol_available¶Check if the given download protocol is available, available protocols are: “http://”, “ftp://” and “file://”. Note that ecore can be compiled without CURL support and thus http and ftp could not be available
| Parameters: | protocol (str) – The protocol to check, ex: “http://“ |
|---|---|
| Returns: | True if the protocol is supported |
| Return type: | bool |
efl.ecore.idle_enterer_add¶efl.ecore.IdleEnterer factory, for C-api compatibility.
| Parameters: | func – Function to call when system enters idle. Expected signature: func(*args, **kargs): bool
|
|---|---|
| Returns: | a new IdleEnterer instance |
| Return type: | efl.ecore.IdleEnterer |
efl.ecore.idle_exiter_add¶efl.ecore.IdleExiter factory, for C-api compatibility.
| Parameters: | func – Function to call when system exits idle. Expected signature: func(*args, **kargs): bool
|
|---|---|
| Returns: | a new IdleExiter instance |
| Return type: | efl.ecore.IdleExiter |
efl.ecore.idler_add¶efl.ecore.Idler factory, for C-api compatibility.
| Parameters: | func – function to call when system is idle. Expected signature: func(*args, **kargs): bool
|
|---|---|
| Returns: | a new Idler instance |
| Return type: | efl.ecore.Idler |
efl.ecore.init¶efl.ecore.loop_time_get¶efl.ecore.main_loop_begin¶efl.ecore.main_loop_glib_always_integrate_disable¶efl.ecore.main_loop_glib_integrate¶efl.ecore.main_loop_iterate¶efl.ecore.main_loop_quit¶efl.ecore.on_exe_add_event_add¶Create an ecore event handler for ECORE_EXE_EVENT_ADD
| See: | EventHandler |
|---|---|
| See: | EventHandlerExe |
efl.ecore.on_exe_data_event_add¶Create an ecore event handler for ECORE_EXE_EVENT_DATA
| See: | EventHandler |
|---|---|
| See: | EventHandlerExe |
efl.ecore.on_exe_del_event_add¶Create an ecore event handler for ECORE_EXE_EVENT_DEL
| See: | EventHandler |
|---|---|
| See: | EventHandlerExe |
efl.ecore.on_exe_error_event_add¶Create an ecore event handler for ECORE_EXE_EVENT_ERROR
| See: | EventHandler |
|---|---|
| See: | EventHandlerExe |
efl.ecore.on_signal_exit¶efl.ecore.on_signal_hup¶efl.ecore.on_signal_power¶efl.ecore.on_signal_realtime¶efl.ecore.on_signal_user¶efl.ecore.poller_add¶efl.ecore.shutdown¶efl.ecore.signal_warning¶efl.ecore.time_get¶efl.ecore.timer_add¶efl.ecore.timer_precision_get¶efl.ecore.timer_precision_set¶