elementary: rework Efl.Ui.Layout boolean signal-connection to Models
authorVitor Sousa <vitorsousa@expertisesolutions.com.br>
Tue, 6 Nov 2018 13:23:21 +0000 (11:23 -0200)
committerHermet Park <hermetpark@gmail.com>
Wed, 5 Dec 2018 05:52:40 +0000 (14:52 +0900)
commit22a06e6b8734aebdd41d78e9dcfe3c295b371d41
tree911f379aea5ccac12d15ea337face9105474f28b
parent8b15227644de6ba1bf81f319472763871a32a302
elementary: rework Efl.Ui.Layout boolean signal-connection to Models

Add new feature to specify signal connection to boolean properties of Models.
This also fix some '%v' substitution problems.

Parsing EINA_VALUE_TYPE_BOOL as boolean in Efl.Ui.Layout signal updates from
Models (instead of EINA_VALUE_TYPE_UCHAR). UCHAR no longer has special handling
and falls to the general result of eina_value_to_string() as other types do.

Use EINA_VALUE_TYPE_BOOL instead of EINA_VALUE_TYPE_UCHAR to signal selection on
click events to the Model.

Update examples to make usage of the new property connection feature in order to
model selection of items on Views.
src/examples/elementary/efl_ui_list_view_example_1.c
src/lib/elementary/efl_ui_layout.c