XtSetKeyboardFocus(3Xt) | XT FUNCTIONS | XtSetKeyboardFocus(3Xt) |
̾Á°¶
XtSetKeyboardFocus - ¥¤¥Ù¥ó¥È¤ò¤¢¤ë»Ò¥¦¥£¥¸¥§¥Ã¥È¤Ë¥Õ¥©¡¼¥«¥¹¤µ¤»¤ë
½ñ¼°¶
XtSetKeyboardFocus(subtree, descendant)
Widget subtree, descendant;
°ú¤¿ô¶
- descendant
- ¥¡¼¥Ü¡¼¥É¥¤¥Ù¥ó¥È¤ò¼õ¤±¼è¤ë¥µ¥Ö¥Ä¥ê¡¼¹½Â¤Æâ¤Î»Ò¹¥¦¥£¥¸¥§¥Ã¥È¡¢¤Þ¤¿¤Ï None ¤ò»ØÄꤹ¤ë¡£ °ÊÁ°¤ËÆþÎÏ¥Õ¥©¡¼¥«¥¹¤¬ÀßÄꤵ¤ì¤Æ¤¤¤Ê¤¤¤È¤¤Ë None ¤ò»ØÄꤷ¤Æ¤â¸í¤ê¤Ç¤Ï¤Ê¤¤ÅÀ¤ËÃí°Õ¤¹¤ë¤³¤È¡£
- w
- ¥¡¼¥Ü¡¼¥É¥Õ¥©¡¼¥«¥¹¤òÀßÄꤹ¤ë¥¦¥£¥¸¥§¥Ã¥È¤ò»ØÄꤹ¤ë¡£
ÀâÌÀ¶
¾Íè¤Ë KeyPress ¥¤¥Ù¥ó¥È¤« KeyRelease ¥¤¥Ù¥ó¥È¤¬»ØÄꤷ¤¿¥µ¥Ö¥Ä¥ê¡¼Æâ¤Çµ¯¤³¤Ã¤¿¾ì¹ç¡¢ XtSetKeyboardFocus ¤Ï XtDispatchEvent ¤ò°ú¤µ¯¤³¤·¡¢¤½¤Î¥¤¥Ù¥ó¥È¤ò»ØÄꤷ¤¿»Ò¹¥¦¥£¥¸¥§¥Ã¥È¤ËºÆ¥Þ¥Ã¥×¤·¤ÆÁ÷¤ë¡£
¥â¡¼¥À¥ë¥«¥¹¥±¡¼¥É¤¬Ìµ¤¤¾ì¹ç¤Ï¡¢¥¦¥£¥¸¥§¥Ã¥È W Æâ¤Ç¤Î¥¡¼¥Ü¡¼¥É¥¤¥Ù¥ó¥È ¤Îµ¯¤Êý¤Ï°Ê²¼¤Î 3 ¤Ä¤Î¤¦¤Á¤Î¤¤¤º¤ì¤«¤Ç¤¢¤ë:
- W ¤¬ X ¤ÎÆþÎÏ¥Õ¥©¡¼¥«¥¹¤ò»ý¤Ä¡£
- W ¤¬ÁÄÀ襦¥£¥¸¥§¥Ã¥È¤Î¤¦¤Á¤Î1¤Ä¤Î¥¡¼¥Ü¡¼¥É¥Õ¥©¡¼¥«¥¹¤ò»ý¤Á¡¢¥¤¥Ù¥ó¥È ¤¬ÁÄÀ褫¤½¤Î»Ò¹¤Î¤É¤ì¤«¤Î¾å¤Çµ¯¤³¤ë¡£
- W ¤Î¤¤¤º¤ì¤ÎÁÄÀè¤â¥¡¼¥Ü¡¼¥É¥Õ¥©¡¼¥«¥¹Æâ¤Ë¤¢¤ë»Ò¹¥¦¥£¥¸¥§¥Ã¥È¤ò»ý¤¿¤º¡¢ ¥Ý¥¤¥ó¥¿¤¬ W Æâ¤Ë¤¢¤ë¡£
¥â¡¼¥À¥ë¥«¥¹¥±¡¼¥É¤¬¤¢¤ë¾ì¹ç¤Ï¡¢¥¦¥£¥¸¥§¥Ã¥È W ¤ÎÁÄÀ襦¥£¥¸¥§¥Ã¥È¤¬¥¢ ¥¯¥Æ¥£¥Ö¤Ê¥â¡¼¥À¥ë¥«¥¹¥±¡¼¥É¤Î¥µ¥Ö¥»¥Ã¥È¤Ë´Þ¤Þ¤ì¡¢Á°¤Î¾ò·ï¤Î1¤Ä°Ê¾å¤¬ True ¤Ê¤é¤Ð¡¢W ¤Ï¥¡¼¥Ü¡¼¥É¥¤¥Ù¥ó¥È¤ò¼õ¤±¼è¤ë¡£
¥µ¥Ö¥Ä¥ê¡¼¤«»Ò¹¥¦¥£¥¸¥§¥Ã¥È¤Î 1 ¤Ä¤¬ X ¤ÎÆþÎÏ¥Õ¥©¡¼¥«¥¹¤ò³ÍÆÀ¤¹¤ë¤«¡¢ ¥¡¼¥Ü¡¼¥É¥¤¥Ù¥ó¥È¤¬ÅÁ¤¨¤é¤ì¤ë¤è¤¦¤Ê¥µ¥Ö¥Ä¥ê¡¼Æâ¤Ë¥Ý¥¤¥ó¥¿¤¬Æþ¤Ã¤¿¤È¤¡¢ ¤½¤Î»Ò¹¥¦¥£¥¸¥§¥Ã¥È¤¬ FocusNotify ¥¤¥Ù¥ó¥È¤òÁªÂò¤·¤Æ¤¤¤ë¤Ê¤é¤Ð¡¢¤³¤Î¥¦¥£¥¸¥§¥Ã¥È¤ËÂФ·¤Æ FocusIn ¥¤¥Ù¥ó¥È¤¬À¸À®¤µ¤ì¤ë¡£ ƱÍͤˡ¢W ¤¬ X ¤ÎÆþÎÏ¥Õ¥©¡¼¥«¥¹¤Þ¤¿¤ÏÁÄÀ襦¥£¥¸¥§¥Ã¥È¤Î 1 ¤Ä¤ËÂФ¹¤ë ¥¡¼¥Ü¡¼¥É¥Õ¥©¡¼¥«¥¹¤ò¼º¤Ã¤¿¤È¤¡¢¤³¤Î»Ò¹¥¦¥£¥¸¥§¥Ã¥È¤¬ FocusNotify ¥¤¥Ù¥ó¥È¤òÁªÂò¤·¤Æ¤¤¤ë¤Ê¤é¤Ð¡¢¤³¤Î¥¦¥£¥¸¥§¥Ã¥È¤ËÂФ·¤Æ FocusOut ¥¤¥Ù¥ó¥È¤¬À¸À®¤µ¤ì¤ë¡£
´ØÏ¢¹àÌܶ
XtCallAcceptFocus(3Xt)
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
Release 6.5 | X Version 11 |