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

📄 xresizewindow.html

📁 linux图形界面x liberary手册
💻 HTML
字号:
<HTML><HEAD><TITLE>Xlib Programming Manual: XResizeWindow</TITLE></HEAD><BODY><H1 ALIGN=center>XResizeWindow</H1><!.IN "XResizeWindow" "" "@DEF@"><H2>Syntax</H2><CODE><PRE>XResizeWindow(<B>display</B>, <B>w</B>, <B>width</B>, <B>height</B>)      <A HREF="../display/opening.html#Display">Display</A> *<B>display</B>;      Window <B>w</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.<TR><TD> <B>width</B><BR><B>height</B><TD> Specify the width and height, which are the interior dimensions of the window after the call completes.</TABLE><H2>Description</H2>The<B><A HREF="XResizeWindow.html">XResizeWindow()</A></B>function changes the inside dimensions of the specified window, not includingits borders.This function does not change the window's upper-left coordinate orthe origin and does not restack the window.Changing the size of a mapped window may lose its contents and generate<B><A HREF="../events/exposure/expose.html">Expose</A></B> events.If a mapped window is made smaller, changing its size generates<B><A HREF="../events/exposure/expose.html">Expose</A></B> events on windows that the mapped 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.  If either width or height is zero,a<B>BadValue</B>error results.<P><B>XResizeWindow()</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="XMoveResizeWindow.html">XMoveResizeWindow()</A></B>,<B><A HREF="XMoveWindow.html">XMoveWindow()</A></B>,<B><A HREF="XRaiseWindow.html">XRaiseWindow()</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 + -