Package ecore :: Module c_ecore
[hide private]
[frames] | no frames]

Module c_ecore

Classes [hide private]
  Animator
Creates an animator to tick off at every animaton tick during main loop execution.
  Event
  EventHandler
Creates an event handler for ecore events.
  FdHandler
Adds a callback for activity on the given file descriptor.
  IdleEnterer
Add an idle enterer handler.
  IdleExiter
Add an idle exiter handler.
  Idler
Add an idler handler.
  Timer
Creates a timer to call the given function in the given period of time.
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}).
EventHandler
event_handler_add(...)
EventHandler factory, for C-api compatibility.
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_iterate(...)
Force main loop to process requests (timers, fd handlers, idlers, ...)
 
main_loop_quit(...)
Quit main loop, have main_loop_begin() to return.
 
shutdown(...)
float
time_get(...)
Get current time, in seconds.
Timer
timer_add(...)
Timer factory, for C-api compatibility.
Variables [hide private]
  __package__ = 'ecore'
Function Details [hide private]

animator_add(...)

 

Animator factory, for C-api compatibility.

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

Returns: Animator

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

timer_add(...)

 

Timer factory, for C-api compatibility.

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

Returns: Timer