Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!mcsun!unido!tub!net From: net@tub.UUCP (Oliver Laumann) Newsgroups: comp.windows.x Subject: Re: Finding existing Xtoolkit converters Message-ID: <958@tub.UUCP> Date: 20 Sep 89 09:34:34 GMT References: <289@auto-trol.UUCP> <8909191143.AA08651@LYRE.MIT.EDU> Reply-To: net@tub.UUCP (Oliver Laumann) Organization: Technical University of Berlin, Germany Lines: 21 In article <8909191143.AA08651@LYRE.MIT.EDU> swick@ATHENA.MIT.EDU (Ralph R. Swick) writes: > Actually, XtConvert uses the widget principally to identify the > application context and thereby lookup the currently-registered > converter. While we're at it... 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(). Note that it is not always possible to set the resources by means of XtSetValues() after the widget has been created; some resources *must* be specified at the point the widget is created. Yes, I know that the arguments to XtCreateWidget() et. al. are converted automatically. We have an application that requires that resources are converted explicitly (e.g. by means of XtConvert()). Regards, -- Oliver Laumann net@TUB.BITNET net@tub.UUCP