EFL Model Form View for MVC design

Desktop / Enlightenment / Elementary - Larry Jr [gmail.com] - 3 July 2015 20:04 UTC

Elementary view that show an EFL.model and keep them synchronized asynchronously.

The elm_view_form connects properties of a data model to different widgets.

There is an example defined in src/examples/filemvc.c that also uses a list view.

You can add widgets connected to properties using:

eo_do(formview, elm_view_form_widget_add("filename", _label_init(win, bxr, "File Name")));

@feature

0f62bf7 EFL Model Form View for MVC design
src/examples/.gitignore | 1 +
src/examples/Makefile.am | 2 +
src/examples/filemvc.c | 209 ++++++++++++++++++++++++++++++++++++
src/lib/Elementary.h.in | 1 +
src/lib/Makefile.am | 3 +
src/lib/elm_view_form.c | 266 ++++++++++++++++++++++++++++++++++++++++++++++
src/lib/elm_view_form.eo | 30 ++++++
src/lib/elm_view_form.h | 10 ++
8 files changed, 522 insertions(+)

Upstream: git.enlightenment.org


  • Share