diff options
Diffstat (limited to 'ext/tk/sample/tkhello.rb')
-rw-r--r-- | ext/tk/sample/tkhello.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/tk/sample/tkhello.rb b/ext/tk/sample/tkhello.rb index 3b505f4983..597c1f6242 100644 --- a/ext/tk/sample/tkhello.rb +++ b/ext/tk/sample/tkhello.rb @@ -1,6 +1,6 @@ require "tk" -TkButton.new(nil, +TkButton.new(nil, :text => 'hello', :command => proc{print "hello\n"}).pack(:fill=>'x') TkButton.new(nil, |