|
From: Jeff H. <je...@Ac...> - 2006-03-27 22:40:12
|
Vince Darley wrote: > On 3/27/06, Jeff Hobbs <je...@ac...> wrote: > > or to have a label that is > > always black (on a case-by-base), do: > > > > style default Active.TLabel -foreground black > > ttk::label -style Active.TLabel ... > > That doesn't work for me -- the label still goes grey in the > background. Does it work for you? My bad, this is unfortunately undocumented right now, and I was fiddling with several things. What you actually want is: style map Active.TLabel -foreground [list disabled #a3a3a3] You can actually find the defaults Joe referred to (if you want to not guess the remainder above) with: set defs [style map . -foreground] > Wow! Magic.. that indeed is what I was after. One minor > detail, the menubuttons I was after (as opposed to buttons) > on OS X have a little black triangle in the corner to > indicate that a menu will popup when you click on them. Passing this on to Joe ... I think tile is just not drawing this, and I'm not sure it should be a style config bit or what. Jeff |