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 | |
parent | 074afe52253a4beb00ad5f6895da56dc19591a33 (diff) | |
download | ffi-efl-ae8f4e3acb09b2c5bb2052a7614c42985a357c06.zip ffi-efl-ae8f4e3acb09b2c5bb2052a7614c42985a357c06.tar.gz |
remove Efl::Elementary::ElmToggle class
-rw-r--r-- | lib/efl/elementary.rb | 8 | ||||
-rw-r--r-- | test/test_elementary.rb | 5 |
2 files changed, 3 insertions, 10 deletions
diff --git a/lib/efl/elementary.rb b/lib/efl/elementary.rb index 8491613..aa90eaf 100644 --- a/lib/efl/elementary.rb +++ b/lib/efl/elementary.rb @@ -653,14 +653,6 @@ module Efl search_prefixes 'elm_thumb_' end # - class ElmToggle < ElmObject - # - include Helper - constructor :elm_toggle_add - search_prefixes 'elm_toggle_' - # - end - # class ElmToolbar < ElmObject # include Helper 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 |