summaryrefslogtreecommitdiff
path: root/ext/tk
diff options
context:
space:
mode:
authornagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-17 07:59:32 +0000
committernagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-17 07:59:32 +0000
commitb860656cb01b05ac26cd0a11d6c79c3875b78ebe (patch)
treecf6239732bde51bf7ebb41a97136f9cd592d629c /ext/tk
parentc7d278adb9356e78465de640f9a41cdc0fd1f09a (diff)
add some documents
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk')
-rw-r--r--ext/tk/MANIFEST1
-rw-r--r--ext/tk/README.1st21
-rw-r--r--ext/tk/lib/tk.rb3
3 files changed, 25 insertions, 0 deletions
diff --git a/ext/tk/MANIFEST b/ext/tk/MANIFEST
index 7b7b7d846f..1f46c670ec 100644
--- a/ext/tk/MANIFEST
+++ b/ext/tk/MANIFEST
@@ -1,4 +1,5 @@
MANIFEST
+README.1st
extconf.rb
depend
tkutil.c
diff --git a/ext/tk/README.1st b/ext/tk/README.1st
new file mode 100644
index 0000000000..ff92fdd8a3
--- /dev/null
+++ b/ext/tk/README.1st
@@ -0,0 +1,21 @@
+If you want to use Ruby/Tk (tk.rb and so on), you must have
+tcltklib.so which is working collectry. If you fail to call
+'require "tcltklib"', you may not have tcltklib.so.
+Even if there is a tcltklib.so on your Ruby library directry,
+it will not work without Tcl/Tk libraries (e.g. libtcl8.4.so)
+on your environment. You must also check that your Tcl/Tk is
+installed properly.
+
+--------------------------------------------
+ ( the following is written in EUC-JP )
+
+Ruby/Tk (tk.rb など) を使いたい場合には,tcltklib.so が正しく
+動いていなければなりません.もし require "tcltklib" に失敗する
+ようなら,tcltklib.so が存在していないのかもしれません.
+たとえ Ruby のライブラリディレクトリに tcltklib.so が存在して
+いたとしても,実行環境に Tcl/Tk ライブラリ (libtcl8.4.so など)
+がなければ機能しません.Tcl/Tk が正しくインストールされているか
+どうかもチェックしてください.
+
+==========================================================
+ Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)
diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb
index 4cb11363e1..e79d97ac8e 100644
--- a/ext/tk/lib/tk.rb
+++ b/ext/tk/lib/tk.rb
@@ -1577,6 +1577,9 @@ module Tk
def self.new(str)
super(str, 'utf-8')
end
+ def self.new_without_escape(str)
+ super(str, 'utf-8')
+ end
end
def Tk.UTF8_String(str)
Tk::UTF8_String.new(str)