IF Computer > IF/Prolog > Manuals > IF/Prolog V4.1 マニュアル > IF/Prolog Interfaces > Athena インタフェースマニュアル > X11.4 Athena Widgetsの使用方法 > トグルwidget(Toggle Widget)

トグルwidget(Toggle Widget)

IF/Prolog by Siemens
MINERVA superseeded IF/Prolog. Please see http://www.ifcomputer.co.jp/MINERVA for details.

We discontinued to sell IF/Prolog Dec 31. 2003. For current customers, we continue to provide professional support for IF/Prolog until Dec 31, 2008.

トグル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述語として使用できる外部関数を示します。

document: http://www.ifcomputer.co.jp/IFProlog/Manuals/v4.1/advanced_feature/athena/athenause/togglew/print_en.html
published 2008/9/1 update 1995/11/7 (c) 1996-2006 IF Computer Japan
IF Computer 5-28-2 Sendagi, Bunkyo-ku Tel +81-3-5814-3352 start (AT) ifcomputer.com
Customer Support Tokyo 113-0022 Japan   http://www.ifcomputer.com
Back> managed with ubiCMS