summaryrefslogtreecommitdiff
path: root/src/examples/elementary/radio_cxx_example_01.cc
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-06-26 09:55:41 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-06-26 10:25:14 -0400
commit0e65d0c6514935640ddc657c29ac57b41628a9c6 (patch)
treea74e99d22d28f2469d3c306f5434c77b6780124a /src/examples/elementary/radio_cxx_example_01.cc
parente962e6be4f91ea78faed1fb7335f68485bd7f1a3 (diff)
efl_ui: remove nstate widget
Summary: this doesn't seem to serve a purpose anymore and there's no point in keeping it in tree fix T7866 Reviewers: woohyun, Jaehyun_Cho Reviewed By: Jaehyun_Cho Subscribers: cedric, #reviewers, #committers Tags: #efl_widgets Maniphest Tasks: T7866 Differential Revision: https://phab.enlightenment.org/D9176
Diffstat (limited to 'src/examples/elementary/radio_cxx_example_01.cc')
-rw-r--r--src/examples/elementary/radio_cxx_example_01.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/examples/elementary/radio_cxx_example_01.cc b/src/examples/elementary/radio_cxx_example_01.cc
index 1b6c659e14..90a508e4e4 100644
--- a/src/examples/elementary/radio_cxx_example_01.cc
+++ b/src/examples/elementary/radio_cxx_example_01.cc
@@ -33,7 +33,7 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
33 auto cb_val = std::bind([bx] (efl::ui::Radio &obj EINA_UNUSED) 33 auto cb_val = std::bind([bx] (efl::ui::Radio &obj EINA_UNUSED)
34 { std::cout << "val is now: " << bx.selected_value_get() << std::endl; }, 34 { std::cout << "val is now: " << bx.selected_value_get() << std::endl; },
35 std::placeholders::_1); 35 std::placeholders::_1);
36 efl::eolian::event_add(efl::ui::Nstate::changed_event, radio, cb_val); 36 efl::eolian::event_add(efl::ui::Radio_Group::value_changed_event, radio, cb_val);
37 37
38 efl::ui::Radio radio2(instantiate, win); 38 efl::ui::Radio radio2(instantiate, win);
39 radio2.text_set("Radio 2"); 39 radio2.text_set("Radio 2");
@@ -43,18 +43,18 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
43 ic2.icon_set("file"); 43 ic2.icon_set("file");
44 radio2.content_set(ic2); 44 radio2.content_set(ic2);
45 bx.pack_end(radio2); 45 bx.pack_end(radio2);
46 efl::eolian::event_add(efl::ui::Nstate::changed_event, radio2, cb_val); 46 efl::eolian::event_add(efl::ui::Radio_Group::value_changed_event, radio2, cb_val);
47 47
48 efl::ui::Radio radio3(instantiate, win); 48 efl::ui::Radio radio3(instantiate, win);
49 radio3.text_set("Radio 3"); 49 radio3.text_set("Radio 3");
50 radio3.state_value_set(3); 50 radio3.state_value_set(3);
51 bx.pack_end(radio3); 51 bx.pack_end(radio3);
52 efl::eolian::event_add(efl::ui::Nstate::changed_event, radio3, cb_val); 52 efl::eolian::event_add(efl::ui::Radio_Group::value_changed_event, radio3, cb_val);
53 53
54 efl::ui::Radio radio4(instantiate, win); 54 efl::ui::Radio radio4(instantiate, win);
55 radio4.text_set("Radio 4"); 55 radio4.text_set("Radio 4");
56 radio4.state_value_set(4); 56 radio4.state_value_set(4);
57 bx.pack_end(radio4); 57 bx.pack_end(radio4);
58 efl::eolian::event_add(efl::ui::Nstate::changed_event, radio4, cb_val); 58 efl::eolian::event_add(efl::ui::Radio_Group::value_changed_event, radio4, cb_val);
59} 59}
60EFL_MAIN() 60EFL_MAIN()