Scroll to navigation

XIfEvent(3X11) XLIB FUNCTIONS XIfEvent(3X11)

̾??

XIfEvent, XCheckIfEvent, XPeekIfEvent - ?Ҹ???³?????Ȥäƥ??٥??ȥ??塼????ǧ????

????

XIfEvent(display, event_return, predicate, arg)
Display *display;
XEvent *event_return;
Bool (*predicate)();
XPointer arg;

Bool XCheckIfEvent(display, event_return, predicate, arg)
Display *display;
XEvent *event_return;
Bool (*predicate)();
XPointer arg;

XPeekIfEvent(display, event_return, predicate, arg)
Display *display;
XEvent *event_return;
Bool (*predicate)();
XPointer arg;

??????

?Ҹ???³?????Ϥ??桼???????ΰ??????????ꤹ?롣
X ?????Фؤ???³?????ꤹ?롣
?ޥå????????٥??ȴ?Ϣ??¤?Τ????Υ??ԡ????֤????롣
???塼?????μ??Υ??٥??Ȥ?ɬ?פʤ??Τ????ꤹ?뤿???˸ƤФ?????³???? ???ꤹ?롣

????

?ؿ? XIfEvent ?ϡ????ꤷ???Ҹ???³???????٥??Ȥ??Ф??? True ???֤????Ȥ??˸¤괰λ???롣 ?????ϥ??塼?????äƤ??륤?٥??Ȥ˥ޥå????????Ȥ򼨤??? XIfEvent ?ϡ??ɲäΥ??٥??Ȥ??Ԥäƥ֥??å????Ƥ??????硢???ϥХåե????ե??å??? ???롣 XIfEvent ?ϥޥå????륤?٥??Ȥ򥤥٥??ȥ??塼?????????????????򥯥饤?????Ȥ?Ϳ ???? XEvent ??¤?Τ˥??ԡ????롣

?Ҹ???³?????ޥå????????硢 XCheckIfEvent ?ϥޥå????????٥??Ȥ򥯥饤?????Ȥ?Ϳ???? XEvent ?˥??ԡ????? True ???֤??? (???Υ??٥??Ȥϥ??塼?????????????롣) ?Ҹ???³?????ޥå????ʤ??ä??????ϡ? XCheckIfEvent ?? False ???֤??? ???塼?????äƤ??뤳???????Υ??٥??Ȥ??????˴??????ʤ???

?ؿ? XPeekIfEvent ?ϡ????ꤷ???Ҹ???³???????٥??Ȥ??Ф??? True ???֤????Ȥ??˸¤ꡢ True ???֤??? ?Ҹ???³?????ޥå????????ǡ? XPeekIfEvent ?ϥޥå????????٥??Ȥ򥯥饤?????Ȥ?Ϳ???? XEvent ?˥??ԡ????뤬?????Υ??٥??Ȥ򥭥塼?????Ϻ??????ʤ??? XPeekIfEvent ???ɲäΥ??٥??Ȥ??Ԥäƥ֥??å????Ƥ????????ˤϡ????ϥХåե??????Ƥ? ???ƽ??Ϥ??롣

??Ϣ????

XAnyEvent(3X11), XNextEvent(3X11), XPutBackEvent(3X11) XSendEvent(3X11)
Xlib - C Language X Interface

Release 6.5 X Version 11