Scroll to navigation

XtAppAddSignal(3Xt) XT FUNCTIONS XtAppAddSignal(3Xt)

̾Á°

XtAppAddSignal, XtRemoveSignal, XtNoticeSignal - ¥·¥°¥Ê¥ë¥½¡¼¥¹¤ÎÅÐÏ¿¤Èºï½ü¤ò¹Ô¤¦

½ñ¼°

XtSignalId XtAppAddSignal(app_context, proc, client_data)
XtAppContext app_context;
XtSignalCallbackProc proc;
XtPointer client_data;

void XtRemoveSignal(id)
XtSignalId id;

void XtNoticeSignal(id)
XtSignalId id)

°ú¤­¿ô

¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¥³¥ó¥Æ¥¯¥¹¥È¤ò»ØÄꤹ¤ë¡£
¥·¥°¥Ê¥ë¤¬µ¯¤­¤¿¤È¤­¡¢»ØÄꤵ¤ì¤¿¼ê³¤­¤ËÅϤµ¤ì¤ë°ú¤­¿ô¤ò»ØÄꤹ¤ë¡£
ÅÐÏ¿»þ¤Ë XtAppAddSignal ¤¬ÊÖ¤·¤¿ ID ¤ò»ØÄꤹ¤ë¡£
¥·¥°¥Ê¥ë¤¬µ¯¤­¤¿¤È¤­¤Ë¸Æ¤Ó½Ð¤µ¤ì¤ë¼ê³¤­¤ò»ØÄꤹ¤ë¡£

ÀâÌÀ

´Ø¿ô XtAppAddSignal ¤Ï¡¢¥¤¥ó¥È¥ê¥ó¥·¥¯¥¹¤Î¥³¥ó¥Æ¥¯¥¹¥ÈÆâ¤Ë¤ª¤±¤ë¥·¥°¥Ê¥ë½èÍý¤Îµ¡¹½¤òÆ°ºî¤µ ¤»¤ë¡£OS °Í¸¤Î¥·¥°¥Ê¥ë¥Ï¥ó¥É¥é¤òΩ¤Á¾å¤²¤ëÁ°¤Ë¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ï XtAppAddSignal ¤ò¸Æ¤Ó¡¢ÊÖ¤µ¤ì¤¿ id ¤ò¥·¥°¥Ê¥ë¥Ï¥ó¥É¥é¤«¤é¥¢¥¯¥»¥¹¤Ç¤­¤ë¾ì½ê¤Ë³Ê Ǽ¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£

OS ¤«¤é¤Î¥·¥°¥Ê¥ë¤ò¼õ¤±¼è¤Ã¤¿¤È¤­¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ï XtAppAddSignal ¤¬ÊÖ¤·¤¿ id ¤ò»È¤Ã¤Æ XtNoticeSignal ¤ò¸Æ¤Ö¤³¤È¤¬¤Ç¤­¤ë¡£

XtNoticeSignal ¤Ï¡¢¥·¥°¥Ê¥ë¥Ï¥ó¥É¥é¤«¤é°ÂÁ´¤Ë¸Æ¤Ó½Ð¤¹¤³¤È¤¬¤Ç¤­¤ë¡¢¥¤¥ó¥È¥ê¥ó¥·¥¯¥¹Ãæ Í£°ì¤Î´Ø¿ô¤Ç¤¢¤ë¡£ ¥¤¥ó¥È¥ê¥ó¥·¥¯¥¹¤¬ÅÐÏ¿¤µ¤ì¤¿¥³¡¼¥ë¥Ð¥Ã¥¯¤òµ¯Æ°¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¤è¤¦¤Ë¤Ê ¤ëÁ°¤Ë XtNoticeSignal ¤¬Ê£¿ô²ó¸Æ¤Ó½Ð¤µ¤ì¤¿¾ì¹ç¡¢¤½¤Î¥³¡¼¥ë¥Ð¥Ã¥¯¤Ï°ìÅÙ¤·¤«¸Æ¤Ð¤ì¤Ê¤¤¡£ÏÀÍýŪ ¤Ë¤Ï¡¢¥¤¥ó¥È¥ê¥ó¥·¥¯¥¹¤ÏÅÐÏ¿¤µ¤ì¤Æ¤¤¤ë¤½¤ì¤¾¤ì¤Î¥³¡¼¥ë¥Ð¥Ã¥¯¤Ë¤Ä¤¤¤Æ ¡Ö¥Ú¥ó¥Ç¥£¥ó¥°¡×¤ò´ÉÍý¤·¤Æ¤¤¤ë¡£ ¤³¤Î¥Õ¥é¥°¤Î½é´üÃÍ¤Ï False ¤Ç¤¢¤ê¡¢ XtNoticeSignal ¤Ë¤è¤Ã¤Æ True ¤ËÀßÄꤵ¤ì¤ë¡£ ¤³¤Î¥Õ¥é¥°¤¬ True ¤Ê¤é¤Ð¥¤¥ó¥È¥ê¥ó¥·¥¯¥¹¤Ïɬ¤º¥³¡¼¥ë¥Ð¥Ã¥¯¤ò¸Æ¤Ó¡¢¤½¤Î¸Æ¤Ó½Ð¤·¤ÎľÁ°¤Ë ¥Õ¥é¥°¤Ë False ¤òÀßÄꤹ¤ë¡£

´Ø¿ô XtRemoveSignal ¤ò¸Æ¤Ö¤³¤È¤Ë¤è¤ê¡¢»ØÄꤷ¤¿¥¤¥ó¥È¥ê¥ó¥·¥¯¥¹¤Î¥·¥°¥Ê¥ë¥Ï¥ó¥É¥é¤òºï½ü¤Ç¤­¤ë¡£ ¥¯¥é¥¤¥¢¥ó¥È¤Ï XtRemoveSignal ¤ò¸Æ¤Ó½Ð¤¹Á°¤Ë¥·¥°¥Ê¥ë¤Î¥½¡¼¥¹¤ò̵¸ú¤Ë¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£

´ØÏ¢¹àÌÜ

XtAppAddTimeOut(3Xt),XtAppAddInput(3Xt),XtAppAddWorkProc(3Xt)
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface

Release 6.5 X Version 11