📄 xrestackwindows.html
字号:
<HTML><HEAD><TITLE>Xlib Programming Manual: XRestackWindows</TITLE></HEAD><BODY><H1 ALIGN=center>XRestackWindows</H1><H2>Syntax</H2><!.IN "XRestackWindows" "" "@DEF@"><CODE><PRE>XRestackWindows(<B>display</B>, <B>windows</B>, <B>nwindows</B>); <A HREF="../display/opening.html#Display">Display</A> *<B>display</B>; Window <B>windows</B>[]; int <B>nwindows</B>;</PRE></CODE><H2>Arguments</H2><TABLE><TR><TD> <B>display</B><TD> Specifies the connection to the X server.<TR><TD> <B>windows</B><TD> Specifies an array containing the windows to be restacked.<TR><TD> <B>nwindows</B><TD> Specifies the number of windows to be restacked.</TABLE><H2>Description</H2>The<B>XRestackWindows()</B>function restacks the windows in the order specified,from top to bottom.The stacking order of the first window in the windows array is unaffected,but the other windows in the array are stacked underneath the first window,in the order of the array.The stacking order of the other windows is not affected.For each window in the window array that is not a child of the specified window,a<B>BadMatch</B>error results.<P>If the <A HREF="attributes/override-redirect.html">override-redirect</A> attribute of a window is <B>False</B>and someother client has selected <B><A HREF="../events/processing-overview.html#SubstructureRedirectMask">SubstructureRedirectMask</A></B> on the parent, the X server generates <B><A HREF="../events/ConfigureRequest.html">ConfigureRequest</A></B> events for each window whose override-redirect flag is not set, and no further processing is performed.Otherwise, the windows will be restacked in top to bottom order.<P><B>XRestackWindows()</B>can generate a<B>BadWindow</B>error.<H2>Diagnostics</H2><TABLE><TR><TD><B>BadWindow</B><TD>A value for a Window argument does not name a defined Window.</TABLE><H2>See also</H2><B><A HREF="XChangeWindowAttributes.html">XChangeWindowAttributes()</A></B>,<B><A HREF="XCirculateSubwindows.html">XCirculateSubwindows()</A></B>,<B><A HREF="XCirculateSubwindowsDown.html">XCirculateSubwindowsDown()</A></B>,<B><A HREF="XCirculateSubwindowsUp.html">XCirculateSubwindowsUp()</A></B>,<B><A HREF="XConfigureWindow.html">XConfigureWindow()</A></B>,<B><A HREF="XCreateWindow.html">XCreateWindow()</A></B>,<B><A HREF="XDestroyWindow.html">XDestroyWindow()</A></B>,<B><A HREF="XLowerWindow.html">XLowerWindow()</A></B>,<B><A HREF="XMapWindow.html">XMapWindow()</A></B>,<B><A HREF="XRaiseWindow.html">XRaiseWindow()</A></B>,"<A HREF="stacking-order.html">Changing Window Stacking Order</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 + -