|
From: Joe E. <jen...@fl...> - 2006-07-07 02:41:34
|
[I wrote]:
>
> So [style map ...] settings override widget settings. [...]
> However, I can't think of any use cases where this ends up
> being helpful [...]
Found one: aquaTheme.tcl uses this feature to disable the
"-underline" option on buttons and other widgets:
| style map . -underline {{} -1}
This is mostly a convenience hack for cross-platform portability.
Macintosh applications don't traditionally use underlining to highlight
mnemonics (and the "Alt" modifier doesn't work on OSX anyway).
The idea was that apps developed for Windows or X11 wouldn't
need to conditionally remove all the "-underline" specifications
when running under OSX.
So this hack won't work any more. That's probably not a big deal.
--Joe English
jen...@fl...
|