diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-10-21 15:09:57 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-10-21 15:09:57 +0200 |
commit | ae8f4e3acb09b2c5bb2052a7614c42985a357c06 (patch) | |
tree | f8a8a24a9dd88325c0e5b3f4821dc50a236eb38e /test/test_elementary.rb | |
parent | 074afe52253a4beb00ad5f6895da56dc19591a33 (diff) | |
download | ffi-efl-ae8f4e3acb09b2c5bb2052a7614c42985a357c06.zip ffi-efl-ae8f4e3acb09b2c5bb2052a7614c42985a357c06.tar.gz |
remove Efl::Elementary::ElmToggle class
Diffstat (limited to 'test/test_elementary.rb')
-rw-r--r-- | test/test_elementary.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test_elementary.rb b/test/test_elementary.rb index 7e80cf2..4e2e2ef 100644 --- a/test/test_elementary.rb +++ b/test/test_elementary.rb @@ -188,7 +188,8 @@ class TestWin < Elm::ElmWin @fr.content = lb lb.show end - Elm::ElmToggle.new self do |tg| + Elm::ElmCheck.new self do |tg| + tg.style = 'toggle' tg.text = 'UI-Mirroring:' tg.state = Native.elm_mirrored_get tg.smart_callback_add 'changed', method(:tg_changed) @@ -237,7 +238,7 @@ class TestWin < Elm::ElmWin end # def tg_changed data, evas_obj, event_info - Native.elm_mirrored_set Native.elm_toggle_state_get evas_obj + Native.elm_mirrored_set Native.elm_check_state_get evas_obj end # def index_changed data, evas_obj, event_info |