xrmqputstringresource.html

来自「linux图形界面x liberary手册」· HTML 代码 · 共 71 行

HTML
71
字号
<HTML><HEAD><TITLE>Xlib Programming Manual: XrmQPutStringResource</TITLE></HEAD><BODY><H1 ALIGN=center>XrmQPutStringResource</H1><H2>Syntax</H2><!.IN "XrmQPutStringResource" "" "@DEF@"><CODE><PRE>void XrmQPutStringResource(<B>database</B>, <B>bindings</B>, <B>quarks</B>, <B>value</B>)     <B><A HREF="creating-and-storing-databases.html">XrmDatabase</A></B> *<B>database</B>;     <A HREF="quarks.html#XrmBindingList">XrmBindingList</A> <B>bindings</B>;     <B><A HREF="quarks.html#XrmQuark">XrmQuarkList</A></B> <B>quarks</B>;     char *<B>value</B>;</PRE></CODE><H2>Arguments</H2><TABLE><TR><TD> <B>database</B><TD> Specifies the resource database.<TR><TD> <B>bindings</B><TD> Specifies a list of bindings.<TR><TD> <B>quarks</B><TD> Specifies the complete or partial name or the class list of the resource.<TR><TD> <B>value</B><TD> Specifies the value of the resource, which is specified as a string.</TABLE><H2>Description</H2>If database contains NULL,<B>XrmQPutStringResource()</B>creates a new database and returns a pointer to it.<B>XrmQPutStringResource()</B>is a convenience routine that constructs an<B><A HREF="creating-and-storing-databases.html">XrmValue</A></B>for the value string (by calling<B>strlen</B>to compute the size) andthen calls<B><A HREF="XrmQPutResource.html">XrmQPutResource()</A></B>,using a ``String'' representation type.The value is stored in the database without modification.<H2>See also</H2><B><A HREF="XrmGetResource.html">XrmGetResource()</A></B>,<B><A HREF="XrmInitialize.html">XrmInitialize()</A></B>,<B><A HREF="XrmMergeDatabases.html">XrmMergeDatabases()</A></B>,<B><A HREF="XrmPutLineResource.html">XrmPutLineResource()</A></B>,<B><A HREF="XrmPutResource.html">XrmPutResource()</A></B>,<B><A HREF="XrmPutStringResource.html">XrmPutStringResource()</A></B>,<B><A HREF="XrmQPutResource.html">XrmQPutResource()</A></B>,<B><A HREF="XrmUniqueQuark.html">XrmUniqueQuark()</A></B>,"<A HREF="storing.html">Storing Into a Resource Database</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 + =
减小字号Ctrl + -
显示快捷键?