From 36882f81e2564fc1d47d5a708f818245107fd4b9 Mon Sep 17 00:00:00 2001 From: Norbert Wojtowicz Date: Mon, 14 Feb 2011 16:46:56 +0100 Subject: [PATCH] adds main.rb: hello world example --- main.rb | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 main.rb diff --git a/main.rb b/main.rb new file mode 100644 index 0000000..6dd6360 --- /dev/null +++ b/main.rb @@ -0,0 +1,7 @@ + +$toolkit = :qt +require 'rui' + +RUI::Application.init('hello') do + RUI::PushButton.new('Hello').show +end