summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2013-12-01 22:30:49 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2013-12-01 22:30:49 +0100
commit51d22d22b82f11f85964056957e96cfae38df098 (patch)
tree62c09021c5c48148dd1c489c628a7480deafc107
parentf8e118c75bf601001fb805d1dd69baed8aeafbe2 (diff)
downloadffi-efl-51d22d22b82f11f85964056957e96cfae38df098.zip
ffi-efl-51d22d22b82f11f85964056957e96cfae38df098.tar.gz
test_button: add autodel and policy to behave like test_button-native
-rw-r--r--test/test_button.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_button.rb b/test/test_button.rb
index 93168d3..9908a0a 100644
--- a/test/test_button.rb
+++ b/test/test_button.rb
@@ -12,6 +12,7 @@ class MyWin < Elm::ElmWin
def initialize
super(nil, "Greetings") do
title_set "Hello, World!"
+ autodel_set true
resize 240, 60
show
end
@@ -33,6 +34,7 @@ end
Elm.init
#
MyWin.new
+Elm.elm_policy_set(0, 1)
#
Elm.run
Elm.shutdown