| ||||||||||
| 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. xtGrabPointer(+WidgetName, +Button, +Modifiers, +OwnerEvents, +EventMask, +PointerMode, +KeyboardMode, +ConfineTo, +Cursor) xtUngrabPointer(+WidgetName, +Button, +Modifiers) XtGrab/UngrabPointer()に相当します。 この述語は、能動的にポイントを捕らえます。 OwenrEventsは、false,trueのようなブール値を持つアトムでなければなりません。 EventMaskは、[]あるいはnoEventMask, keyPressMask, keyReleaseMask, buttonPressMask, buttonReleaseMask, enterWindowMask, leaveWindowMask, pointerMotionMask, ..., button5MotionMask, buttonMotionMask, keyhmapStateMask, exposureMask, visibilityChangeMask, structureNotifyMask, resizeRedirectMask,substructureNotifyMask,substructureRedirectMask, focusChangeMask, propertyChangeMask, colormapChangeMask, ownerGrabButtonMaskのリストです。 PointerModeとKeyboardModeは、'grabModeSync' と'grabModeAsync'のいずれかを指定します。 ConfineToは、そこにポインタを制限したいウィジェット(ウィンドウ)か、'none'を指定します。 Cursorは、表示したいカーソルか、'none'を指定します。 捕獲に対するOwnerEvents, PointerMode, KeyboardModeの効果については、X11のマニュアルを参照して下さい。 widget_expected WigetNameはウィジェットでない。 atom_expected OwenerEvents, PointerMode, KeyboardModeはアトムでない。Modifiersの要素はアトムでない。 integer_expected Keycodeは整数でない。 list_or_nil_expected ModifiersとEventMaskはnilかリストかでなければならない。 illegal_modifierMask_value Modifiersの要素は上記の値のいずれかでない。 illegal_grabMode_value PointerModeまたはKeyboardModeはgrabModeSyncもgrabModeAsyncもでない。 illegal_boolean_resource OwnerEventsはtrue,false,...のいずれかでない。 illegal_button_value ButtonはanyButton,button1, ..., button5のいずれかでない。 illegal_eventMask_value EventMaskは上記の値のいずれかでない。 | ||||||||||
|
| Back> |
|