|
From: Jeff H. <je...@ac...> - 2008-11-26 00:47:00
|
Damon Courtney wrote:
>> 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.
The benefit of external tagging is that any widget can be tagged (even
older ones). This is why I like how tklib tooltip works. Should we add
a -tooltip to widgets, or ?
Jeff
|