summaryrefslogtreecommitdiff
path: root/ext/tk/sample/tkline.rb
diff options
context:
space:
mode:
authornagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-05-01 16:09:54 +0000
committernagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-05-01 16:09:54 +0000
commitf1c3638777c89f9b085ba0aa3863e3f5691154e3 (patch)
tree795f5cae59103ce5b7fc91cfd3d706ee7a746ba2 /ext/tk/sample/tkline.rb
parent9857d6c5462ce5a0a9194b85937d977fc042323a (diff)
* renewal Ruby/Tk
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/sample/tkline.rb')
-rw-r--r--ext/tk/sample/tkline.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/tk/sample/tkline.rb b/ext/tk/sample/tkline.rb
index 2406b0749f..5bdf3aec78 100644
--- a/ext/tk/sample/tkline.rb
+++ b/ext/tk/sample/tkline.rb
@@ -15,6 +15,8 @@ def start_random
end
end
+Label.new('text'=>'Please press or drag button-1').pack
+
$c = Canvas.new
$c.pack
$start_x = start_y = 0