summaryrefslogtreecommitdiff
path: root/ext/gtk/test0.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gtk/test0.rb')
-rw-r--r--ext/gtk/test0.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/ext/gtk/test0.rb b/ext/gtk/test0.rb
deleted file mode 100644
index 4ff802d..0000000
--- a/ext/gtk/test0.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-require 'gtk'
-
-window = Gtk::Window::new(Gtk::WINDOW_TOPLEVEL)
-window.border_width(10)
-button = Gtk::Button::new("Hello World")
-button.signal_connect("clicked") do
- print "hello world\n"
- exit
-end
-window.add(button)
-button.show
-window.show
-Gtk::main()