I suspect that the converter is not being registered early enough.

> The reported
>   Warning: No type converter registered for 'String' to 'Bitmap'
>   conversion. 
> within Ishmail seems to be triggered by a XmCreateDragIcon().
> 
> Citing a Motif (1.2) man page:
> 
>  An application initializes a DragIcon with the function XmCreateDragIcon
>  or  through entries in the resource database.  If a pixmap and its mask
>   (optional) are specified in the resource database, the toolkit converts
>   the values in the X11 Bitmap file format and assigns values to the
>   correspond- ing resources.
> 
> Sounds like a _XmNSECvtStringToBitmap() is missing, but OTOH since this
> is written in an offical manpage it can't be an extension only.
> Do we miss a suitable converter or do we just miss to set up
> things properly?
> 
> Adding to LTCvt.c a 
>    XtSetTypeConverter(XmRString,
>                  XmRBitmap,
>                  _XmNSECvtStringToBitmap, 
>    ...)
> line indeed makes the new (for now just a dummy) function called.
> 
> 
> Any help is appreciated (as usual :-)
> 
> -- 
> Alexander Mai
> [EMAIL PROTECTED]
> 
> 

Reply via email to