# xtClass(?WidgetName, ?ClassName)...
移動
次へ 前へ
上へ 最上
参考
xtTranslateCoords/5
xtNameToWidget/3
xtWindow/2, xtWindowToWidget/2
xtParent/2
xtClass/2
xtIsSugclass/2
xtVersion/2
xtWidget/1
xtIsRealized/1
xtIsManaged/1
xtIsComposite/1
xtHasCallbacks/2
xtIsSensitive/1
xtGetApplicationNameAndClass/2
xtName/2
xtDisplayWidth(MM)/3, xtDisplayHeight(MM)/3
イフコンピュータ > IF/Prolog > マニュアル > IF/Prolog V4.1 マニュアル > IF/Prolog Interfaces > Athena インタフェースマニュアル > X11.4 Toolkit によるプログラミング > 質問述語 > xtClass/2

xtClass/2

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.

# xtClass(?WidgetName, ?ClassName)

intrinsicsのXtClass()と同様の働きをします。

この述語は、widgetのクラスを計算します。

WidgetNameが変数の場合には、Prologに登録されているすべてのwidgetのクラスが計算され、ClassNameに単一化されます。従って、バックトラッキングによってすべてのwidget-クラスの組み合わせを得ることができます。

?- xtClass(Widget, Class).

Widget = applicationShell_1 Class = applicationShell;

Widget = applicationShell_1 Class = applicationShellWidgetClass;

Widget = command_1 Class = command ;

Widget = command_1 Class = commandWidgetClass ;

illegal_widget_class 与えられている場合には、ClassNameはクラス名でなければならない Prologにwidgetのクラスが登録されていない widget_expected 与えられている場合には、WidgetNameはwidgetでなければならない

続く..
IF/Prolog by Siemens
言語
English
Japanese
German
サーバー
USA
Japan
サイトマップ
索引
目次
全体目次
全体索引
印刷向き
imode
PDA
探索
document: http://www.ifcomputer.co.jp/IFProlog/Manuals/v4.1/advanced_feature/athena/xtprog/querypred/xtclass/home_jp.html
published 2008/12/1 update 1995/11/6 (c) 1996-2006 IF Computer Japan
IF Computer 〒113-0022 Tel 03-5814-3352 start (AT) ifcomputer.com
Customer Support 東京都文京区千駄木5-28-2   http://www.ifcomputer.co.jp
冒頭へ managed with ubiCMS