### Copyright (C) 1995, 1996, 1997 Jeppe Buk (buk@imada.ou.dk) ### This program is free software; you can redistribute it and/or modify ### it under the terms of the GNU General Public License as published by ### the Free Software Foundation; either version 2 of the License, or ### (at your option) any later version. ### ### This program is distributed in the hope that it will be useful, ### but WITHOUT ANY WARRANTY; without even the implied warranty of ### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ### GNU General Public License for more details. ### ### You should have received a copy of the GNU General Public License ### along with this program; if not, write to the Free Software ### Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ### ### Mar. 9 1998 Japanized by Mashio Motoyama ### proc FvwmAuto {} { # モジュール / FvwmAuto Desc "FvwmAuto モジュールの設定" ShortDesc "FvwmAuto" Header h\ -text "FvwmAuto" -frame:relief flat \ -help "このページでは FvwmAuto モジュールの設定を行います。"\ "このモジュールは入力フォーカスを持ったウインドウのオート・レイズで使われます。" Line l CheckBox spawn\ -text "起動時から利用" \ -help "これを選択すると、このモジュールは起動時、つまり"\ "'InitFunction' と 'RestartFunction' からその動作を開始します。" Int delay\ -text "レイズの遅延時間を"\ -textafter "ミリ秒に設定"\ -help "ここではウインドウがレイズされる前に、キーボード・フォーカスを保留しておく時間をミリ秒単位で指定します。" Change { if {$changeElm == "spawn"} { if {$spawn == 1} {Enable delay} else {Disable delay} } } PageEnd { if {$spawn == 1 && $delay == ""} { error "FvwmAuto を利用するのであれば、遅延時間をミリ秒単位で指定しなければなりません。" } } Save { if {$spawn == 1} { print "AddToFunc InitFunction \"I\" Module FvwmAuto $delay" print "AddToFunc RestartFunction \"I\" Module FvwmAuto $delay" } } }