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

📄 xcheckwindowevent.html

📁 linux图形界面x liberary手册
💻 HTML
字号:
<HTML><HEAD><TITLE>Xlib Programming Manual: XCheckWindowEvent</TITLE></HEAD><BODY><H1 ALIGN=center>XCheckWindowEvent</H1><H2>Syntax</H2><!.IN "XCheckWindowEvent">This function is similar to.PN XWindowEvent except that it never blocks and it returns a .PN Bool indicating if the event was returned.<!.IN "XCheckWindowEvent" "" "@DEF@"><CODE><PRE>Bool XCheckWindowEvent(<B>display</B>, <B>w</B>, <B>event_mask</B>, <B>event_return</B>)      <A HREF="../../display/opening.html#Display">Display</A> *<B>display</B>;      Window <B>w</B>;      long <B>event_mask</B>;      <A HREF="../../events/structures.html#XEvent">XEvent</A> *<B>event_return</B>;</PRE></CODE><H2>Arguments</H2><TABLE><TR><TD> <B>display</B><TD> Specifies the connection to the X server.<TR><TD> <B>w</B><TD> Specifies the window whose events you are interested in.<TR><TD> <B>event_mask</B><TD> Specifies the event mask.<TR><TD> <B>event_return</B><TD> Returns the matched event's associated structure.</TABLE><H2>Description</H2>The<B>XCheckWindowEvent()</B>function searches the event queue and then the events available on the server connection for the first event that matches the specified windowand event mask.If it finds a match,<B>XCheckWindowEvent()</B>removes that event, copies it into the specified<A HREF="../../events/structures.html#XEvent">XEvent</A>structure, and returns<B>True</B> .The other events stored in the queue are not discarded.If the event you requested is not available,<B>XCheckWindowEvent()</B>returns<B>False</B> ,and the output buffer will have been flushed.<H2>See also</H2><B><A HREF="XCheckMaskEvent.html">XCheckMaskEvent()</A></B>,<B><A HREF="XCheckTypedEvent.html">XCheckTypedEvent()</A></B>,<B><A HREF="XCheckTypedWindowEvent.html">XCheckTypedWindowEvent()</A></B>,<B><A HREF="XIfEvent.html">XIfEvent()</A></B>,<B><A HREF="XMaskEvent.html">XMaskEvent()</A></B>,<B><A HREF="../manipulating-event-queue/XNextEvent.html">XNextEvent()</A></B>,<B><A HREF="../manipulating-event-queue/XPeekEvent.html">XPeekEvent()</A></B>,<B><A HREF="XPutBackEvent.html">XPutBackEvent()</A></B>,<B><A HREF="XSendEvent.html">XSendEvent()</A></B>,<B><A HREF="XWindowEvent.html">XWindowEvent()</A></B>,"<A HREF="../manipulating-event-queue/selecting-using-window-or-event-mask.html">Selecting Events Using a Window or Event Mask</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 + -