xtGetValue(+WidgetName, ?ArgValue)...
Move to
Next Prev
Up Top
See also
xtInitialize/5
xtCreateApplicationShell/4
xtCreateWidget/5
xtDestroyWidget/1
xtCreateManagedWidget/5
xtManageChild/1
xtManageChildren/1
xtUnmanageChild/1
xtUnmanageChildren/1
xtRealizeWidget/1
xtUnrealizeWidget/1
xtSetMappedWhenManaged/2
xtMapWidget/1, xtUnmapWidget/1
xtGetWidgetMapState/2
xtRaiseWidget/1, xtLowerWidget/1
xtRestackWidget/3
xtSetSensitive/2
xtSetValues/2, xtSetValue/2
xtGetValues/2, xtGetValue/2
IF Computer > IF/Prolog > Manuals > IF/Prolog V4.1 マニュアル > IF/Prolog Interfaces > Athena インタフェースマニュアル > X11.4 Toolkit によるプログラミング > widgetの生成と操作 > xtGetValues/2, xtGetValue/2

xtGetValues/2, xtGetValue/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.

xtGetValue(+WidgetName, ?ArgValue) xtGetValues(+WidgetName, ?ArgList)

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

ArgListはxtSetValues/2の場合に類似していますが、出力値が期待される場所に変数を含んでいなければなりません。

xtGetValues/2が成功する場合には、変数の値は特定の値になります。これはwidgetのデ−タ構造の中にあり、Prolog表現に変換されます。

実際のProlog表現への変換が可能でないリソ−ス型の場合には、"xtArgVal_"で始まるアトムが返されます。これらのリソ−ス値は、後続のxtSetValue/2に使うことができます。これによって、リソ−ス値が意味のあるProlog表現に変換できない場合でも、リソ−ス値をwidgetからwidgetに引き渡すことができます。

widgetリソ−スはそれらのProlog名に変換します。そのProlog名を持っていないあるwidgetが要求された場合には、これがその名付けにより自動的に登録されます。widget値がヌルポインタの場合には、その擬似widget名'none'が返されます。

?- xtGetValues(command_1, [ borderWidth(BorderWidth), height(Height) ]). BorderWidth = 3 Height = 100

yes ?- _

list_expected ArgListがリストでない widget_expected WidgetNameはwidgetでなければならない illegal_arglist_element ArgListの要素はアリティ1のファンクタでなければならない illegal_resource_name 存在しないリソ−ス名を使用している unknown_*?*_resource X toolkitが存在しないリソ−ス値を返し、Prolog表現への変換が失敗した illegal_resource_for_this_widget 指定したリソ−スが要求されているwidgetに対して有効でない unsupported_resource_type Prologで検査できないリソ−スである

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/athena/xtprog/widgets/xtgetval/home_en.html
published 2008/8/25 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
scroll to top managed with ubiCMS