summaryrefslogtreecommitdiff
path: root/ext/tk/sample/demos-jp/arrow.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tk/sample/demos-jp/arrow.rb')
-rw-r--r--ext/tk/sample/demos-jp/arrow.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/tk/sample/demos-jp/arrow.rb b/ext/tk/sample/demos-jp/arrow.rb
index 3640798db1..70fe346b65 100644
--- a/ext/tk/sample/demos-jp/arrow.rb
+++ b/ext/tk/sample/demos-jp/arrow.rb
@@ -104,7 +104,8 @@ TkLabel.new($arrow_demo, 'font'=>$font, 'wraplength'=>'5i', 'justify'=>'left',
# frame 生成
$arrow_buttons = TkFrame.new($arrow_demo) {|frame|
TkButton.new(frame) {
- text '了解'
+ #text '了解'
+ text '閉じる'
command proc{
tmppath = $arrow_demo
$arrow_demo = nil
@@ -146,7 +147,7 @@ if TkWinfo.depth($arrow_canvas) > 1
$demo_arrowInfo.activeStyle = {'fill'=>'red', 'outline'=>'black', 'width'=>1}
else
$demo_arrowInfo.bigLineStyle = {'fill'=>'black',
- 'stipple'=>'@'+[$demo_dir, 'images', 'grey.25'].join(File::Separator)}
+ 'stipple'=>'@'+[$demo_dir,'..','images','grey.25'].join(File::Separator)}
$demo_arrowInfo.boxStyle = {'fill'=>'', 'outline'=>'black', 'width'=>1}
$demo_arrowInfo.activeStyle = {'fill'=>'black','outline'=>'black','width'=>1}
end