MINERVA superseeded IF/Prolog.
Please see
http://www.ifcomputer.co.jp/MINERVA
for details.
We discontinued to sell IF/Prolog Dec 31. 2003.
Dedicated technical support for IF/Prolog ended Dec 31 2008.
This site is maintained as a community service only.
トグルWidgetは区域です。この区域は多くの場合に長方形でテキストラベル又はビットマップイメージを囲みます。このWidgetはBoolean状態を制御して、そしてそれが選択された時にその状態を変更します。
toggleWidgetClassは、commandWidgetClassのサブクラスなので、commandWidgetClassで書かれたすべてのリソ−スは、toggleWidgetClassでも有効です。
リソ−ス Prolog表現 デフォルト 説明
radioData *1 _ トグルの識別
radioGroup アトム*2 _ radioグループ中で別のトグル
widgetを指定する
state アトム*3 off widgetの状態
*1 これは任意prolog項であるかもしれません
*2 widget名
*3 boolean
トグルActions:
highlight()
unhighlight()
set()
unset()
toggle()
reset()
notify()
デフォールトトランスレーション:
': highlight(Always) \n\
: unhighlight() \n\
,: toggle() notify()'
アプリケーションが"one of manay"のradioグループ型を有しようとする
場合には、少なくともトランスレーションテーブルの変更は必要です。
': highlight(Always) \n\
: unhighlight() \n\
,: set() notify()'
次頁にProlog述語として使用できる外部関数を示します。
|