diff options
Diffstat (limited to 'test')
-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 |