Scroll to navigation

XtAddCallback(3Xt) XT FUNCTIONS XtAddCallback(3Xt)

̾Á°

XtAddCallback, XtAddCallbacks, XtRemoveCallback, XtRemoveCallbacks, XtRemoveAllCallbacks - ¥³¡¼¥ë¥Ð¥Ã¥¯¼ê³¤­¤ÎÄɲᦺï½ü¤ò¹Ô¤Ê¤¦

½ñ¼°

void XtAddCallback(w, callback_name, callback, client_data)
Widget w;
String callback_name;
XtCallbackProc callback;
XtPointer client_data;

void XtAddCallbacks(w, callback_name, callbacks)
Widget w;
String callback_name;
XtCallbackList callbacks;

void XtRemoveCallback(w, callback_name, callback, client_data)
Widget w;
String callback_name;
XtCallbackProc callback;
XtPointer client_data;

void XtRemoveCallbacks(w, callback_name, callbacks)
Widget w;
String callback_name;
XtCallbackList callbacks;

void XtRemoveAllCallbacks(w, callback_name)
Widget w;
String callback_name;

°ú¤­¿ô

¥³¡¼¥ë¥Ð¥Ã¥¯¼ê³¤­¤ò»ØÄꤹ¤ë¡£
¥³¡¼¥ë¥Ð¥Ã¥¯¼ê³¤­¤È¡¢¤½¤ì¤ËÂбþ¤·¤¿¥¯¥é¥¤¥¢¥ó¥È¥Ç¡¼¥¿¤¬ÂФˤʤäƤ¤¤ë ¥ê¥¹¥È(½ªÃ¼¤¬ NULL)¤ò»ØÄꤹ¤ë¡£
Äɲäޤ¿¤Ïºï½ü¤¹¤ë¥³¡¼¥ë¥Ð¥Ã¥¯¼ê³¤­¤Î¥³¡¼¥ë¥Ð¥Ã¥¯¥ê¥¹¥È¤ò»ØÄꤹ¤ë¡£
XtAddCallback ¤Î¾ì¹ç¤Ï¡¢NULL¡¢¤Þ¤¿¤Ï XtCallbacks ¤Ë¤è¤Ã¤Æ¸Æ¤Ó½Ð¤µ¤ì¤¿»þ¤Ë»ØÄꤷ¤¿¼ê ³¤­¤ËÅϤµ¤ì¤ë°ú¤­¿ô¤ò»ØÄꤹ¤ë¡£ XtRemoveCallback ¤Î¾ì¹ç¤Ï¡¢ÅÐÏ¿ºÑ¤ß¤Î¥³¡¼¥ë¥Ð¥Ã¥¯¼ê³¤­¤È°ìÃפ·¤¿¥¯¥é¥¤¥¢¥ó¥È¥Ç¡¼¥¿¤ò»ØÄê ¤¹¤ë¡£
¥¦¥£¥¸¥§¥Ã¥È¤ò»ØÄꤹ¤ë¡£

ÀâÌÀ

XtAddCallback ´Ø¿ô¤Ï»ØÄꤵ¤ì¤¿¥¦¥£¥¸¥§¥Ã¥È¤Î¥³¡¼¥ë¥Ð¥Ã¥¯¥ê¥¹¥È¤Ë¡¢»ØÄꤷ¤¿¥³¡¼¥ë¥Ð¥Ã ¥¯¼ê³¤­¤ò²Ã¤¨¤ë¡£

XtAddCallbacks ¤Ï»ØÄꤵ¤ì¤¿¥¦¥£¥¸¥§¥Ã¥È¤Î¥³¡¼¥ë¥Ð¥Ã¥¯¥ê¥¹¥È¤Ë¡¢»ØÄꤷ¤¿¥³¡¼¥ë¥Ð¥Ã¥¯¥ê ¥¹¥È¤ò²Ã¤¨¤ë¡£

XtRemoveCallback ´Ø¿ô¤Ï¥³¡¼¥ë¥Ð¥Ã¥¯¼ê³¤­¤È¥¯¥é¥¤¥¢¥ó¥È¥Ç¡¼¥¿¤¬°ìÃפ·¤Æ¤¤¤ì¤Ð¡¢¤½¤Î¥³¡¼ ¥ë¥Ð¥Ã¥¯¤òºï½ü¤¹¤ë¡£

XtRemoveCallbacks ´Ø¿ô¤Ï»ØÄꤵ¤ì¤¿¥¦¥£¥¸¥§¥Ã¥È¤Î¥³¡¼¥ë¥Ð¥Ã¥¯¥ê¥¹¥È¤«¤é¡¢»ØÄꤷ¤¿¥³¡¼¥ë¥Ð ¥Ã¥¯¼ê³¤­¤òºï½ü¤¹¤ë¡£

XtRemoveAllCallbacks ´Ø¿ô¤Ï»ØÄꤵ¤ì¤¿¥¦¥£¥¸¥§¥Ã¥È¤Î¥³¡¼¥ë¥Ð¥Ã¥¯¥ê¥¹¥È¤«¤é¡¢Á´¤Æ¤Î¥³¡¼¥ë¥Ð¥Ã ¥¯¼ê³¤­¤òºï½ü¤¹¤ë¡£

´ØÏ¢¹àÌÜ

XtCallCallbacks(3Xt)
X ¥Ä¡¼¥ë¥­¥Ã¥È ¥¤¥ó¥È¥ê¥ó¥·¥¯¥¹ - C ¸À¸ì¥¤¥ó¥¿¡¼¥Õ¥§¥¤¥¹
Xlib - C ¸À¸ì X ¥¤¥ó¥¿¡¼¥Õ¥§¥¤¥¹

Release 6.5 X Version 11