Wiki page eo-intro.md changed with summary [little rephrasing] by Xavi Artigas
This commit is contained in:
parent
80fd17f16b
commit
4650a19d80
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in New Issue