summaryrefslogtreecommitdiff
path: root/src/examples/elementary/efl_ui_list_view_example_1.c
diff options
context:
space:
mode:
authorSangHyeon Jade Lee <sh10233.lee@samsung.com>2019-01-31 11:59:19 +0000
committerCedric BAIL <cedric.bail@free.fr>2019-02-11 11:06:13 -0800
commit053146598c346aa7c200aee55093a5e463d255de (patch)
tree44c1acdd0761d0ed48a4ac70121d686504a24a4d /src/examples/elementary/efl_ui_list_view_example_1.c
parent9277586fd8244826bdfbbc7625c3a08be71f5e06 (diff)
efl_ui : rename model connect and factory connect to bind property and factory.
As we discussed in T7469 with V40, efl_ui_model_connect efl_ui_factory_model_connect need to be renamed to efl_ui_bind_property efl_ui_bind_factory for this work, Efl.Ui.Model.Connect interface is changed as Efl.Ui.Bind, and bind_property and bind_factory both method is supported by this interface. bind_factory need Efl.Ui.Factory, and Efl.Ui.Factory inheritted Efl.Ui.Bind, so I little bit concerned about circular referencing, but so far, it works well. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D7529
Diffstat (limited to 'src/examples/elementary/efl_ui_list_view_example_1.c')
-rw-r--r--src/examples/elementary/efl_ui_list_view_example_1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/examples/elementary/efl_ui_list_view_example_1.c b/src/examples/elementary/efl_ui_list_view_example_1.c
index 635a603a35..597d6c3ed1 100644
--- a/src/examples/elementary/efl_ui_list_view_example_1.c
+++ b/src/examples/elementary/efl_ui_list_view_example_1.c
@@ -87,9 +87,9 @@ elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
87 ); 87 );
88 88
89 factory = efl_add(EFL_UI_LAYOUT_FACTORY_CLASS, win); 89 factory = efl_add(EFL_UI_LAYOUT_FACTORY_CLASS, win);
90 efl_ui_model_connect(factory, "signal/efl,state,%v", "odd_style"); 90 efl_ui_property_bind(factory, "signal/efl,state,%v", "odd_style");
91 efl_ui_model_connect(factory, "signal/efl,state,%{selected;unselected}", "selected"); 91 efl_ui_property_bind(factory, "signal/efl,state,%{selected;unselected}", "selected");
92 efl_ui_model_connect(factory, "efl.text", "name"); 92 efl_ui_property_bind(factory, "efl.text", "name");
93 efl_ui_layout_factory_theme_config(factory, "list_item", NULL, "default"); 93 efl_ui_layout_factory_theme_config(factory, "list_item", NULL, "default");
94 94
95 li = efl_add(EFL_UI_LIST_VIEW_CLASS, win 95 li = efl_add(EFL_UI_LIST_VIEW_CLASS, win