I have a "new feature request" on my desk to implement tooltips for insensitive widgets. I would love to know how LiteClue does it. We have our own tool tip code which I'd have to modify rather than just changing it to use LiteClue.
-- Dave Williss
------
Meddle not in the affairs of dragons, for you are crunchy and taste good with catsup
----- Original Message ----- From: "Michel Bardiaux" <[EMAIL PROTECTED]>
To: "LessTif Mailing List" <[email protected]>
Sent: Wednesday, April 13, 2005 9:21 AM
Subject: [Lesstif-discuss] New widget for Xlt: LiteClue
I had this *brilliant* idea to use tooltip-style help to explain why this or that widget had been insensitized by my application. After web searches, the following turned out:
1a. Tooltips in OpenMotif2.2. Turned out because does not support tooltips on insensitive obgets (not a typo!). Also because of rumours that OM2.2 is not 100% ready for primetime, and Lesstif2.2 is not even in the starting blocks yet.
1b. BubbleButton in Xlt. Does not support insensitive widgets, and would require changing all my create-button code, a daunting task.
1c. From the MOTIF FAQ, LiteClue at http://www.compgen.com/widgets. Had a hard time finding a source, since that web page does not work, and it is no longer in debian stable. Found it in old debian archives. Explicitly implemented to support insensitive widgets, but knows nothing of MOTIF hence of gadgets. I managed to make it work with the buttons in my application, then to add gadget support (partly; if the gadget is in a manager that is itself insensitive, no tip; it is debatable whether any other behavior is even desirable).
Because of 1a and 1b, it seens to me there is a niche for this new, improved widget.
Since there does not seem to be any regular distribution channel left, I contacted the author. He does not wish to be maintainer nor initial distribution point, and gave me permission to change the license from unrestricted-but-keep-copyright to LGPL, and to propose inclusion of the extended widget in Xlt for distribution via sourceforge (debian and rpm later). Question: do the project masters agree?
If yes, there are 2 strategies for a version of LiteClue that has Motif gadgets support.
Plan A: do all the changes inside LiteClue.c, possibly under #ifdef. I already have something on those lines at the testing stage.
Plan B: create a subclass of LiteClue, with just the minimal (and Motif-independent) changes in LiteClue itself to make the subclassing easy. Work in progress.
Comments welcome. -- 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
------------------------------------------------------- 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

