aboutsummaryrefslogtreecommitdiffstats
path: root/ext/tk/sample/demos-jp/twind.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tk/sample/demos-jp/twind.rb')
-rw-r--r--ext/tk/sample/demos-jp/twind.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/tk/sample/demos-jp/twind.rb b/ext/tk/sample/demos-jp/twind.rb
index d35acd24d0..8716ad7278 100644
--- a/ext/tk/sample/demos-jp/twind.rb
+++ b/ext/tk/sample/demos-jp/twind.rb
@@ -18,7 +18,8 @@ $twind_demo = TkToplevel.new {|w|
# frame 生成
$twind_buttons = TkFrame.new($twind_demo) {|frame|
TkButton.new(frame) {
- text '了解'
+ #text '了解'
+ text '閉じる'
command proc{
tmppath = $twind_demo
$twind_demo = nil
@@ -75,7 +76,7 @@ TkTextWindow.new($twind_text, 'end',
command proc{textWindOn $twind_text,$twind_buttons}
cursor 'top_left_arrow'
})
-$twind_text.insert('end', 'にします。また2つめのボタンをクリックすると')
+$twind_text.insert('end', "にします。また2つめのボタンをクリックすると\n")
$twind_text.insert('end', '水平方向のスクロールを')
TkTextWindow.new($twind_text, 'end',
'window'=>TkButton.new($twind_text) {