Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!IRIS49.BIOSYM.COM!pete From: pete@IRIS49.BIOSYM.COM (Pete Ware) Newsgroups: comp.windows.x.motif Subject: Question about Motif resource converters Message-ID: <9106041541.AA03787@iris49.biosym.com> Date: 4 Jun 91 15:41:49 GMT References: <6965@hplabsz.hplabs.hpl.hp.com> Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 11 >The workaround, of course, is to force the creation of a primitive widget >before invoking a resource converter: create a shell widget and put a >primitive widget inside that shell (e.g. a pushbutton), then XtUnmap() the >shell so that the user doesn't have to see it... Disgusting? I know, but >I've had to hack around stupider limitations in the past, so I'm used to it. Use XtInitializeWidgetClass (an R4 addition) as a cleaner alternative. --pete Pete Ware / Biosym / San Diego CA / (619) 546-5532 email: pete@biosym.com