HPUX SetCModel[3]

SetCModel in anderen Kapiteln des hpux Handbuch:
Tk_SetColorModel(3) Tk Tk_SetColorModel(3)
Tk Library Procedures Tk Library Procedures
___________________________________________________________________________
NAME
Tk_SetColorModel, Tk_GetColorModel - access color model for screen
SYNOPSIS
#include <tk.h>
Tk_SetColorModel(tkwin, model)
Tk_ColorModel
Tk_GetColorModel(tkwin)
ARGUMENTS
Tk_Window tkwin (in) Token for window.
Tk_ColorModel model (in) New model to use for window's
screen.
___________________________________________________________________________
DESCRIPTION
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
color model, screen
- 1 - Formatted: August 11, 1996