summaryrefslogtreecommitdiff
path: root/ext/tk/sample/tkhello.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tk/sample/tkhello.rb')
-rw-r--r--ext/tk/sample/tkhello.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/ext/tk/sample/tkhello.rb b/ext/tk/sample/tkhello.rb
deleted file mode 100644
index ab236963e8..0000000000
--- a/ext/tk/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' => proc{exit}).pack('fill'=>'x')
-
-Tk.mainloop