merrymonk has asked for the wisdom of the Perl Monks concerning the following question:

Is there any way that you can assign the colour of the text in the 'label' in the tabs
of a dynatab frame?
I have tried using foreground but this is simply ignored

Replies are listed 'Best First'.
Re: Dynatab Text Colour
by ww (Archbishop) on Aug 31, 2009 at 11:26 UTC

    Did you read the README?

    "-c <color> : set the tab color; <color> is any valid Tk color name"
      I have read some documentation about the dynatab.
      However, I think that this talked about the colour of the tab itself (which I can set) rather than the text string written on the tab.
      I could be wrong.

        You may be correct. The Manifest includes demo.pl, wherein we find:

        my $color = $args{-c}; ... my $dtf = $mw->DynaTabFrame( -font => 'Arial 8', ... -tabcolor => $color, ....

        Both the doc (aka readme) and the demo are a bit sparse.

        But you may wish to look at the output of the demo, which may provide some additional insights (if you find any colorized text).