home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.tcl
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!bogus.sura.net!ra!wave3i.nrl.navy.mil!feirtag
- From: feirtag@wave3i.nrl.navy.mil (Fred Feirtag)
- Subject: WANTED--Rx for Anemic Colors:
- Message-ID: <C183HD.H4x@ra.nrl.navy.mil>
- Sender: usenet@ra.nrl.navy.mil
- Organization: Naval Research Lab, Washington, DC
- Date: Thu, 21 Jan 1993 21:24:48 GMT
- Lines: 39
-
- When I run the following program under Tk 3.0, I get two different
- colors:
-
- +---------------------------------------------------------------------------+
- | #!/usr/local/bin/wish -f |
- | |
- | pack append . \ |
- | [label .bisque1 -text {This is bisque1} -bg bisque1] {pady 50 fill} \ |
- | [label .default -text {What is this?}] {pady 50 fill} |
- | |
- +---------------------------------------------------------------------------+
-
- I don't think this is as it should be. First of all,
-
- >>> How Can One Ask Tk The Current Colors For A Given Window/Widget?
-
- I found "bisque1" by looking in the source, "default.h," specifically,
- but this shouldn't be necessary, should it?
-
- Also, when I run this under an old "pre-alpha" release of Tk (dated
- exactly two years ago today), the bottom, default, color ***DOES*** match
- the explicitly requested bisque1 of the top label.
-
- I'm working on an Iris, and I build the old Tk before IRIX had much
- support for X-windows, so I linked that one with X stuff I got from
- MIT, as opposed to what IRIX now provides. There are lots of differences,
- but I'm guessing that this is a bug that's crept into Tk???
-
- Please try this code on your system & post if the colors match.
-
- Fred
-
- --
-
- Fred Feirtag |
- Naval Research Lab, Code 7120 | "Well . . . 'Spam, Eggs, Bacon, Sausage
- Washington, DC 20375 | and Spam' hasn't got MUCH Spam in it."
- feirtag@wave.nrl.navy.mil | --Monty Python
- (202) 404 - 8502 |
-