📄 xdefaultstring.html
字号:
<HTML><HEAD><TITLE>Xlib Programming Manual: XDefaultString</TITLE></HEAD><BODY><H1 ALIGN=center>XDefaultString</H1><H2>Syntax</H2><!.IN "XDefaultString" "" "@DEF@"><CODE><PRE>char *XDefaultString()</PRE></CODE><H2>Description</H2>The<B>XDefaultString()</B>function returns the default string used by Xlib for text conversion(for example, in <B><A HREF="XmbTextPropertyToTextList.html">XmbTextPropertyToTextList()</A></B>).The default string is the string in the current locale that is output when an unconvertible character is found during text conversion.If the string returned by<B>XDefaultString()</B>is the empty string (""),no character is output in the converted text.<B>XDefaultString()</B>does not return NULL.<P>The string returned by <B>XDefaultString()</B>is independent of the default string for text drawing;see <B><A HREF="XCreateFontSet.html">XCreateFontSet()</A></B>to obtain the default string for an<B><A HREF="/toto/XFontSet.html">XFontSet</A></B> .<P>The behavior when an invalid codepoint is supplied to any Xlib function isundefined.<P>The returned string is null-terminated.It is owned by Xlib and should not be modified or freed by the client.It may be freed after the current locale is changed.Until freed, it will not be modified by Xlib.<H2>See also</H2><B><A HREF="XmbTextListToTextProperty.html">XmbTextListToTextProperty()</A></B>,<B><A HREF="XmbTextListToTextProperty.html">XwcTextListToTextProperty()</A></B>,<B><A HREF="XmbTextPropertyToTextList.html">XmbTextPropertyToTextList()</A></B>,<B><A HREF="XmbTextPropertyToTextList.html">XwcTextPropertyToTextList()</A></B>,<B><A HREF="XwcFreeStringList.html">XwcFreeStringList()</A></B>,<B><A HREF="XSetTextProperty.html">XSetTextProperty()</A></B>,<B><A HREF="XStringListToTextProperty.html">XStringListToTextProperty()</A></B>,"<A HREF="converting-string-lists.html">Converting String Lists</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 + -