📄 xsetclosedownmode.html
字号:
<HTML><HEAD><TITLE>Xlib Programming Manual: XSetCloseDownMode</TITLE></HEAD><BODY><H1 ALIGN=center>XSetCloseDownMode</H1><H2>Syntax</H2><CODE><PRE>XSetCloseDownMode(<B>display</B>, <B>close_mode</B>) <A HREF="opening.html#Display">Display</A> *<B>display</B>; int <B>close_mode</B>; </PRE></CODE><H2>Arguments</H2><TABLE><TR><TD> <B>display</B><TD> Specifies the connection to the X server.<TR><TD> <B>close_mode</B><TD> Specifies the client close-down mode.You can pass <B>DestroyAll</B>, <B>RetainPermanent</B>, or<B>RetainTemporary</B>. </TABLE><H2>Description</H2>The<B>XSetCloseDownMode()</B>defines what will happen to the client's resources at connection close.A connection starts in<B>DestroyAll</B>mode.For information on what happens to the client's resources when theclose_mode argument is<B>RetainPermanent</B>or<B>RetainTemporary</B>,see "<A HREF="close-operation.html">X Server Connection Close Operations</A>".<H2>Diagnostics</H2><B>XSetCloseDownMode()</B>can generate a<B>BadValue</B>error.<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.</TABLE><H2>See also</H2>The Xlib Programming Manual: "<A HREF="closing.html">Closing the Display</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 + -