Path: utzoo!attcan!uunet!lll-winken!ames!mailrus!tut.cis.ohio-state.edu!bloom-beacon!TUB.BITNET!net From: net@TUB.BITNET (Oliver Laumann) Newsgroups: comp.windows.x Subject: Text widget question #3862195 Message-ID: <8902221656.AA24640@tub.UUCP> Date: 22 Feb 89 16:56:11 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 19 I don't understand why it is possible to set the ``edit type'' resource of an AsciiDisk or AsciiString widget (i.e. by passing an argument with the name XtNeditType to XtCreateWidget()). Neither the AsciiDisk (or AsciiString) nor the Text widget class declares such a resource, nor does a call to XtGetResourceList() return an ``edit type'' resource. It is obviously possible to set resources for a widget that are neither defined in the widget's class nor in a super class nor by the parent widget's constraints. Is there a way for the application programmer to obtain a list of these resources similar to XtGetResourceList() for ``normal'' resources? Don't tell me ``by looking at the source code''; I want to get a list of resources from within a program. Thanks, -- Oliver Laumann net@TUB.BITNET net@tub.UUCP