xlistinstalledcolormaps.html
来自「linux图形界面x liberary手册」· HTML 代码 · 共 76 行
HTML
76 行
<HTML><HEAD><TITLE>Xlib Programming Manual: XListInstalledColormaps</TITLE></HEAD><BODY><H1 ALIGN=center>XListInstalledColormaps</H1><H2>Syntax</H2><!.IN "XListInstalledColormaps" "" "@DEF@"><CODE><PRE>Colormap *XListInstalledColormaps(<B>display</B>, <B>w</B>, <B>num_return</B>) <A HREF="../display/opening.html#Display">Display</A> *<B>display</B>; Window <B>w</B>; int *<B>num_return</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 that determines the screen.<TR><TD> <B>num_return</B><TD> Returns the number of currently installed colormaps.</TABLE><H2>Description</H2>The<B>XListInstalledColormaps()</B>function returns a list of the currently installed colormaps for the screen of the specified window.The order of the colormaps in the list is not significantand is no explicit indication of the required list.When the allocated list is no longer needed,free it by using<B><A HREF="../display/XFree.html">XFree()</A></B>.<P><B>XListInstalledColormaps()</B>can generate a<B>BadWindow</B> error.<H2>Diagnostics</H2><TABLE><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="../window/XChangeWindowAttributes.html">XChangeWindowAttributes()</A></B>,<B><A HREF="../color/XCreateColormap.html">XCreateColormap()</A></B>,<B><A HREF="../window/XCreateWindow.html">XCreateWindow()</A></B>,<B><A HREF="../display/XFree.html">XFree()</A></B>,<B><A HREF="XInstallColormap.html">XInstallColormap()</A></B>,<B><A HREF="XUninstallColormap.html">XUninstallColormap()</A></B>,"<A HREF="managing-installed-colormap.html">Managing Installed Colormaps</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 + -
显示快捷键?