From: Damon C. <da...@tc...> - 2008-11-26 00:44:28
|
> Skip -alias, consider -tags (would any known widget conflict at the > widget creation level?). > > button .b -tags toolbar > button .c -tags {toolbar edge} > configure toolbar -state disabled > ... > > I simulate this at the higher level now. It may be asking too much > for 8.6, but possibly worth considering. Yes. My brain was moving too fast when I posted, but this is exactly what I recommend. In fact, I use a system I wrote called Tktags that does just this sort of thing. In fact, it does exactly what you describe here except for the fact that you have to tag the widgets yourself since they don't support a -tags option. Damon |