From: Alan W. I. <ir...@be...> - 2004-11-13 16:16:16
|
On 2004-11-13 00:50-0600 mj...@ga... wrote: > > As for the widget command syntax, it's: > > <widget> scol0 <i> <color> > > where <color> is any form suitable to XParseColor(). > > E.g. from plframe.c -- > > if ( ! XParseColor(plFramePtr->display, > Tk_Colormap(plFramePtr->tkwin), col, &xcol)) { > Tcl_AppendResult(interp, "Couldn't parse color ", col, > (char *) NULL); > return TCL_ERROR; > } Is this interpretation also correct for the pure tcl case, i.e., when you aren't using X and you are using, for example, the postscript device? Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |