追加されたwidgetのクラス名は、ファイル'mclasses.c'中のテ−ブルIFXtclasses[]に、クラス変数に対するポインタとカウンタ変数の初期値と共に挿入されなければなりません。IFXtclasses[]のエントリはアルファベット順にソートされねばなりません。ファイルは、ディレクトリ$PROROOT/motif11にあります。そのファイルを編集し、忘れずにwidgetのパブリックなインクル−ドファイルを含めて下さい。...
Move to
Next Prev
Up Top
See also
新しいwidgetクラスの追加
新しいリソースの登録
コンバ−タ
外部関数の述語としての実現
新しいコールバックの理由の登録
新しいコールバック構造体のコンポーネントの登録
コンパイルとリンク
インスト−ル
IF Computer > IF/Prolog > Manuals > IF/Prolog V4.1 マニュアル > IF/Prolog Interfaces > OSF/Motifインタフェースマニュアル > Motif IF/Prologの拡張 > Motif IF/PrologへのWidgetsの追加 > 新しいwidgetを追加するための作業 > 新しいwidgetクラスの追加

新しいwidgetクラスの追加

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のクラス名は、ファイル'mclasses.c'中のテ−ブルIFXtclasses[]に、クラス変数に対するポインタとカウンタ変数の初期値と共に挿入されなければなりません。IFXtclasses[]のエントリはアルファベット順にソートされねばなりません。ファイルは、ディレクトリ$PROROOT/motif11にあります。そのファイルを編集し、忘れずにwidgetのパブリックなインクル−ドファイルを含めて下さい。

追加されたwidgetがシェルwidgetの場合には、そのクラスをテ−ブルIFXtclasses[]の代わりにテ−ブルIFXtshellclasses[]に追加して下さい。

例題:newWidgetClassの追加

#include #include #include . . #include "New.h" /* newly added */ . . . . ClassElem IFXtclasses[] = { "new", &newWidgetClass, 1 , "newWidgetClass", &newWidgetClass, 1 ,

/* the last two entries are new */

"widgetClass", &widgetClass, 1 , "xmArrowButton", &xmArrowButtonWidgetClass, 1 , "xmArrowButtonGadget", &xmArrowButtonGadgetClass, 1 , "xmArrowButtonWidgetClass", &xmArrowButtonWidgetClass, 1 , "xmArrowButtonGadgetClass", &xmArrowButtonGadgetClass, 1 , . . {NULL, NULL}, /* please leave this end marker */ };

read on...
IF/Prolog by Siemens
Language
English
Japanese
German
Server
USA
Japan
Site Access
Local Index
Local Contents
Site Contents
Site Index
Printer Friendly
For imode
For PDA
Search
document: http://www.ifcomputer.co.jp/IFProlog/Manuals/v4.1/advanced_feature/osf_motif/motifext/adwidget/incneww/adnewwc/home_en.html
published 2008/9/1 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
scroll to top managed with ubiCMS