summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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