RE: re Tk System colours
"Fox, Ken \(K.C.\)" <[email protected]>
| Newsgroups | gmane.comp.lang.perl.tk |
|---|---|
| Message-ID | <538518C011A3A24A99BFE1C47A092A1D0856D2E0@na1fcm53.dearborn.ford.com> |
These special names are Win32 only. The list is in
pTk/mTk/win/tkWinColor.c.
Use the rgb() method to get the color values. For
example: my($r,$g,$b) = $toplevel->rgb("SystemWindow")
- Ken
-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Henry Merryweather
Sent: Friday, June 03, 2005 10:08 AM
To: [email protected]
Subject: re Tk System colours
In sorting out some colour issues for an application I found what I take to be standard settings such as:
1. SystmeButtonFace
2. SystemDisabledText
3. SystemWindow
4. SystemWindowText
I could not see any reference to these in Mastering Perl/Tk and my web search did not reveal anything very useful.
Therefore I wondered if anyone:
1. knew of a complete list;
2. could explain how to get the RBG (or something equivalent) value for each of them.
Best regards
Henry Merryweather