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

  man pages->IRIX man pages -> Tk/setcmodel (3)              
Title
Content
Arch
Section
 

Contents


Tk_SetColorModel(3Tk)					 Tk_SetColorModel(3Tk)


NAME    [Toc]    [Back]

     Tk_SetColorModel, Tk_GetColorModel	- access color model for screen

SYNOPSIS    [Toc]    [Back]

     #include <tk.h>

     Tk_SetColorModel(tkwin, model)

     Tk_ColorModel
     Tk_GetColorModel(tkwin)

ARGUMENTS    [Toc]    [Back]

     Tk_Window	     tkwin   (in)      Token for window.

     Tk_ColorModel   model   (in)      New model to use	for window's screen.

DESCRIPTION    [Toc]    [Back]

     These procedures allow the	color model for	a screen to be read and
     written.  See the documentation for the tk	colormodel command for details
     on	the color model	and how	it is used.  Tk_SetColorModel sets the color
     model for the screen associated with tkwin	to model.  Model must be
     either TK_COLOR or	TK_MONO.  In contrast to the tk	colormodel command,
     there are no restrictions on the value passed to Tk_SetColorModel (you
     can set the model to TK_COLOR even	if the screen only has one bit plane).
     Tk_GetColorModel returns the current color	model for the screen
     associated	with tkwin.

KEYWORDS    [Toc]    [Back]

     color model, screen


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
iflColorModelChans IRIX color model utilities
XmGetXmScreen HP-UX A Screen function that returns the XmScreen object ID for a specified screen
XmGetXmScreen IRIX A Screen function that returns the XmScreen object ID for a specified screen
XmGetXmScreen Tru64 A Screen function that returns the XmScreen object ID for a specified screen
screensaver FreeBSD splash screen / screen saver interface
splash FreeBSD splash screen / screen saver interface
DXmColorMixSetNewColor Tru64 Sets the new color red, green, and blue values in the color mixing widget.
SgColorChooserSetStoredColor IRIX A ColorChooser function that sets the color of the ColorChooser's stored color swatch
DXmColorMixGetNewColor Tru64 Retrieves (returns) the color mixing widget's current new color red, green, and blue values.
xcmsdb Tru64 Device Color Characterization utility for X Color Management System
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service