Article View: comp.windows.x
Article #37161Re: Xdefaults
From: Chris D. Peterson
Date: Wed, 21 Feb 1990 23:19
Date: Wed, 21 Feb 1990 23:19
30 lines
1405 bytes
1405 bytes
> I have a simple graphics program that plots points of lines.
> However, when i run it I get this message:
> X Toolkit Warning: Form: The reference widget was not found.
> X Toolkit Warning: Form: The reference widget was not found.
> despite the fact that I appear to have taken care of that in my .Xdefaults
> file.
What is probabally happening is that the Form widget's string to widget
converter is searching all children of the form for a widget named by your
resource string, and that widget hasn't been created yet.
For instance this would cause that problem:
XtCreateWidget("number1", form...);
XtCreateWidget("number2", form...);
*number1*xRefName: number2
Since number2 has not been created when number1 is trying to convert its
resources you end up with an error message.
Chris D. Peterson
MIT X Consortium
Net: kit@expo.lcs.mit.edu
Phone: (617) 253 - 9608
Address: MIT - Room NE43-213
Technical Details
Message-ID:
<9002212319.AA04324@expo.lcs.mit.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!think!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!kitReferences:
<1990Feb20.191944.23028@athena.mit.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!think!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!kit From: kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) Newsgroups: comp.windows.x Subject: Re: Xdefaults Message-ID: <9002212319.AA04324@expo.lcs.mit.edu> Date: 21 Feb 90 23:19:31 GMT References: <1990Feb20.191944.23028@athena.mit.edu> Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 30