summaryrefslogtreecommitdiff
path: root/ext/tcltklib/MANUAL.eng
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tcltklib/MANUAL.eng')
-rw-r--r--ext/tcltklib/MANUAL.eng20
1 files changed, 15 insertions, 5 deletions
diff --git a/ext/tcltklib/MANUAL.eng b/ext/tcltklib/MANUAL.eng
index 9523096d20..9e7bd20d37 100644
--- a/ext/tcltklib/MANUAL.eng
+++ b/ext/tcltklib/MANUAL.eng
@@ -1,5 +1,5 @@
(tof)
- 2004/03/28 Hidetoshi NAGAI
+ 2005/07/05 Hidetoshi NAGAI
This document discribes about the 'tcltklib' library. Although there
is the 'tcltk' library (tcltk.rb) under this directory, no description
@@ -227,8 +227,8 @@ module TclTklib
: Convert the argument to a valid Tcl list element with
: Tcl/Tk's library function.
- _toUTF8(str, encoding)
- _fromUTF8(str, encoding)
+ _toUTF8(str, encoding=nil)
+ _fromUTF8(str, encoding=nil)
: Call the function (which is internal function of Tcl/Tk) to
: convert to/from a UTF8 string.
@@ -239,6 +239,16 @@ module TclTklib
: _subst_Tcl_backslash method parses all backslash sequence.
: _subst_UTF_backslash method parses \uhhhh only.
+ encoding_system
+ encoding_system=(encoding)
+ : Get and set Tcl's system encoding.
+
+ encoding
+ encoding=(encoding)
+ : alias of encoding_system / encoding_system=
+ : ( probably, Ruby/Tk's tk.rb will override them )
+
+
class TclTkIp
[class methods]
new(ip_name=nil, options='')
@@ -322,8 +332,8 @@ class TclTkIp
: to _eval and regist the command once, after that, the
: command can be called by _invoke.
- _toUTF8(str, encoding)
- _fromUTF8(str, encoding)
+ _toUTF8(str, encoding=nil)
+ _fromUTF8(str, encoding=nil)
: Call the function (which is internal function of Tcl/Tk) to
: convert to/from a UTF8 string.