Subject: | Tk::ColoredButton |
Date: | Thu, 4 Nov 2010 07:05:20 +0100 |
To: | <bug-Tk-ColoredButton [...] rt.cpan.org> |
From: | "Hellenkamp, Reinhard" <Reinhard.Hellenkamp [...] eurocopter.com> |
Hello,
I have installed Tk::ColoredButton on a Solaris computer. I can
not use ColoredButton because 'SystemButtonFace', 'SystemButtonText' ,...
are not defined on a Solrais, Linux, ... computer ( I have googled for
that ). After replacing these values with e.g. 'grey90' ColoredButtons works.
I have done this in ColoredButton.pm
...
# ConfigSpecs
$cw->ConfigSpecs(
-activebackground => [ 'PASSIVE', 'activeBackground', 'ActiveBackground', 'grey90' ], # 'SystemButtonFace' ],
-activegradient => [
'PASSIVE', 'activeGradient',
'ActiveGradient', { -start_color => '#FFFFFF', -end_color => '#B2B2B2' }
],
-activeforeground => [ 'PASSIVE', 'activeForeground', 'ActiveForeground', 'grey90' ], # 'SystemButtonText' ],
...
There are more places where I have substituted
By the way - on Windows it runs without problems and it looks nice.
Mit freundlichen Grüßen / Sincerement / Best regards
Reinhard Hellenkamp
Reinhard HELLENKAMP
Software Engineer
ETZNW - Software Products NH90
Eurocopter Group
phone: +49 (0) 89 6000-7377
Fax: +49 (0) 89 6000 6152
e-mail: reinhard.hellenkamp@eurocopter.com <mailto:reinhard.hellenkamp@eurocopter.com>
Eurocopter Deutschland GmbH
Sitz der Gesellschaft/Registered Office: Donauwoerth
Registergericht/Registration Court: Amtsgericht Augsburg HRB 16508
Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. Lutz Bertling
Geschaeftsfuehrung/Board of Management:
Dr. Wolfgang Schoder, Vorsitzender/CEO; Friedrich-Wilhelm Hormel; Ralf Barnscheidt
CONFIDENTIALITY NOTICE
This communication and the information it contains is intended for the addressee(s) named above and for no other persons or organizations. It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication or any part of it is prohibited and may be unlawful.
If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication. Thank you very much.
It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus checks on our e-mails, we accept no liability for viruses or other material which might be introduced with this message.