summaryrefslogtreecommitdiff
path: root/ext/gtk/test3.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gtk/test3.rb')
-rw-r--r--ext/gtk/test3.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/ext/gtk/test3.rb b/ext/gtk/test3.rb
deleted file mode 100644
index d73f72f..0000000
--- a/ext/gtk/test3.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-require 'gtk'
-
-window = Gtk::FileSelection::new("file selection dialog")
-window.position(Gtk::WIN_POS_MOUSE)
-window.border_width(0)
-
-window.ok_button.signal_connect("clicked") do
- print window.get_filename, "\n"
-end
-window.cancel_button.signal_connect("clicked") do
- window.destroy
- exit
-end
-window.show
-
-Gtk::main()