Actually neither the _XmNSECvtStringToBitmap() nor the
_XmNSECvtStringToPixmap(),
which are the converters in LessTif for that, seem to get called when
running your example.

Looks like a very old bug.

Extending the call with -xrm '*backgroundPixmap: woman' and running it
with gdb shows that CvtStringToBackgroundPixmap() is called (but not the
ones I mention above).

Do note that these conversions are only compiled into LessTif if it is
configured with --enable-nonstandard-conversions , which I always do.

        Danny

Martin Simmons wrote:
> 
> In all versions of LessTif, specifying the iconPixmap as a string results in
> 0x2 being used as the bitmap id (according to xprop).
> 
> E.g. the window manager display no icon for something like:
> 
> test/Xm/mainw/test1 -xrm '*iconPixmap: terminal'
> 
> It looks like a hack similar to _XmGetBGPixmapName() will be needed (ugh, a
> global variable).  Maybe that is what _XmGetIconPixmapName() was intended to
> do?

-- 
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)
_______________________________________________
Lesstif mailing list
[EMAIL PROTECTED]
https://terror.hungry.com/mailman/listinfo/lesstif

Reply via email to