summaryrefslogtreecommitdiffstats
path: root/ext/tcltklib/MANUAL.euc
diff options
context:
space:
mode:
authornagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-09-11 17:45:53 +0000
committernagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-09-11 17:45:53 +0000
commit1d1c6983ca37ac31dcc1cceba5433e6561b72b93 (patch)
tree6f16aeaa455236d21e9cadf6fe755941348aca42 /ext/tcltklib/MANUAL.euc
parentc8d93f14b9682c0c11cb7f842e20bc9ee34b2881 (diff)
downloadruby-1d1c6983ca37ac31dcc1cceba5433e6561b72b93.tar.gz
ruby-1d1c6983ca37ac31dcc1cceba5433e6561b72b93.tar.xz
ruby-1d1c6983ca37ac31dcc1cceba5433e6561b72b93.zip
* ext/tcltklib/tcltklib.c: add TclTkIp#allow_ruby_exit? and allow_ruby_exit=
* ext/tk/lib/multi-tk.rb: ditto. * ext/tk/lib/remote-tk.rb: ditto. * ext/tcltklib/MANUAL.euc: ditto. * ext/tcltklib/MANUAL.eng: ditto. * ext/tcltklib/tcltklib.c: fix some reasons of SEGV * ext/tk/tkutil.c: ditto. * ext/tk/lib/multi-tk.rb: ditto. * ext/tk/lib/tk/timer.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tcltklib/MANUAL.euc')
-rw-r--r--ext/tcltklib/MANUAL.euc13
1 files changed, 13 insertions, 0 deletions
diff --git a/ext/tcltklib/MANUAL.euc b/ext/tcltklib/MANUAL.euc
index baddcaf54..a0d7e4230 100644
--- a/ext/tcltklib/MANUAL.euc
+++ b/ext/tcltklib/MANUAL.euc
@@ -380,6 +380,19 @@ require "tcltklib" すると, 以下のモジュール, クラスが利用可能です.
: Tcl/Tk インタープリタを safe インタープリタであるかを調べる.
: safe インタープリタであれば true を返す.
+ allow_ruby_exit?
+ : 対象となるインタープリタ上の評価で,ruby の exit 関数または
+ : Tcl/Tk 上の exit コマンドによって ruby 自体を終了させること
+ : を許すかどうかを返す.
+ : 許さない場合は対象のインタープリタだけが終了する.
+ : マスターインタープリタのデフォルト値は true,スレーブインター
+ : プリタのデフォルト値は false である.
+
+ allow_ruby_exit=(mode)
+ : 対象となるインタープリタの allow_ruby_exit? の状態を変更する.
+ : $SAFE >= 4 またはインタープリタが safe インタープリタの場合は
+ : 変更が許されない (例外を発生).
+
delete
: Tcl/Tk インタープリタを delete する.
: delete されたインタープリタは,以後一切の操作ができなくなり,