Constructs related to ::tycho::ColorManager


Related class: ::tycho::ColorManager Contents: Procs

Procs

::tycho::color {color {alternate {}}}
Look up a color name. If it exists, return the rgb value of the color. If it does not exist, look up the value of the second argument, which should normally be "black" or "white". All names are converted to lower case before looking them up. If the global variable tyMonochrome is set, then use the second argument (if it is present).

This procedure is simply an interface to the class proc ::tycho::FontManager::getColor, and is provided for convenience.

ptkColor {name {alternate {}}}

Index of classes



Author: Edward A. Lee
Version: @(#)ColorManager.itcl 1.15 12/10/96
Copyright: (c) 1995-1996 The Regents of the University of California.