Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dxmcolormixgetnewcolor(3x) [osf1 man page]

DXmColorMixGetNewColor(3X)												DXmColorMixGetNewColor(3X)

NAME
DXmColorMixGetNewColor - Retrieves (returns) the color mixing widget's current new color red, green, and blue values. SYNOPSIS
void DXmColorMixGetNewColor( DXmColorMixWidget cmw, unsigned short *red, unsigned short *green, unsigned short *blue ); PARAMETERS
The widget identifier of the color mixing widget. A pointer to the returned new color red value. A pointer to the returned new color green value. A pointer to the returned new color blue value. A complete list of all the X color values available to you is located on your system. To find it, type the following command: % find / -name '*rgb*' -print DESCRIPTION
DXmColorMixGetNewColor allows the calling application or routine to quickly obtain the current color value from the color mixing widget. Note that if your application uses the default color mixing subwidget, the application will perform this operation faster if you call this routine instead of the Intrinsic routine XtGetValues. SEE ALSO
DXmColorMixSetNewColor(3X), DXmCreateColorMix(3X), DXmCreateColorMixDialog(3X) DXmColorMixGetNewColor(3X)

Check Out this Related Man Page

DXmColorMixSetNewColor(3X)												DXmColorMixSetNewColor(3X)

NAME
DXmColorMixSetNewColor - Sets the new color red, green, and blue values in the color mixing widget. SYNOPSIS
void DXmColorMixSetNewColor( DXmColorMixWidget cmw, unsigned short red, unsigned short green, unsigned short blue ); PARAMETERS
The identifier (widget ID) of the color mixing widget. The new color red value. The value is expressed as an X color value (0 to 65535). The new color green value. The value is expressed as an X color value (0 to 65535). The new color blue value. The value is expressed as an X color value (0 to 65535). A complete list of all the X color values available to you is located on your system. To find it, type the following command: % find / -name '*rgb*' -print DESCRIPTION
The DXmColorMixSetNewColor routine allows the application or a user-supplied color mixer subwidget to pass the current color value to the color mixing widget. Note that your application will perform this operation faster if you call this routine instead of the Intrinsic rou- tine XtSetValues. SEE ALSO
DXmColorMixGetNewColor(3X), DXmCreateColorMix(3X), DXmCreateColorMixDialog(3X) DXmColorMixSetNewColor(3X)
Man Page

12 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

auto setterm

I need to change color of text in shell. I do it like that #setterm -foreground green -store but when I reboot computer color changes to default, how to make it autochange color (3 Replies)
Discussion started by: Ty3
3 Replies

2. UNIX for Dummies Questions & Answers

Print in color

I have a short code below: awk 'NR==1 {printf "'$information'-MYDATA-'$information' \n"} {print $0}' data.file > newdata.file I want the "information" color in RED and MYDATA in BLUE. How can I do it? Please help!!!! (3 Replies)
Discussion started by: bobo
3 Replies

3. UNIX for Dummies Questions & Answers

Help on file arrangement

Can anyone help me on this. I have a file that looks like this: color red green blue color pink yellow number one two gender male gender female The output would look like this: color red green blue pink yellow number one two gender male female I have over 5000 rows and i dont want... (5 Replies)
Discussion started by: kharen11
5 Replies

4. UNIX for Dummies Questions & Answers

color highlighting with 'more','grep' and 'vi'

Hi all, i would to find out how can i turn on color hightlighting with the 'more' command. When i view a big file, i tend to use the 'more' command and i would search for a interested string with the '/' command. Something the search returns more than 1 line found on the screen, how can i... (0 Replies)
Discussion started by: new2ss
0 Replies

5. Shell Programming and Scripting

bash: color strings in log file

hello im looking for an easy way to color specific strings in text file. simple example: cat file1 acb 1234 qwer 5678 my goal: cat file1 (color the acb red and the 5678 blue) acb 1234 qwer 5678 cheers (2 Replies)
Discussion started by: modcan
2 Replies

6. Shell Programming and Scripting

color a figure in text file

Good morning, Can someone help to color a figure in columns if its exceeding a threshold using shell script . ex. I have file contains 5 columns showing a value in % I need to show the value in red if it exceed 90 % Appreciate your help (3 Replies)
Discussion started by: Bluetoot
3 Replies

7. Shell Programming and Scripting

text color

Hi all I have a file contains columns showing figures as below : Input file A B C D 50 60 90 E 100 20 53 F 30 40 70 G 25 27 45 I want to color the value above or equal 90 by red and to be shown as below output file... (5 Replies)
Discussion started by: Bluetoot
5 Replies

8. Linux

Help with color combinations

Hi Team when i do, echo on my host box it returns (see below) # echo $PS1 \$ I need to set a color comination of my own for \u means for user : red for \h means for hostname: blue for \W means present working directory: pink for $ means for wht prompt : yellow Do i need to... (1 Reply)
Discussion started by: whizkidash
1 Replies

9. SuSE

Vi in color

How do you turn off color in vi? (2 Replies)
Discussion started by: jgt
2 Replies

10. UNIX for Dummies Questions & Answers

How do I color some words in output?

OK, let's say if we want to filter lines in man and get a different color for the word we are searching we write man find | grep print It will mark all the words containing print red and output only those lines containing it, let's say I want to see the complete manual, but with marked words... (1 Reply)
Discussion started by: arcelivez
1 Replies

11. UNIX for Dummies Questions & Answers

Formating variables in KSH

Hi Friends , I want to know how to format the output for the following: i searched in the forum and couldnt get the exact requirement. Thanks in advance . (2 Replies)
Discussion started by: i150371485
2 Replies

12. Shell Programming and Scripting

Handle color code

p1=text1 p2=text2(in red color) when i am trying to replace $p1 with $p2, content of the file from text2 become red. so when i open that file using vi its showing color code before tex2. please suggest me how to omit that color code and make content of that file in default color? (1 Reply)
Discussion started by: Biplab
1 Replies