Commit Graph

44 Commits

Author SHA1 Message Date
Xavi Artigas 871add6fe5 Remove BETA support from Hello Cmd
This tutorial only requires stable API now!
No need to request BETA (or EO) support.
2019-03-25 13:40:03 +01:00
Ali Alzyod 82dd23ba02 Fix Hello World tutorial (multiline support)
Summary: Add the missing multiline enable, to reflect <br> in markup text

Reviewers: segfaultxavi, woohyun, bowonryu

Reviewed By: segfaultxavi

Differential Revision: https://phab.enlightenment.org/D8391
2019-03-18 19:32:53 +01:00
Xavi Artigas 679c89d98d Adapt to latest event names 2019-03-09 15:54:38 +01:00
Xavi Artigas aad5b641c8 More fixes to adapt to latest API changes
EFL_UI_WIN_BASIC -> EFL_UI_WIN_TYPE_BASIC
2019-03-05 09:30:09 +01:00
Mike Blumenkrantz d16b7e48bc fix examples build for latest efl 2019-03-02 10:38:07 -05:00
Lauro Moura 09416b5ccf examples: Change Model_Item to Generic_Model
Summary: This class was renamed in D7533 in the EFL repo.

Test Plan: Run examples

Reviewers: segfaultxavi, felipealmeida

Reviewed By: segfaultxavi

Differential Revision: https://phab.enlightenment.org/D7850
2019-02-01 10:14:28 +01:00
Xavi Artigas af8036ab17 Adapt EO tutorials to latest Eolian inheritance syntax
Rectangle(Efl.Object, ...) -> Rectangle extends Efl.Object implements ...
2019-01-23 11:18:45 +01:00
Marcel Hollerbach ddb06ddc1b meson: rename a few targets
this is in preparation for the next commit
2018-10-31 13:40:50 +01:00
Xavi Artigas d1e530d256 Moved focus example to proper place
Summary: It is a guide, not a tutorial.

Reviewers: vitor.sousa, lauromoura

Reviewed By: vitor.sousa

Differential Revision: https://phab.enlightenment.org/D7055
2018-09-18 12:43:11 -03:00
Xavi Artigas 33dad0d59c Update examples to efl_new / efl_add / efl_add_ref
Reviewers: cedric, q66, bu5hm4n

Reviewed By: cedric, bu5hm4n

Differential Revision: https://phab.enlightenment.org/D6058
2018-05-25 10:17:51 -07:00
Xavi Artigas 4a8b562a40 Update examples after EFL API rename
Differential Revision: https://phab.enlightenment.org/D6002
2018-05-01 13:21:12 -04:00
Xavi Artigas 0448e6cfa4 Update examples to latest EFL API
Summary:
Some of the EFL tutorials are not currently building due to changes in the API :
* const Eo* in getters.
* Efl.Loop -> Efl.App
* efl_net_session_name -> efl_net_session_network_name

Reviewers: cedric

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D5977
2018-04-23 13:35:36 -07:00
Carsten Haitzler bc7793f138 update examples to match args change 2018-03-11 04:46:47 +09:00
Xavi Artigas 2c0fb1cb00 Simplify focus example and add Meson 2018-01-02 16:28:30 +01:00
Marcel Hollerbach 0cf89de464 added a focus example 2017-12-19 17:27:31 +01:00
Andy Williams 0a95fa88b2 Merge branch 'devs/xartigas/tutorials' 2017-12-12 11:00:47 +00:00
Andy Williams 9cbbb37750 lifecycle_ui: Add almost-working lifecycle gui demo
This is pending some Elm fixes to function correctly
2017-12-12 10:56:17 +00:00
Xavi Artigas 37a5123360 Simplified lifecycle example
When window minimization works, we can remove the simulation code or create
another example.
2017-12-12 11:45:30 +01:00
Andy Williams c99595e00a Let's use the window callback to avoid elm_policy needs 2017-12-07 12:39:59 +00:00
Andy Williams 36b64dfca1 hello-gui: Reduce to a minimal Efl.Ui app 2017-12-06 13:12:07 +00:00
Cedric Bail 91934fe8ec lifecycle: EAPI_MAIN need to be used as it is an application symbol, not a library one. 2017-11-30 02:48:27 -08:00
Andy Williams 326f860e39 hello-gui: Simplify gui basic example 2017-11-27 13:50:38 +00:00
Xavi Artigas 19b15a1f04 Adapt code to tutorial text
Minor modifications that make the code easier to explain.
2017-11-22 16:08:11 +01:00
Xavi Artigas 74cd796cba Adapt source code to tutorial text
Minor modifications only. The header file grouping all headers will be
introduced in the multiinherit tutorial, along with the shape interface.
2017-11-20 10:36:28 +01:00
Andy Williams 1acb71b216 Add a colored mixin so we can talk about multiple inheritance 2017-11-17 16:46:59 +00:00
Andy Williams 6e78b6caa3 eo-multiinherit: Clone from eo-inherit before interface removal
Mixins still to come
2017-11-17 15:37:35 +00:00
Andy Williams 09ff6b7b62 eo-inherit: Remove the interface as we will explain that in multiinherit 2017-11-17 15:35:45 +00:00
Andy Williams 399efc52fb Merge branch 'devs/xartigas/tutorials' 2017-11-17 11:48:02 +00:00
Andy Williams 4709a4d366 build: Assume latest eolian which knows system locations 2017-11-17 11:18:39 +00:00
Xavi Artigas 6b8dac2677 Ehem... do not leak the test objects 2017-11-16 18:39:06 +01:00
Andy Williams 0782aa5671 build: Update deps to efl-core 2017-11-15 18:22:44 +00:00
Andy Williams 4a12c6f802 efl_ui: Update deps and includes to match
Also don't worry about multiple efl deps - just grab the one you need
2017-11-15 18:05:20 +00:00
Xavi Artigas ae932ce226 Simplify eo-inherit even more
Square does not need "side", can use the parent's setters to make sure width=height always.
2017-11-15 18:20:42 +01:00
Xavi Artigas 1e380eace9 Reorganize inheritance example
Added circle to illustrate shape interface
Removed shape interface from square, since it inherits from rectangle.
Removed square private data and use its parent's data through the public accessors.
Do not overwrite rectangle's accessors in square, only define the new side.
Removed class cons/destructors which are not used (tutorial is complex enough)
Removed color property from interface (tutorial is complex enough)
2017-11-15 16:02:37 +01:00
Xavi Artigas 4380baece8 Split eo-classes in two: classes and inherit
This simplifies the first tutorial (classes).
2017-11-15 11:55:04 +01:00
Cedric BAIL 269519a369 hello-gui: depends on Efl_Ui.h 2017-11-14 16:37:38 -08:00
Cedric BAIL 12ae9924a3 cmdline: depend on efl-core actually. 2017-11-14 14:41:12 -08:00
Cedric BAIL 2d94f1ce3b cmdline: rely on Efl_Core.h only. 2017-11-14 14:09:13 -08:00
Andy Williams 4c360bb660 c-lib: Remove OS path separator from meson 2017-11-14 11:53:21 +00:00
Andy Williams 693845d2cc eo-classes: Update meson usage to build correct paths 2017-11-14 11:48:57 +00:00
Xavi Artigas 1f0b3626ba Remove eo_prefix
In this small example it is not necessary, so the tutorial is simpler.
2017-11-14 11:05:29 +01:00
Andy Williams bbad6e9923 eo-classes: Use a single header from all c files 2017-11-10 12:16:54 +00:00
Andy Williams 782edcff12 eo-classes: Update includes to be as designed 2017-11-10 11:13:24 +00:00
Andy Williams 0e754f1684 Correct name for tutorial folder 2017-11-10 10:51:57 +00:00