summaryrefslogtreecommitdiff
path: root/ext/tk/sample
diff options
context:
space:
mode:
authornagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-03 09:18:22 +0000
committernagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-03 09:18:22 +0000
commit2dd7a6ab7e1f7b48f92f488448c5d1e02114904a (patch)
tree0afbe8d48cde2a49b1d9b1c6f6cc696489fc6708 /ext/tk/sample
parentd34dbd11183932edff06e20a9ec21c0ce450a52f (diff)
* additional message
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/sample')
-rw-r--r--ext/tk/sample/demos-en/widget8
-rw-r--r--ext/tk/sample/demos-jp/widget8
2 files changed, 16 insertions, 0 deletions
diff --git a/ext/tk/sample/demos-en/widget b/ext/tk/sample/demos-en/widget
index 647464f84e..7379d11cbd 100644
--- a/ext/tk/sample/demos-en/widget
+++ b/ext/tk/sample/demos-en/widget
@@ -186,6 +186,14 @@ demonstration. If you wish, you can edit the code and click the \
"Rerun Demo" button in the code window to reinvoke the demonstration \
with the modified code.
+Some demo scripts require the recent version of Tk library \
+(e.g. Tk8.4 or later) \
+If your Tk library linked to Ruby doesn't support the functions \
+required by the demo script, the demo doesn't work. \
+In such a case, please re-compile tcltklib with the later Tk library \
+which supports the required functions.
+
+
EOT
txt.insert('end', "Labels, buttons, checkbuttons, and radiobuttons.\n", tag_title)
diff --git a/ext/tk/sample/demos-jp/widget b/ext/tk/sample/demos-jp/widget
index 6b7c8c43d0..d7c1876eeb 100644
--- a/ext/tk/sample/demos-jp/widget
+++ b/ext/tk/sample/demos-jp/widget
@@ -194,6 +194,14 @@ txt.insert('end', <<"EOT")
ンストレーションを再実行するためには、コードが書かれたウィンドウに\
ある"デモ再実行" ボタンをクリックしてください。
+一部のデモでは,比較的最近のバージョンの Tk でなければサポートして\
+いない機能を使って実装しています(例えば Tk8.4 以上など).そのため,\
+そうした機能を持たない Tk ライブラリを使っている場合には,そうした\
+デモは正しく動きません.そのような機能が必要であれば,それをサポート\
+している Tk ライブラリを使うように,tcltklib をコンパイルしなおして\
+ください.
+
+
EOT
#txt.insert('end',"ラベル, ボタン, チェックボタン, ラジオボタン\n",tag_middle)