Err.
The creator of Xlt is Rick Scott. In theory I'm on the list of the Xlt projects's admins, but I would prefer to have Ricks idea on this.
Whoever. I did not dig in the list archives, except to confirm that lesstif-discuss is inde4ed the place where to discuss Xlt. The post was not directed to you in particular.
First: personally, I don't object to adding something to Xlt.
But, this is a rather difficult proposition because this area has been the center of some discussion (partially because Rick ported his Xlt tooltips functionality to OpenMotif and it became part of 2.2).
I think this is another issue completely. As I explained, I find the was OM2.2 did it unsatisfactory mostly because it does not work for insensitive objects, while this is where tooltips would be most usefule.
Some of the flames that were caused by OpenMotif 2.2 had to do with the way things were implemented (not in Motif style, e.g. no traits), and I believe the tooltips functionality was one of the areas on which this criticism focused.
It certainly broke binary compatibility!
With that in mind, my first question is whether this needs to be a new widget, or a new trait.
(Make no mistake: traits may look strange, or they may appear to be hard stuff because of terms like multiple inheritance, but they're usually surprisingly easy to implement.)
I have zero experience with traits, so tell me whether you can add a trait to existing widgets (in this case, Core and Gadget) without subclassing them. But note that LiteClue does *not* subclass Core nor Gadget; it is a subclass of Shell, the hooks are explicitly installed by an API. What OM2.2 did was intended to control the tooltips via resources.
Another issue is that the filtering of events away from X-insensitive widgets is buried rather deep in Xm and Xt. LiteClue works by having its own events dispatcher. So, with Lesstif or OM 2.1 or 2.2, where there is *no* way to make any change inside them, I'm afraid the implementation will never look very clean. It *exists* and I thought that rather than keep it for myself it would be better to put it in an opensource distribution.
Could we please *first* add it to Xlt? Later we could see how to make it a trait, but IMHO that should first be a spec proposal for OM2.3
HaND, -- Michel Bardiaux Peaktime Belgium S.A. Bd. du Souverain, 191 B-1160 Bruxelles Tel : +32 2 790.29.41
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Lesstif-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lesstif-discuss

