From 51d22d22b82f11f85964056957e96cfae38df098 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Sun, 1 Dec 2013 22:30:49 +0100 Subject: test_button: add autodel and policy to behave like test_button-native --- test/test_button.rb | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.1-2-g2b99