Wiki page eo-intro.md changed with summary [little rephrasing] by Xavi Artigas

This commit is contained in:
Xavi Artigas 2017-11-09 04:21:16 -08:00 committed by apache
parent 80fd17f16b
commit 4650a19d80
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ And now, in the ``_obj_create()`` method, add a new ``efl_add()`` line below the
efl_name_set(efl_added, "Child1"));
```
Here you are creating a new object (of type ``EFL_MODEL_ITEM_CLASS``, again) and setting its parent to ``_root``. As you saw in the previous step, the one reference to the new object belongs to the parent, therefore you need not worry about returning it. It also means that you won't be able to work with this object later on. In fact, you don't event need to keep the ``_child1`` pointer (it's here because you will be using it in the following tutorial).
Here you are creating a new object (of type ``EFL_MODEL_ITEM_CLASS``, again) and setting its parent to ``_root``. As explained in the previous step, since you are giving the object a parent, its one reference now belongs to the parent, therefore you need not worry about returning it. It also means that you won't be able to work with this object later on. In fact, you don't event need to keep the ``_child1`` pointer (it's here because you will be using it in the following tutorial).
Add now a second object just below the previous one: