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.
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).
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.
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.)
Danny
On Wed, 2005-04-13 at 16:21 +0200, Michel Bardiaux wrote:
> 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.
--
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info
signature.asc
Description: This is a digitally signed message part

