xtGrabKey( +WidgetName, +Keycode, +Modefiers, +OwnerEvents...
Move to
Next Prev
Up Top
See also
xtAddGrab/3, xtRemoveGrab/1
xtGrabKey/6,xtUngrabKey/3
xtGrabKeyboard/4,xtUngrabKeyboard/1
xtGrabButton/9,xtUngrabButton/3
xtGrabPointer/7,xtUngrabPointer/3
xtSetKeyboardFocus/2
xtCallAcceptFocus/1
xtInstallAccelerators/2, xtInstallAllAccelerators/2
xtFlush/1
IF Computer > IF/Prolog > Manuals > IF/Prolog V4.1 マニュアル > IF/Prolog Interfaces > OSF/Motifインタフェースマニュアル > OSF/Motifによるプログラミング > Miscellaneous > xtGrabKey/6,xtUngrabKey/3

xtGrabKey/6,xtUngrabKey/3

MINERVA superseeded IF/Prolog. Please see http://www.ifcomputer.co.jp/MINERVA for details.

We discontinued to sell IF/Prolog Dec 31. 2003. Dedicated technical support for IF/Prolog ended Dec 31 2008. This site is maintained as a community service only.

xtGrabKey( +WidgetName, +Keycode, +Modefiers, +OwnerEvents +PointerMode, +KeyboradMode) xtUngrabKey( +WidgetName, +Keycode, +Modifiers)

XGrabKey(),XUngrabKey()と同様の働きをします。

この述語は、指定されたキーイベントをウィジェット階層のルートにリダイレクトし、キーが押された場合にはそのキーボードを捕らえます。 Modifiersは、[]か、anyModifier, shiftMask, controlMask, lockMask, mod1Mask, ..., mod5Maskのリストです。 OwnerEventsは、false, trueのようなブール値を持つアトムでなければなりません。 PointerModeとKeyboardModeは、'grabModeSync' と'grabModeAsync'のいずれかです。 捕獲に対するOwnerEvents, PointerMode, KeyboardModeの効果については、X11のマニュアルを参照して下さい。

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/motifprog/miscell/xtgukey/home_en.html
published 2012/5/21 update 1995/11/6 (c) 1996-2009 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