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

📄 xmoveresizewindow.html

📁 linux图形界面x liberary手册
💻 HTML
字号:
<HTML><HEAD><TITLE>Xlib Programming Manual: XMoveResizeWindow</TITLE></HEAD><BODY><H1 ALIGN=center>XMoveResizeWindow</H1><!.IN "XMoveResizeWindow" "" "@DEF@"><H2>Syntax</H2><CODE><PRE>XMoveResizeWindow(<B>display</B>, <B>w</B>, <B>x</B>, <B>y</B>, <B>width</B>, <B>height</B>)      <A HREF="../display/opening.html#Display">Display</A> *<B>display</B>;      Window <B>w</B>;      int <B>x</B>, <B>y</B>;      unsigned int <B>width</B>, <B>height</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 to be reconfigured.<TR><TD> <B>x</B><BR><B>y</B><TD> Specify the x and y coordinates, which define the new position of the window relative to its parent.<TR><TD> <B>width</B><BR><B>height</B><TD> Specify the width and height, which define the interior size of the window.</TABLE><H2>Description</H2>The<B>XMoveResizeWindow()</B>function changes the size and location of the specified window without raising it.Moving and resizing a mapped window may generate an<B><A HREF="../events/exposure/expose.html">Expose</A></B> event on the window.Depending on the new size and location parameters,moving and resizing a window may generate <B><A HREF="../events/exposure/expose.html">Expose</A></B> events on windows that the window formerly obscured. <P>If the override-redirect flag of the 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 a<B><A HREF="../events/structure-control/configure.html">ConfigureRequest</A></B> event, and no further processing is performed.  Otherwise, the window size and location are changed.<P><B>XMoveResizeWindow()</B>can generate<B>BadValue</B>and<B>BadWindow</B>errors.<H2>Diagnostics</H2><TABLE><TR><TD><B>BadValue</B><TD>Some numeric value falls outside the range of values accepted by the request.Unless a specific range is specified for an argument, the full range definedby the argument's type is accepted.  Any argument defined as a set ofalternatives can generate this error.<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="XConfigureWindow.html">XConfigureWindow()</A></B>,<B><A HREF="XCreateWindow.html">XCreateWindow()</A></B>,<B><A HREF="XDestroyWindow.html">XDestroyWindow()</A></B>,<B><A HREF="XMapWindow.html">XMapWindow()</A></B>,<B><A HREF="XMoveWindow.html">XMoveWindow()</A></B>,<B><A HREF="XRaiseWindow.html">XRaiseWindow()</A></B>,<B><A HREF="XResizeWindow.html">XResizeWindow()</A></B>,<B><A HREF="XSetWindowBorderWidth.html">XSetWindowBorderWidth()</A></B>,<B><A HREF="XUnmapWindow.html">XUnmapWindow()</A></B>,"<A HREF="configure.html">Configuring Windows</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 + -