*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> XmChangeColor (3)              
Title
Content
Arch
Section
 

Contents


 XmChangeColor(library call)                     XmChangeColor(library call)




 NAME    [Toc]    [Back]
      XmChangeColor - Recalculates all associated colors of a widget

 SYNOPSIS    [Toc]    [Back]
      #include <Xm/Xm.h>
      void XmChangeColor(
      Widget widget,
      Pixel background);

 DESCRIPTION    [Toc]    [Back]
      XmChangeColor handles all color modifications for the specified widget
      when a new background pixel value is specified.  This function
      recalculates the foreground, select, and shadow colors based on the
      new background color and sets the corresponding resources for the
      widget. If a color calculation procedure has been set by a call to
      XmSetColorCalculation, XmChangeColor uses that procedure to calculate
      the new colors. Otherwise, the routine uses a default procedure.

      widget    Specifies the widget ID whose colors will be updated

      background
                Specifies the background color pixel value

 RELATED    [Toc]    [Back]
      XmGetColorCalculation(3), XmGetColors(3), and
      XmSetColorCalculation(3).


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
 Similar pages
Name OS Title
makemap IRIX store colors into the gl color map
getcolor IRIX maintain database of colors
textcolors IRIX set the colors used by a xwsh window
glcolorpointer IRIX define an array of colors
glcolorpointerext IRIX define a array of colors
getcolor IRIX maintain database of colors
bitmap IRIX Images that display two colors
glColorPointer Tru64 define an array of colors
default_colors FreeBSD use terminal's default colors
use_default_colors OpenBSD use terminal's default colors
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service