forked from enlightenment/www-content
Wiki page main-loop.md changed with summary [Fix eo-intro links] by Xavi Artigas
This commit is contained in:
parent
fada863ab1
commit
1f7e71f853
|
@ -11,7 +11,7 @@ EFL manages timers, file descriptors, user interface events amongst other things
|
||||||
|
|
||||||
## Prerequisites ##
|
## Prerequisites ##
|
||||||
|
|
||||||
* Read the [Introduction to Eo](eo-intro.md) to understand how Eo objects are created and destroyed.
|
* Read the [Introduction to Eo](/develop/tutorials/c/eo-intro.md) to understand how Eo objects are created and destroyed.
|
||||||
|
|
||||||
* Read the [Events Programming Guide](events.md) to learn how to register callbacks, which can be triggered by events.
|
* Read the [Events Programming Guide](events.md) to learn how to register callbacks, which can be triggered by events.
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ You can find usage examples in the EFL repository: [``reference/c/core/src/core_
|
||||||
|
|
||||||
### Creating and Destroying Timers ###
|
### Creating and Destroying Timers ###
|
||||||
|
|
||||||
Timers are Eo objects. You can create and destroy them with ``efl_add()`` as for all other Eo objects (see [Introduction to Eo](eo-intro.md)). Their class is `EFL_LOOP_TIMER_CLASS`:
|
Timers are Eo objects. You can create and destroy them with ``efl_add()`` as for all other Eo objects (see [Introduction to Eo](/develop/tutorials/c/eo-intro.md)). Their class is `EFL_LOOP_TIMER_CLASS`:
|
||||||
|
|
||||||
```c
|
```c
|
||||||
timer_object = efl_add(EFL_LOOP_TIMER_CLASS, ...);
|
timer_object = efl_add(EFL_LOOP_TIMER_CLASS, ...);
|
||||||
|
@ -104,7 +104,7 @@ You can find usage examples in the EFL examples repository: [``reference/c/core/
|
||||||
|
|
||||||
### Creating and Destroying FD Monitors ###
|
### Creating and Destroying FD Monitors ###
|
||||||
|
|
||||||
FD monitors are Eo objects that wrap system file descriptors, and are instantiated and destroyed with ``efl_add()`` as for all other Eo objects (see [Introduction to Eo](eo-intro.md)). Their class is `EFL_LOOP_FD_CLASS,`:
|
FD monitors are Eo objects that wrap system file descriptors, and are instantiated and destroyed with ``efl_add()`` as for all other Eo objects (see [Introduction to Eo](/develop/tutorials/c/eo-intro.md)). Their class is `EFL_LOOP_FD_CLASS,`:
|
||||||
|
|
||||||
```c
|
```c
|
||||||
fd_object = efl_add(EFL_LOOP_FD_CLASS, ...);
|
fd_object = efl_add(EFL_LOOP_FD_CLASS, ...);
|
||||||
|
|
Loading…
Reference in New Issue