IPB
>  Man Pages > Linux > openSUSE 10.2 > Section 3 > XInstallColormap man page

XInstallColormap man page

Section 3 - openSUSE 10.2 Man Pages

Other operating system man pages available here


Advanced Search

Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!


XInstallColormap(3X11)          XLIB FUNCTIONS          XInstallColormap(3X11)



NAME
       XInstallColormap, XUninstallColormap, XListInstalledColormaps - control
       colormaps

SYNTAX
       int XInstallColormap(Display *display, Colormap colormap);

       int XUninstallColormap(Display *display, Colormap colormap);

       Colormap *XListInstalledColormaps(Display *display, Window w, int
              *num_return);

ARGUMENTS
       colormap  Specifies the colormap.

       display   Specifies the connection to the X server.

       num_return
                 Returns the number of currently installed colormaps.

       w         Specifies the window that determines the screen.

DESCRIPTION
       The XInstallColormap function installs the specified colormap for its
       associated screen.  All windows associated with this colormap immedi-
       ately display with true colors.  You associated the windows with this
       colormap when you created them by calling XCreateWindow, XCreateSim-
       pleWindow, XChangeWindowAttributes, or XSetWindowColormap.

       If the specified colormap is not already an installed colormap, the X
       server generates a ColormapNotify event on each window that has that
       colormap.  In addition, for every other colormap that is installed as a
       result of a call to XInstallColormap, the X server generates a Col-
       ormapNotify event on each window that has that colormap.

       XInstallColormap can generate a BadColor error.

       The XUninstallColormap function removes the specified colormap from the
       required list for its screen.  As a result, the specified colormap
       might be uninstalled, and the X server might implicitly install or
       uninstall additional colormaps.  Which colormaps get installed or unin-
       stalled is server dependent except that the required list must remain
       installed.

       If the specified colormap becomes uninstalled, the X server generates a
       ColormapNotify event on each window that has that colormap.  In addi-
       tion, for every other colormap that is installed or uninstalled as a
       result of a call to XUninstallColormap, the X server generates a Col-
       ormapNotify event on each window that has that colormap.

       XUninstallColormap can generate a BadColor error.

       The XListInstalledColormaps 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 significant and is no explicit
       indication of the required list.  When the allocated list is no longer
       needed, free it by using XFree.

       XListInstalledColormaps can generate a BadWindow error.

DIAGNOSTICS
       BadColor  A value for a Colormap argument does not name a defined Col-
                 ormap.

       BadWindow A value for a Window argument does not name a defined Window.

SEE ALSO
       XChangeWindowAttributes(3X11), XCreateColormap(3X11), XCreateWin-
       dow(3X11), XFree(3X11)
       Xlib - C Language X Interface



X Version 11                     libX11 1.0.3           XInstallColormap(3X11)


Man(1) output converted with man2html and wrapped by fishsponge

This page was generated on Sat Sep 8 16:38:59 GMT 2007

Your favourite pages:

No pages logged yet.
Trying to save cookie...

Top 10 most popular pages:

svn man page (6161 hits)
(FreeBSD 6.2)

sqlite3 man page (5598 hits)
(openSUSE 10.2)

adv_cap_autoneg man page (5045 hits)
(Solaris 10 11_06)

CPAN man page (4791 hits)
(Suse Linux 10.1)

ssh man page (4439 hits)
(Suse Linux 10.1)

ssh-socks5-proxy-connect man page (3525 hits)
(Solaris 10 11_06)

signal man page (3395 hits)
(Suse Linux 10.1)

netcat man page (3373 hits)
(Suse Linux 10.1)

pprosetup man page (2886 hits)
(Solaris 10 11_06)

startproc man page (2738 hits)
(Suse Linux 10.1)

Useful Links

Go Back

Visitor Statistics


Valid XHTML 1.0 Transitional     Valid CSS!

Partners: Cambridge Plus :: Pyrenees Ski Resorts :: Circuit Design, Bedfordshire :: <Link Available>
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum