Solid border color 
Author Message
 Solid border color

Hi,

where can I define the color of a solid border for a widget?

use Tk;
$mw = Tk::MainWindow->new();
$mw->optionAdd("*scrollbar*background" => "#C00000");
$mw->optionAdd("*scrollbar*troughColor" => "#00C000");
$mw->optionAdd("*scrollbar*activeBackground" => "#0000C0");

$text = $mw->Text(-width => 50, -height => 10, -fg => "#00FF00", -bg =>
 "#FF0000", -bd => 3, -relief => "solid")->pack(-side => "left", -fill =>
 "both");
$sb = $mw->Scrollbar(-command => ["yview", $text])->
 pack(-side => "right", -fill => "y");
$text->configure(-yscrollcommand => ["set", $sb]);
foreach $_ ("A".."Z") { $text->insert("end", $_ x 20 ."\n"); }
&Tk::MainLoop();

i.e. how do I get the black border around the red box in, i.e. blue?

*Jan Engelhardt



Wed, 15 Sep 2004 23:00:49 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. mainwindow border color, dialog button color

2. border color on Canvas widget??

3. Border colors of button edges

4. Strange Error with 'Solid' Databse driver DBD::Solid

5. Colors in Text widget and select colors

6. DBD::Solid

7. ANNOUNCE: DBD-Solid-0.05

8. Definition of solid block symbol

9. Moving script. Changing from MySQL to Solid database

10. DBD::Solid

11. I need solid information

12. Solid Calls

 

 
Powered by phpBB® Forum Software