IF Computer > IF/Prolog > Manuals > IF/Prolog V4.1 マニュアル > IF/Prolog Interfaces > OSF/Motifインタフェースマニュアル > OSF/Motif 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です。コマンドwidgetを生成するには、クラスxmCommandWidgetClassを使わなければなりません。

xmCommandWidgetClassはxmSelectionBoxWidgetClassのサブクラスなので、xmSelectionBoxWidgetClassで書かれたすべてのリソースは、xmCommandWidgetClassでも有効です。

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

command *1   CSG none コマンド行のテキスト historyItems *2   CSG none ヒストリーリストのアイテム historyItemCount 整数 G 0 historyItemsの数 historyMaxItems 整数 CSG 100 historyItemsの最大数 historyVisibleItemCount 整数 CSG 8 ヒストリーリストの高さ(行数) promptString *1   CSG '>' *3 コマンド行のプロンプト

*1 アトムあるいはリスト、正しいXmString *2 アトムあるいはリスト、正しいXmStringTable *3 これはstringDirectionリソースの値に依存して変わることが可能です。

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

commandChangedCallback command_changed *1 コマンド行のテキストが変更された commandEnteredCallback command_entered *1 コマンドが入力された

*1 正しいコールバックのコンポーネント: value, length

document: http://www.ifcomputer.co.jp/IFProlog/Manuals/v4.1/advanced_feature/osf_motif/motifW/commandw/print_en.html
published 2008/9/8 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