summaryrefslogtreecommitdiff
path: root/sample/tkhello.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/tkhello.rb')
-rw-r--r--sample/tkhello.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/sample/tkhello.rb b/sample/tkhello.rb
deleted file mode 100644
index 5188fe1..0000000
--- a/sample/tkhello.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-require "tk"
-
-TkButton.new(nil,
- 'text' => 'hello',
- 'command' => proc{print "hello\n"}).pack('fill'=>'x')
-TkButton.new(nil,
- 'text' => 'quit',
- 'command' => 'exit').pack('fill'=>'x')
-
-Tk.mainloop