Module c_ecore
[hide private]
[frames] | no frames]

Module c_ecore

Functions [hide private]
 
_event_mapping_register(...)
Register the ecore event type with the given event class.
 
_event_mapping_unregister(...)
Forget about previous registration of this event type.
Animator
animator_add(...)
Animator factory, for C-api compatibility.
float
animator_frametime_get(...)
 
animator_frametime_set(...)
Set time between frames ( rac{1}{frames-per-second}).
 
event_add(...)
EventHandler
event_handler_add(...)
EventHandler factory, for C-api compatibility.
 
event_type_new(...)
 
exe_pipe_run(...)
Exe factory, for C-api compatibility.
 
exe_run(...)
Exe factory, for C-api compatibility.
 
exe_run_priority_get(...)
Gets the priority at which to launch processes.
 
exe_run_priority_set(...)
Sets the priority at which to launch processes.
FdHandler
fd_handler_add(...)
FdHandler factory, for C-api compatibility.
IdleEnterer
idle_enterer_add(...)
IdleEnterer factory, for C-api compatibility.
IdleExiter
idle_exiter_add(...)
IdleExiter factory, for C-api compatibility.
Idler
idler_add(...)
Idler factory, for C-api compatibility.
 
init(...)
float
loop_time_get(...)
Retrieves the time at which the last loop stopped waiting for timeouts or events.
 
main_loop_begin(...)
Enter main loop, this function will not return until main_loop_quit().
 
main_loop_glib_integrate(...)
Ask Ecore to integrate with GLib, running its default GMainContext.
 
main_loop_iterate(...)
Force main loop to process requests (timers, fd handlers, idlers, ...)
 
main_loop_quit(...)
Quit main loop, have main_loop_begin() to return.
 
on_exe_add_event_add(...)
Create an ecore event handler for ECORE_EXE_EVENT_ADD
 
on_exe_data_event_add(...)
Create an ecore event handler for ECORE_EXE_EVENT_DATA
 
on_exe_del_event_add(...)
Create an ecore event handler for ECORE_EXE_EVENT_DEL
 
on_exe_error_event_add(...)
Create an ecore event handler for ECORE_EXE_EVENT_ERROR
 
on_signal_exit(...)
Create an ecore event handler for ECORE_EVENT_SIGNAL_EXIT
 
on_signal_hup(...)
Create an ecore event handler for ECORE_EVENT_SIGNAL_HUP
 
on_signal_power(...)
Create an ecore event handler for ECORE_EVENT_SIGNAL_POWER
 
on_signal_realtime(...)
Create an ecore event handler for ECORE_EVENT_SIGNAL_REALTIME
 
on_signal_user(...)
Create an ecore event handler for ECORE_EVENT_SIGNAL_USER
 
shutdown(...)
float
time_get(...)
Get current time, in seconds.
Timer
timer_add(...)
Timer factory, for C-api compatibility.
Variables [hide private]
  __package__ = None
  __test__ = {u'Animator.__init__ (line 61)': 'Constructor.\n\n ...
Function Details [hide private]

animator_add(...)

 

Animator factory, for C-api compatibility.

func signature: func(*args, **kargs): bool

Returns: Animator

exe_run_priority_get(...)

 

Gets the priority at which to launch processes.

This gets ths priority of launched processes. See exe_run_priority_set() for details. This just returns the value set by this call.

Returns:
the value set by exe_run_priority_set()

exe_run_priority_set(...)

 

Sets the priority at which to launch processes.

This sets the priority of processes run by Exe. If set to ECORE_EXE_PRIORITY_INHERIT child processes inherit the priority of their parent. This is the default.

fd_handler_add(...)

 

FdHandler factory, for C-api compatibility.

func signature: func(fd_handler, *args, **kargs): bool

Returns: FdHandler

idle_enterer_add(...)

 

IdleEnterer factory, for C-api compatibility.

func signature: func(*args, **kargs): bool

Returns: IdleEnterer

idle_exiter_add(...)

 

IdleExiter factory, for C-api compatibility.

func signature: func(*args, **kargs): bool

Returns: IdleExiter

idler_add(...)

 

Idler factory, for C-api compatibility.

func signature: func(*args, **kargs): bool

Returns: Idler

loop_time_get(...)

 

Retrieves the time at which the last loop stopped waiting for timeouts or events.

This gets the time (since Jan 1st, 1970, 12:00AM) that the main loop ceased waiting for timouts and/or events to come in or for signals or any other interrupt source. This should be considered a reference point fo all time based activity that should calculate its timepoint from the return of loop_time_get(). Use this UNLESS you absolutely must get the current actual timepoint - then use ecore.time_get(). If this is called before any loop has ever been run, then it will call ecore.time_get() for you the first time and thus have an initial time reference.

Returns: float

main_loop_glib_integrate(...)

 

Ask Ecore to integrate with GLib, running its default GMainContext.

After this call, Ecore will act like GLib's main loop and also dispatch GLib's timers, fd-handlers and idlers. It makes possible to run Ecore-based applications with libraries that depends on GLib main loop, like GConf, GTK, GUPnP and others.

Raises:
  • SystemError - if failed to integrate or no glib support.

on_exe_add_event_add(...)

 

Create an ecore event handler for ECORE_EXE_EVENT_ADD

on_exe_data_event_add(...)

 

Create an ecore event handler for ECORE_EXE_EVENT_DATA

on_exe_del_event_add(...)

 

Create an ecore event handler for ECORE_EXE_EVENT_DEL

on_exe_error_event_add(...)

 

Create an ecore event handler for ECORE_EXE_EVENT_ERROR

on_signal_exit(...)

 

Create an ecore event handler for ECORE_EVENT_SIGNAL_EXIT

on_signal_hup(...)

 

Create an ecore event handler for ECORE_EVENT_SIGNAL_HUP

See Also: EventHandler

on_signal_power(...)

 

Create an ecore event handler for ECORE_EVENT_SIGNAL_POWER

See Also: EventHandler

on_signal_realtime(...)

 

Create an ecore event handler for ECORE_EVENT_SIGNAL_REALTIME

See Also: EventHandler

on_signal_user(...)

 

Create an ecore event handler for ECORE_EVENT_SIGNAL_USER

timer_add(...)

 

Timer factory, for C-api compatibility.

func signature: func(*args, **kargs): bool

Returns: Timer

Variables Details [hide private]

__test__

Value:
{u'Animator.__init__ (line 61)': '''Constructor.

           @parm: B{func} function to call every frame.
        ''',
 u'Animator.delete (line 98)': 'Stop callback emission and free intern\
al resources.',
 u'Animator.stop (line 105)': 'Alias for L{delete()}.',
 u'EventHandler.__init__ (line 93)': '@parm: B{type} event type, as re\
...