Having been reminded that when using some Open Source projects, one
should contribute to some too (not necessarily the same!) I have
something to propose. XmListSelectPosPlus is not big (small is beautiful
and all that...) but solves a problem that sometimes frustrates people:
how to quickly select many items in an XmList containing very many
items. Using the XmNselectedItems resource, that can take a *long* time.
And with Motif1.2, it does not work correctly if there are duplicated
items. Motif2.1 has XmNselectedPositions, but support for 1.2 is still
worthwhile (IMHO)
The convenience function acts directly on the internals.
Tested (by me) with:
SGI IRIX 6.5/SGI Motif 1.2
Linux Debian Potato/Lesstif 0.92.6
Linux Debian Potato/OpenMotif 2.1
Reported tested with:
Solaris 2.6, Sun Compiler 4.2, and Motif 1.2
DG/UX 2.5.8.6 with Motif 1.2
Comes with a test harness, and I would write a Makefile.am and a man
page.
It might go in Xlt under LGPL (IIUC, since *we* have the copyright, the
fact we already gave it out to some people under BSD license is no
obstacle to a realease uner LGPL).
Now, after that unbearably long commercial, how do I proceed?
--
Michel Bardiaux
Peaktime Belgium S.A. Rue Margot, 37 B-1457 Nil St Vincent
Tel : +32 10 65.44.15 Fax : +32 10 65.44.10