📄 xsavecontext.html
字号:
<HTML><HEAD><TITLE>Xlib Programming Manual: XSaveContext</TITLE></HEAD><BODY><H1 ALIGN=center>XSaveContext</H1><H2>Syntax</H2><!.IN "XSaveContext" "" "@DEF@"><CODE><PRE>int XSaveContext(<B>display</B>, <B>rid</B>, <B>context</B>, <B>data</B>) <A HREF="../display/opening.html#Display">Display</A> *<B>display</B>; XID <B>rid</B>; XContext <B>context</B>; XPointer <B>data</B>;</PRE></CODE><H2>Arguments</H2><TABLE><TR><TD> <B>display</B><TD> Specifies the connection to the X server.<TR><TD> <B>rid</B><TD> Specifies the resource ID with which the data is associated.<TR><TD> <B>context</B><TD> Specifies the context type to which the data belongs.<TR><TD> <B>data</B><TD> Specifies the data to be associated with the window and type.</TABLE><H2>Description</H2>If an entry with the specified resource ID and type already exists,<B>XSaveContext()</B>overrides it with the specified context.The<B>XSaveContext()</B>function returns a nonzero error code if an error has occurredand zero otherwise.Possible errors are<B>XCNOMEM</B>(out of memory).<H2>See also</H2><B><A HREF="XDeleteContext.html">XDeleteContext()</A></B>,<B><A HREF="XFindContext.html">XFindContext()</A></B>,<B><A HREF="XUniqueContext.html">XUniqueContext()</A></B>,"<A HREF="context-manager.html">Using the Context Manager</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 + -