Scroll to navigation

XtAddGrab(3Xt) XT FUNCTIONS XtAddGrab(3Xt)

̾Á°

XtAddGrab, XtRemoveGrab - ¥æ¡¼¥¶ÆþÎϤò¥â¡¼¥À¥ë¥¦¥£¥¸¥§¥Ã¥È¤Ë¥ê¥À¥¤¥ì¥¯¥È¤¹¤ë

½ñ¼°

void XtAddGrab(w, exclusive, spring_loaded)
Widget w;
Boolean exclusive;
Boolean spring_loaded;

void XtRemoveGrab(w)
Widget w;

°ú¤­¿ô

¥æ¡¼¥¶¥¤¥Ù¥ó¥È¤ò¤³¤Î¥¦¥£¥¸¥§¥Ã¥È¤ËÇÓ¾Ū¤ËÇÛÁ÷¤¹¤ë¤«¡¢¥«¥¹¥±¡¼¥ÉÆâ¤Î Á°¤Î¥¦¥£¥¸¥§¥Ã¥È¤Ë¤âÁ÷¤ë¤«¤É¤¦¤«¤ò»ØÄꤹ¤ë¡£
¥æ¡¼¥¶¤¬¥Ý¥¤¥ó¥¿¤Î¥Ü¥¿¥ó¤ò²¡¤·¤¿¤È¤­¡¢¤³¤Î¥¦¥£¥¸¥§¥Ã¥È¤ò¥Ý¥Ã¥×¥¢¥Ã¥×¤µ ¤»¤ë¤«¤É¤¦¤«¤ò»ØÄꤹ¤ë¡£
¥â¡¼¥À¥ë¥«¥¹¥±¡¼¥É¤ËÄɲᦺï½ü¤¹¤ë¥¦¥£¥¸¥§¥Ã¥È¤ò»ØÄꤹ¤ë¡£

ÀâÌÀ

´Ø¿ô XtAddGrab ¤È¥¦¥£¥¸¥§¥Ã¥È(¤È´ØÏ¢¤¹¤ë¥Ñ¥é¥á¡¼¥¿)¤ò¥â¡¼¥À¥ë¥«¥¹¥±¡¼¥É¤ËÄɲä·¡¢°ú¤­¿ô spring_loaded ¤¬ True ¤Ê¤é¤Ð°ú¤­¿ô exclusive ¤¬ True ¤«¤É¤¦¤«¤ò¥Á¥§¥Ã¥¯¤¹¤ë¡£ ¤³¤ì¤é¤¬ True ¤Ç¤Ê¤¤¾ì¹ç¡¢ XtAddGrab ¤Ï¥¨¥é¡¼¤òµ¯¤³¤¹¡£

XtDispatchEvent ¤¬¥æ¡¼¥¶¥¤¥Ù¥ó¥È¤òÇÛÁ÷¤·¤è¤¦¤È¤¹¤ë¤È¤­¡¢¤³¤Î ´Ø¿ô¤Ï¥â¡¼¥À¥ë¥«¥¹¥±¡¼¥É¤ò»ÈÍѤ¹¤ë¡£ ¾¯¤Ê¤¯¤È¤â1¤Ä¤Î¥â¡¼¥À¥ë¥¦¥£¥¸¥§¥Ã¥È¤¬¥¦¥£¥¸¥§¥Ã¥È¥«¥¹¥±¡¼¥É¤Ë´Þ¤Þ¤ì¤ë ¤È¤­¡¢ XtDispatchEvent ¤Ï¥¤¥Ù¥ó¥È¤òÁ÷¤ë¤«¤É¤¦¤«¤òºÇ½é¤Ë·è¤á¤ë¡£ ¤³¤Î½èÍý¤Ï¡¢ºÇ¤â¿·¤·¤¤¥«¥¹¥±¡¼¥É¤Î¥¨¥ó¥È¥ê¡¼¤«¤é»Ï¤Þ¤ê¡¢exclusive ¥Ñ¥é ¥á¡¼¥¿¤Ë True ¤ò»ØÄꤷ¤ÆÄɲ䵤줿ºÇ¿·¤Î¥«¥¹¥±¡¼¥É¤Î¥¨¥ó¥È¥ê¡¼¤Þ¤Ç(¤½¤ì¼«¿È¤â´Þ¤à)¹Ô ¤ï¤ì¤ë¡£

¤³¤ì¤é¤Î¥¦¥£¥¸¥§¥Ã¥È¤ÎÁ´¤Æ¤Î»Ò¹¤ò»ý¤Ä¥â¡¼¥À¥ë¥«¥¹¥±¡¼¥É¤Î¥µ¥Ö¥»¥Ã¥È¤Ï¡¢ ¥¢¥¯¥Æ¥£¥Ö¤Ê¥µ¥Ö¥»¥Ã¥È¤ò¹½À®¤¹¤ë¡£ ¤³¤Î¥µ¥Ö¥»¥Ã¥È¤¬´Þ¤à¥¦¥£¥¸¥§¥Ã¥È¤Î³°¤Çµ¯¤³¤Ã¤¿¥æ¡¼¥¶¥¤¥Ù¥ó¥È¤Ï¡¢Ìµ»ë¤µ ¤ì¤ë¤«ºÆ¥Þ¥Ã¥×¤µ¤ì¤ë¡£ ¥µ¥Ö¥á¥Ë¥å¡¼¤ò»ý¤Ä¥â¡¼¥À¥ë¥á¥Ë¥å¡¼¤Ï°ìÈÌŪ¤Ë¡¢ ¥µ¥Ö¥á¥Ë¥å¡¼¥¦¥£¥¸¥§¥Ã¥È¤Î exclusive ¤Ë False ¤ò¥»¥Ã¥È¤·¤Æ¥«¥¹¥±¡¼¥É¤ËÄɲ乤롣 ¥æ¡¼¥¶ÆþÎϤòºÇ¤â¿¼¤¯¥Í¥¹¥È¤µ¤ì¤¿¥À¥¤¥¢¥í¥°¥Ü¥Ã¥¯¥¹¤ËÀ©¸Â¤¹¤ëɬÍפ¬¤¢¤ë ¥â¡¼¥À¥ë¥À¥¤¥¢¥í¥°¥Ü¥Ã¥¯¥¹¤Ï¡¢exclusive ¤Ë True ¤ò¥»¥Ã¥È¤·¤¿¥µ¥Ö¥À¥¤¥¢¥í¥°¥¦¥£¥¸¥§¥Ã¥È¤ò¥«¥¹¥±¡¼¥É¤ËÄɲ乤롣 ¥¢¥¯¥Æ¥£¥Ö¤Ê¥µ¥Ö¥»¥Ã¥ÈÆâ¤Çµ¯¤³¤Ã¤¿¥»¥Ã¥È¥æ¡¼¥¶¥¤¥Ù¥ó¥È¤Ï¡¢¥¢¥×¥ê¥±¡¼¥·¥ç ¥ó¥¦¥£¥¸¥§¥Ã¥È¤ËÅÁ¤¨¤é¤ì¤ë¡£Ä̾盧¤ì¤Ï¥â¡¼¥À¥ë¥¦¥£¥¸¥§¥Ã¥È¤Î»Ò¤«»Ò¹¤Ç ¤¢¤ë¡£

spring_loaded ¤¬ True ¤Ç¤¢¤ë¥«¥¹¥±¡¼¥É¤Î¥¢¥¯¥Æ¥£¥Ö¤Ê¥µ¥Ö¥»¥Ã¥È¤Î¡¢ºÇ¤â¿·¤·¤¤¥¦¥£¥¸¥§¥Ã¥È¤¬¤¢ ¤ë¾ì¹ç¡¢¤³¤Î¥¤¥Ù¥ó¥È¤¬¥¹¥¯¥ê¡¼¥ó¾å¤Îµ¯¤³¤Ã¤¿¾ì½ê¤Ë´Ø·¸¤Ê¤¯¡¢ºÆ¥Þ¥Ã¥×¥¤ ¥Ù¥È¤Ïɬ¤º¤³¤Î¥¦¥£¥¸¥§¥Ã¥È¤ËÅÁ¤¨¤é¤ì¤ë¡£

´Ø¿ô XtRemoveGrab ¤Ï¡¢¥â¡¼¥À¥ë¥«¥¹¥±¡¼¥É¤«¤é¥¦¥£¥¸¥§¥Ã¥È¤ò¼è¤ê½ü¤¯¡£¤³¤ì¤ÏºÇ¿·¤Î¥¦¥£¥¸¥§¥Ã ¥È¤«¤é»Ï¤á¤é¤ì¡¢»ØÄꤷ¤¿¥¦¥£¥¸¥§¥Ã¥È(¤½¤ì¼«¿È¤â´Þ¤à)¤Þ¤Ç¹Ô¤ï¤ì¤ë¡£ »ØÄꤷ¤¿¥¦¥£¥¸¥§¥Ã¥È¤¬¥â¡¼¥À¥ë¥«¥¹¥±¡¼¥É¾å¤Ë¤Ê¤¤¾ì¹ç¤Ï¥¨¥é¡¼¤È¤Ê¤ë¡£

´ØÏ¢¹àÌÜ

X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface

Release 6.5 X Version 11