Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages

RedHat 9 (Linux i386) - man page for xmchangecolor (redhat section 3)

XmChangeColor(library call)					      XmChangeColor(library call)

NAME
       XmChangeColor -- Recalculates all associated colors of a widget

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

DESCRIPTION
       XmChangeColor  handles  all  color modifications for the specified widget when a new back-
       ground 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  XmSetColorCalcula-
       tion,  XmChangeColor  uses that procedure to calculate the new colors. Otherwise, the rou-
       tine uses a default procedure.

       widget	 Specifies the widget ID whose colors will be updated

       background
		 Specifies the background color pixel value

RELATED
       XmGetColorCalculation(3), XmGetColors(3), and XmSetColorCalculation(3).

								      XmChangeColor(library call)


All times are GMT -4. The time now is 11:25 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password