|
From: Joe E. <jen...@fl...> - 2006-03-28 15:40:08
|
Vince Darley wrote: > > Here's how that feature works: > > [snip] > > > > style map My.TLabel -foreground [list #a3a3a3] > > > > (if you want the label to show 'disabled' feedback). > > That gives me an error "State map must have an even number of > elements". Sorry, that should have been: '-foreground [list disabled #a3a3a3]' [style map] takes an alternating list of option/statemap pairs; each statemap is an alternating list of statespec/value pairs; and each statespec is a list of state flags optionally prefixed with an exclamation point (see widget(n), section "WIDGET STATES"). --Joe English |