⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xifevent.html

📁 linux图形界面x liberary手册
💻 HTML
字号:
<HTML><HEAD><TITLE>Xlib Programming Manual: XIfEvent</TITLE></HEAD><BODY><H1 ALIGN=center>XIfEvent</H1><H2>Syntax</H2><!.IN "XIfEvent" "" "@DEF@"><CODE><PRE>XIfEvent(<B>display</B>, <B>event_return</B>, <B>predicate</B>, <B>arg</B>)      <A HREF="../../display/opening.html#Display">Display</A> *<B>display</B>;      <A HREF="../../events/structures.html#XEvent">XEvent</A> *<B>event_return</B>;      Bool (*<B><A HREF="selecting-using-predicate.html#predicate">predicate</A></B>)();      XPointer <B>arg</B>;</PRE></CODE><H2>Arguments</H2><TABLE><TR><TD> <B>display</B><TD> Specifies the connection to the X server.<TR><TD> <B>event_return</B><TD> Returns the matched event's associated structure.<TR><TD> <B>predicate</B><TD> Specifies the procedure that is to be called to determineif the next event in the queue matches what you want.<TR><TD> <B>arg</B><TD> Specifies the user-supplied argument that will be passed to the predicate procedure.</TABLE><H2>Description</H2>The<B>XIfEvent()</B>function completes only when the specified predicateprocedure returns <B>True</B> for an event, which indicates an event in the queue matches.<B>XIfEvent()</B>flushes the output buffer if it blocks waiting for additional events.<B>XIfEvent()</B>removes the matching event from the queue and copies the structure into the client-supplied<A HREF="../../events/structures.html#XEvent">XEvent</A>structure.<H2>See also</H2><B><A HREF="XCheckIfEvent.html">XCheckIfEvent()</A></B>,<B><A HREF="XNextEvent.html">XNextEvent()</A></B>,<B><A HREF="XPeekIfEvent.html">XPeekIfEvent()</A></B>,<B><A HREF="../XPutBackEvent.html">XPutBackEvent()</A></B>,<B><A HREF="../XSendEvent.html">XSendEvent()</A></B>,"<A HREF="selecting-using-predicate.html">Selecting Events Using a Predicate Procedure</A>".<HR><ADDRESS><A HREF="http://tronche.com/">Christophe Tronche</A>, <A HREF="mailto:ch.tronche@computer.org">ch.tronche@computer.org</A></ADDRESS></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -