Here are some remarks by the author of Xplore about stuff missing
in LessTif.
I also found that Xplore requires IconGadget which is still missing,
that's probably the reason for the X Errors mentioned below.
Danny
Albert Graef wrote:
>
> Danny:
>
> Ok, as promised, I've given it another shot. I noticed the following
> minor incompatibilities:
>
> - XmDropSiteRegistered is missing
>
> - XmObjectAtPoint has XmGadget return type
>
> AFAIK XmObjectAtPoint should return a Widget. No serious problem, a cast
> easily solves this.
>
> I'm a bit worried about the first one, though, since I don't know what
> happens when I unregister a drop site without being able to first test
> whether the widget has actually been registered.
>
> Anyway, I commented out that test, after which xplore compiled just
> fine. You've really done a marvellous job since I last checked LessTif
> :). Back then all kinds of widgets, most notably all the drag-n-drop
> stuff was missing.
>
> Two other minor things I noticed: When using LessTiff-Motif2.1, I had to
> add -lXp to the link flags, don't know why that is needed, I don't use
> this lib in my prog, and it's not needed when I compile with OpenMotif.
> Next, when xplore started, it became obvious that LessTif doesn't define
> a type converter for the symbolic TearOffModel constants used by the
> XmRowColumn resources, so I get a bunch of messages like this one:
>
> Warning: No type converter registered for 'String' to 'TearOffModel'
> conversion.
>
> So far, so good. But then the real trouble started. :( When invoking
> xplore, I got the following X error message as soon as the program tries
> to create the very first icon gadget (CreateLargeIconGadget in interface.c):
>
> X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
> Major opcode of failed request: 14 (X_GetGeometry)
> Resource id in failed request: 0x2
> Serial number of failed request: 6401
> Current serial number in output stream: 6401
>
> Of course, that indicates a bad pixmap. But I'm sure that these pixmaps
> are initialized properly (that's done using the xpm lib, in icons.c). I
> have no idea what's happening here, because the same code worked in all
> other Motif 2.x versions that I tried. This *could* be a nasty bug in
> xplore, but I haven't been able to isolate it yet. All my minimal test
> programs ran just fine, so I don't believe that this is a LessTif bug.
>
> Ok, that's how far I got tonight, hope you can use some of this
> information. In turn, any tip concerning my pixmap trouble would be
> deeply appreciated. :) I'd really like to get xplore going under
> LessTif, now that I've come so far.
>
> Cheers,
> Albert
>
> --
> Dr. Albert Gr"af
> Email: [EMAIL PROTECTED], [EMAIL PROTECTED]
> WWW: http://www.musikwissenschaft.uni-mainz.de/~ag
--
Danny Backx ([EMAIL PROTECTED] [EMAIL PROTECTED])
Home page : http://users.skynet.be/danny.backx
Projects: LessTif (http://www.lesstif.org)
Oleo (http://www.gnu.org/software/oleo/oleo.html)