Scroll to navigation

XtCallCallbacks(3Xt) XT FUNCTIONS XtCallCallbacks(3Xt)

̾Á°

XtCallCallbacks, XtCallCallbackList, XtHasCallbacks - ¥³¡¼¥ë¥Ð¥Ã¥¯¤ò½èÍý¤¹¤ë

½ñ¼°

void XtCallCallbacks(w, callback_name, call_data)
Widget w;
String callback_name;
XtPointer call_data;

void XtCallCallbackList(w, callbacks, call_data)
Widget w;
XtCallbackList callbacks;
XtPointer call_data;

typedef enum {XtCallbackNoList, XtCallbackHasNone, XtCallbackHasSome} XtCallbackStatus;

XtCallbackStatus XtHasCallbacks(w, callback_name)
Widget w;
String callback_name;

°ú¤­¿ô

¼Â¹Ô¤Þ¤¿¤Ï¥Á¥§¥Ã¥¯¤¹¤ë¥³¡¼¥ë¥Ð¥Ã¥¯¥ê¥¹¥È¤ò»ØÄꤹ¤ë¡£
¤½¤ì¤¾¤ì¤Î¥³¡¼¥ë¥Ð¥Ã¥¯¤ËÅϤ¹¥³¡¼¥ë¥Ð¥Ã¥¯¥ê¥¹¥È¸ÇÍ­¤Î¥Ç¡¼¥¿Ãͤò»ØÄꤹ¤ë¡£
¼Â¹Ô¤¹¤ë¥³¡¼¥ë¥Ð¥Ã¥¯¥ê¥¹¥È¤ò»ØÄꤹ¤ë¡£
¥¦¥£¥¸¥§¥Ã¥È¤ò»ØÄꤹ¤ë¡£

ÀâÌÀ

´Ø¿ô XtCallCallbacks ¤Ï¡¢»ØÄꤷ¤¿¥¦¥£¥¸¥§¥Ã¥È¤Î¥³¡¼¥ë¥Ð¥Ã¥¯¥ê¥¹¥È¤ËÅÐÏ¿¤µ¤ì¤Æ¤¤¤ë¤½¤ì¤¾¤ì¤Î ¼ê³¤­¤ò¸Æ¤Ó½Ð¤¹¡£

callbacks ¤¬ NULL ¤Ç¤Ê¤¤¾ì¹ç¡¢ XtCallCallbackList ¤Ï¥ê¥¹¥ÈÃæ¤Î¤½¤ì¤¾¤ì¤Î¥³¡¼¥ë¥Ð¥Ã¥¯¼ê³¤­¤ò¸Æ¤Ó¡¢¤³¤ì¤Ë¥¯¥é¥¤¥¢¥ó¥È¥Ç¡¼ ¥¿¤È call_data ¤òÅϤ¹¡£callbacks ¥Ñ¥é¥á¡¼¥¿¤Ë¤Ï¡¢É½¸½·¿ XtRCallback ¤ÇÀë¸À¤µ¤ì¤Æ¤¤¤ë¥¦¥£¥¸¥§¥Ã¥È¤Î¥ê¥½¡¼¥¹¤«¥ª¥Ö¥¸¥§¥¯¥È¤Î¥ê¥½¡¼¥¹¤ÎÆâÍƤò »ØÄꤷ¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£

´Ø¿ô XtHasCallbacks ¤Ï¡¢¥¦¥£¥¸¥§¥Ã¥È¤¬ callback_name ¤Ç¼±Ê̤µ¤ì¤ë¥³¡¼¥ë¥Ð¥Ã¥¯¥ê¥¹¥È¤ò»ý¤Ä ¤«¤É¤¦¤«¤òºÇ½é¤Ë¥Á¥§¥Ã¥¯¤¹¤ë¡£ ¥³¡¼¥ë¥Ð¥Ã¥¯¥ê¥¹¥È¤¬Â¸ºß¤·¤Ê¤¤¾ì¹ç¡¢ XtHasCallbacks ¤Ï XtCallbackNoList ¤òÊÖ¤¹¡£ ¥³¡¼¥ë¥Ð¥Ã¥¯¥ê¥¹¥È¤Ï¸ºß¤¹¤ë¤¬¶õ¤Ç¤¢¤ë¾ì¹ç¤Ë¤Ï¡¢¤³¤Î´Ø¿ô¤Ï XtCallbackHasNone ¤òÊÖ¤¹¡£ ¥³¡¼¥ë¥Ð¥Ã¥¯¥ê¥¹¥È¤¬Â¸ºß¤·¡¢¾¯¤Ê¤¯¤È¤â1¤Ä¤Î¥³¡¼¥ë¥Ð¥Ã¥¯¤¬ÅÐÏ¿¤µ¤ì¤Æ¤¤ ¤ë¾ì¹ç¤Ë¤Ï¡¢¤³¤Î´Ø¿ô¤Ï XtCallbackHasSome ¤òÊÖ¤¹¡£

´ØÏ¢¹àÌÜ

XtAddCallback(3Xt)
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface

Release 6.5 X Version 11