Path: utzoo!attcan!uunet!bloom-beacon!ATHENA.MIT.EDU!swick From: swick@ATHENA.MIT.EDU (Ralph R. Swick) Newsgroups: comp.windows.x Subject: Re: Finding existing Xtoolkit converters Message-ID: <8909201443.AA11179@LYRE.MIT.EDU> Date: 20 Sep 89 14:43:37 GMT References: <958@tub.UUCP> Sender: daemon@bloom-beacon.MIT.EDU Organization: DEC/MIT Project Athena Lines: 11 > What I don't understand in this context is how one > is supposed to use XtConvert() to convert the resource arguments to > XtCreateWidget() and similar functions. It is obviously not possible, > since in this case there is no widget ID that can be passed to XtConvert(). The best you can do is specify an alternate widget that you believe will provide the same conversion arguments to the type converter. The ones that matter as far as Core resources are concerned are screen and colormap. The first shouldn't be a problem and your application probably has a pretty good idea about what widgets are sharing specific colormaps.