diff options
| author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-17 07:59:32 +0000 |
|---|---|---|
| committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-17 07:59:32 +0000 |
| commit | c3cdb931383a2412da8d6a87141468f12397f8aa (patch) | |
| tree | cf6239732bde51bf7ebb41a97136f9cd592d629c /ext/tk | |
| parent | cb3c134422197f6de5bad718bb4f5baf96828f4c (diff) | |
| download | ruby-c3cdb931383a2412da8d6a87141468f12397f8aa.tar.gz ruby-c3cdb931383a2412da8d6a87141468f12397f8aa.tar.xz ruby-c3cdb931383a2412da8d6a87141468f12397f8aa.zip | |
add some documents
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk')
| -rw-r--r-- | ext/tk/MANIFEST | 1 | ||||
| -rw-r--r-- | ext/tk/README.1st | 21 | ||||
| -rw-r--r-- | ext/tk/lib/tk.rb | 3 |
3 files changed, 25 insertions, 0 deletions
diff --git a/ext/tk/MANIFEST b/ext/tk/MANIFEST index 7b7b7d846..1f46c670e 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 000000000..ff92fdd8a --- /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 4cb11363e..e79d97ac8 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) |
