XtAddEventHandler(3Xt) | XT FUNCTIONS | XtAddEventHandler(3Xt) |
̾??¶
XtAddEventHandler, XtAddRawEventHandler, XtRemoveEventHandler, XtRemoveRawEventHandler, XtInsertEventHandler, XtInsertRawEventHandler - ???٥??ȥϥ??ɥ????ɲá?????
????¶
void XtAddEventHandler(w, event_mask,
nonmaskable, proc, client_data)
Widget w;
EventMask event_mask;
Boolean nonmaskable;
XtEventHandler proc;
XtPointer client_data;
void XtAddRawEventHandler(w, event_mask,
nonmaskable, proc, client_data)
Widget w;
EventMask event_mask;
Boolean nonmaskable;
XtEventHandler proc;
XtPointer client_data;
void XtRemoveEventHandler(w, event_mask,
nonmaskable, proc, client_data)
Widget w;
EventMask event_mask;
Boolean nonmaskable;
XtEventHandler proc;
XtPointer client_data;
void XtRemoveRawEventHandler(w, event_mask,
nonmaskable, proc, client_data)
Widget w;
EventMask event_mask;
Boolean nonmaskable;
XtEventHandler proc;
XtPointer client_data;
void XtInsertEventHandler(w, event_mask,
nonmaskable, proc, client_data, position)
Widget w;
EventMask event_mask;
Boolean nonmaskable;
XtEventHandler proc;
XtPointer client_data;
XtListPosition position;
void XtInsertRawEventHandler(w, event_mask,
nonmaskable, proc, client_data, position)
Widget w;
EventMask event_mask;
Boolean nonmaskable;
XtEventHandler proc;
XtPointer client_data;
XtListPosition position;
typedef enum { XtListHead, XtListTail } XtListPosition;
??????¶
- client_data
- ???饤?????ȤΥ??٥??ȥϥ??ɥ????Ϥ??ɲ?Ū?ʥǡ????????ꤹ?롣
- event_mask
- ???μ?³???θƤӽФ?????Ͽ???ä??Ф??륤?٥??ȥޥ????????ꤹ?롣
- nonmaskable
- ?ޥ????Ǥ??ʤ????٥??? (GraphicsExpose, NoExpose, SelectionClear, SelectionRequest, SelectionNotify, ClientMessage, MappingNotify )???Ф??????μ?³?????ƤӽФ??????????뤫?????????ͤ????ꤹ?롣
- proc
- ?ɲäޤ??Ϻ?????????³???????ꤹ?롣
- w
- ???Υ??٥??ȥϥ??ɥ餬??Ͽ?????륦???????åȤ????ꤹ?롣
- position
- ???٥??ȥϥ??ɥ餬????????Ͽ???줿¾?Υϥ??ɥ????Ф??Ƥ??ĸƤФ??뤫?? ???ꤹ?롣
????¶
?ؿ? XtAddEventHandler ?ϡ????ꤷ???????????åȾ??ǥޥ????˥ޥå????륤?٥??Ȥ?ȯ???????Ȥ??? ?ƤӽФ???????³??????????????????Ͽ???롣 ???μ?³????????Ʊ?? client_data ????Ͽ?????Ƥ??????硢???ߤ????ޥ??? ?ϻ??ꤵ?줿?ޥ????Ȥ??????¤ˤʤ롣 ?????????åȤ??ꥢ?饤???????Ƥ????С? XtAddEventHandler ??ɬ?פ˱????? XSelectInput ???Ƥ֡?
?ؿ? XtAddRawEventHandler ?ϡ? XtAddEventHandler ?Ȥۤ?Ʊ???Ǥ??롣?????????????????åȤΥޥ??????Ѳ????????????٥??Ȥ? ?Ф??? XSelectInput ?????ʤ??????ۤʤ롣 ¾?? raw ?Ǥʤ????٥??ȥϥ??ɥ餬???Υ????????åȤ???Ͽ?????Ƥ??뤿?? ?ˡ??????????åȤˤϴ??˥ޥ????ӥåȤ????åȤ????Ƥ??뤫???Τ??ʤ????? ???դ??뤳?ȡ?
?ؿ? XtRemoveRawEventHandler ?ϡ????ꤷ????³???????ꤷ?????٥??Ȥ??????????Τ????ߤ????롣 ???μ?³???? raw ?ʥ??٥??ȥϥ??ɥ??ʤΤǡ??????????åȤΥޥ??????Ѳ? ???????? XSelectInput ?θƤӽФ????????Ȥ??ʤ???
XtInsertEventHandler ?ϡ??ɲäΰ????? position ?????ꤷ?? XtAddEventHandler ??Ʊ???Ǥ??롣 position ?? XtListHead ?ʤ??С????٥??ȥϥ??ɥ??ϡ???????Ʊ???????????åȤ??Ф?????Ͽ???줿?? ?Υ??٥??ȥϥ??ɥ??????????˸ƤФ??????֤???Ͽ?????롣 position ?? XtListTail ?ʤ??С????٥??ȥϥ??ɥ??ϡ?????????Ͽ???줿?ɤΥ??٥??ȥϥ??ɥ??????? ???˸ƤӽФ????????֤???Ͽ?????롣???μ?³????????Ʊ?? client_data ?ͤ???Ͽ?????Ƥ??????硢???ꤷ???ޥ????ϸ??ߤΥޥ??? ?˲ä????졢???μ?³???ϥꥹ?????Ǻ????֤????롣
XtInsertRawEventHandler ?? XtInsertEventHandler ?Ȥۤ?Ʊ???Ǥ??롣?????????????????åȤΥ??٥??ȥޥ??????ѹ??????????? ???????٥??Ȥ??Ф??? XSelectInput ?????ʤ??????ۤʤ롣???μ?³????Ʊ?? client_data ????Ͽ???? ?Ƥ??????硢???ꤷ???ޥ????ϸ??ߤΥޥ????˲ä????졢???μ?³???ϥꥹ?? ???Ǻ????֤????롣
??Ϣ????¶
XtAppNextEvent(3Xt), XtBuildEventMask(3Xt)
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
Release 6.5 | X Version 11 |