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

コマンドWidget (Command 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を生成するには、クラスcommandWidgetClassを使わなければなりません。

commandWidgetClassはlabelWidgetClassのサブクラスなので、labelWidgetClassで書かれたすべてのリソ−スは、commandWidgetClassでも有効です。

リソ−ス       Prolog表現 デフォルト 説 明

cornerRoundPercent 整数 25 円の角の半径 hightlightThickness 整数 2 ハイライトすべきボ−ダの幅 shapeStyle アトム*1 ボタンの長方形の形状スタイル

*1 rectangle, oval, ellipseとroundeRectangleのいずれか

コ−ルバックのリスト名 CallData型 説 明

callback _  ボタン選択のためのコ−ルバック

デフォルトのトランスレ−ション

translations = ': highlight() \ : reset() \ : set() \ : notify() unset()'

document: http://www.ifcomputer.co.jp/IFProlog/Manuals/v4.1/advanced_feature/athena/athenause/commandw/print_de.html
published 2008/11/17 update 1995/11/6 (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