.\" $XConsortium: appD,v 1.8 94/04/18 20:20:56 rws Exp $
.\" Copyright \(co 1985, 1986, 1987, 1988, 1991, 1994
.\" X Consortium
.\" 
.\" Permission is hereby granted, free of charge, to any person obtaining
.\" a copy of this software and associated documentation files (the
.\" "Software"), to deal in the Software without restriction, including
.\" without limitation the rights to use, copy, modify, merge, publish,
.\" distribute, sublicense, and/or sell copies of the Software, and to
.\" permit persons to whom the Software is furnished to do so, subject to
.\" the following conditions:
.\" 
.\" The above copyright notice and this permission notice shall be included
.\" in all copies or substantial portions of the Software.
.\" 
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
.\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
.\" IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
.\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
.\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
.\" OTHER DEALINGS IN THE SOFTWARE.
.\" 
.\" Except as contained in this notice, the name of the X Consortium shall
.\" not be used in advertising or otherwise to promote the sale, use or
.\" other dealings in this Software without prior written authorization
.\" from the X Consortium.
.\" 
.\" Copyright \(co 1985, 1986, 1987, 1988, 1991, 1994
.\" Digital Equipment Corporation, Maynard, Massachusetts.
.\" 
.\" Permission to use, copy, modify and distribute this documentation for any
.\" purpose and without fee is hereby granted, provided that the above copyright
.\" notice appears in all copies and that both that copyright notice and this
.\" permission notice appear in supporting documentation, and that the name of
.\" Digital not be used in in advertising or publicity pertaining
.\" to distribution of the software without specific, written prior permission.
.\" Digital makes no representations about the suitability of the
.\" software described herein for any purpose.
.\" It is provided ``as is'' without express or implied warranty.
.\"
.bp
\&
.sp 1
.ce 3
\s+1\fBAppendix D\fP\s-1

\s+1\fBIntrinsics Error Messages\fP\s-1
.sp 2
.LP
.XS
Appendix D \- Intrinsics Error Messages
.XE
.LP
All \*(xI errors and warnings have class
``XtToolkitError''.
The following two tables summarize the common errors and warnings that can be
generated by the \*(xI.
Additional implementation-dependent messages are permitted.
.SH 
Error Messages
.LP
.ps 9
.nr PS 9
.TS
lw(1.3i) lw(1.4i) lw(2.9i).
_
.sp 6p
Name	Type	Default Message
.sp 6p
_
.sp 6p
allocError	calloc	T{
Cannot perform calloc
T}
allocError	malloc	T{
Cannot perform malloc
T}
allocError	realloc	T{
Cannot perform realloc
T}
communicationError	select	T{
Select failed
T}
internalError	shell	T{
Shell's window manager interaction is broken
T}
invalidArgCount	xtGetValues	T{
Argument count > 0 on NULL argument list in XtGetValues
T}
invalidArgCount	xtSetValues	T{
Argument count > 0 on NULL argument list in XtSetValues
T}
invalidClass	constraintSetValue	T{
Subclass of Constraint required in CallConstraintSetValues
T}
invalidClass	xtAppCreateShell	T{
XtAppCreateShell requires non-NULL widget class
T}
invalidClass	xtCreatePopupShell	T{
XtCreatePopupShell requires non-NULL widget class
T}
invalidClass	xtCreateWidget	T{
XtCreateWidget requires non-NULL widget class
T}
invalidClass	xtPopdown	T{
XtPopdown requires a subclass of shellWidgetClass
T}
invalidClass	xtPopup	T{
XtPopup requires a subclass of shellWidgetClass
T}
invalidDimension	xtCreateWindow	T{
Widget %s has zero width and/or height
T}
invalidDimension	shellRealize	T{
Shell widget %s has zero width and/or height
T}
invalidDisplay	xtInitialize	T{
Can't Open display
T}
invalidGeometryManager	xtMakeGeometryRequest	T{
XtMakeGeometryRequest - parent has no geometry manger
T}
invalidParameter	removePopupFromParent	T{
RemovePopupFromParent requires non-NULL popuplist
T}
invalidParameter	xtAddInput	T{
invalid condition passed to XtAddInput
T}
invalidParameters	xtMenuPopupAction	T{
MenuPopup wants exactly one argument
T}
invalidParent	realize	T{
Application shell is not a windowed widget?
T}
invalidParent	xtCreatePopupShell	T{
XtCreatePopupShell requires non-NULL parent
T}
invalidParent	xtCreateWidget	T{
XtCreateWidget requires non-NULL parent
T}
invalidParent	xtMakeGeometryRequest	T{
XtMakeGeometryRequest - NULL parent. Use SetValues instead
T}
invalidParent	xtMakeGeometryRequest	T{
XtMakeGeometryRequest - parent not composite
T}
invalidParent	xtManageChildren	T{
Attempt to manage a child when parent is not Composite
T}
invalidParent	xtUnmanageChildren	T{
Attempt to unmanage a child when parent is not Composite
T}
invalidProcedure	inheritanceProc	T{
Unresolved inheritance operation
T}
invalidProcedure	realizeProc	T{
No realize class procedure defined
T}
invalidWindow	eventHandler	T{
Event with wrong window
T}
missingEvent	shell	T{
Events are disappearing from under Shell
T}
noAppContext	widgetToApplicationContext	T{
Couldn't find ancestor with display information
T}
noPerDisplay	closeDisplay	T{
Couldn't find per display information
T}
noPerDisplay	getPerDisplay	T{
Couldn't find per display information
T}
noSelectionProperties	freeSelectionProperty	T{
internal error: no selection property context for display
T}
nullProc	insertChild	T{
NULL insert_child procedure
T}
subclassMismatch	xtCheckSubclass	T{
Widget class %s found when subclass of %s expected: %s
T}
translationError	mergingTablesWithCycles	T{
Trying to merge translation tables with cycles, and can't resolve this cycle.
T}
.sp 6p
_
.TE
.ps 11
.nr PS 11
.SH
Warning Messages
.LP
.ps 9
.nr PS 9
.TS
lw(1.3i) lw(1.4i) lw(2.9i).
_
.sp 6p
Name	Type	Default Message
.sp 6p
_
.sp 6p
ambiguousParent	xtManageChildren	T{
Not all children have same parent in XtManageChildren
T}
ambiguousParent	xtUnmanageChildren	T{
Not all children have same parent in XtUnmanageChildren
T}
communicationError	windowManager	T{
Window Manager is confused
T}
conversionError	string	T{
Cannot convert string "%s" to type %s
T}
displayError	invalidDisplay	T{
Can't find display structure
T}
grabError	xtAddGrab	T{
XtAddGrab requires exclusive grab if spring_loaded is TRUE
T}
grabError	grabDestroyCallback	T{
XtAddGrab requires exclusive grab if spring_loaded is TRUE
T}
grabError	xtRemoveGrab	T{
XtRemoveGrab asked to remove a widget not on the grab list
T}
initializationError	xtInitialize	T{
Initializing Resource Lists twice
T}
invalidArgCount	getResources	T{
argument count > 0 on NULL argument list
T}
invalidCallbackList	xtAddCallbacks	T{
Cannot find callback list in XtAddCallbacks
T}
invalidCallbackList	xtCallCallback	T{
Cannot find callback list in XtCallCallbacks
T}
invalidCallbackList	xtOverrideCallback	T{
Cannot find callback list in XtOverrideCallbacks
T}
invalidCallbackList	xtRemoveAllCallback	T{
Cannot find callback list in XtRemoveAllCallbacks
T}
invalidCallbackList	xtRemoveCallbacks	T{
Cannot find callback list in XtRemoveCallbacks
T}
invalidChild	xtManageChildren	T{
null child passed to XtManageChildren
T}
invalidChild	xtUnmanageChildren	T{
Null child passed to XtUnmanageChildren
T}
invalidDepth	setValues	T{
Can't change widget depth
T}
invalidGeometry	xtMakeGeometryRequest	T{
Shell subclass did not take care of geometry in XtSetValues
T}
invalidParameters	compileAccelerators	T{
String to AcceleratorTable needs no extra arguments
T}
invalidParameters	compileTranslations	T{
String to TranslationTable needs no extra arguments
T}
invalidParameters	mergeTranslations	T{
MergeTM to TranslationTable needs no extra arguments
T}
invalidParameters	xtMenuPopdown	T{
XtMenuPopdown called with num_params != 0 or 1
T}
invalidParent	xtCopyFromParent	T{
CopyFromParent must have non-NULL parent
T}
invalidPopup	xtMenuPopup	T{
Can't find popup in _XtMenuPopup
T}
invalidPopup	xtMenuPopdown	T{
Can't find popup in _XtMenuPopdown
T}
invalidPopup	unsupportedOperation	T{
Pop-up menu creation is only supported on ButtonPress or EnterNotify events.
T}
invalidPopup	unsupportedOperation	T{
Pop-up menu creation is only supported on ButtonPress or EnterNotify events.
T}
invalidProcedure	deleteChild	T{
null delete_child procedure in XtDestroy
T}
invalidProcedure	inputHandler	T{
XtRemoveInput: Input handler not found
T}
invalidProcedure	set_values_almost	T{
set_values_almost procedure shouldn't be NULL
T}
invalidResourceCount	getResources	T{
resource count > 0 on NULL resource list
T}
invalidResourceName	computeArgs	T{
Cannot find resource name %s as argument to conversion
T}
invalidShell	xtTranslateCoords	T{
Widget has no shell ancestor
T}
invalidSizeOverride	xtDependencies	T{
Representation size %d must match superclass's to override %s
T}
invalidTypeOverride	xtDependencies	T{
Representation type %s must match superclass's to override %s
T}
invalidWidget	removePopupFromParent	T{
RemovePopupFromParent,widget not on parent list
T}
missingCharsetList	cvtStringToFontSet	T{
Missing charsets in String to FontSet conversion
T}
noColormap	cvtStringToPixel	T{
Cannot allocate colormap entry for "%s"
T}
registerWindowError	xtRegisterWindow	T{
Attempt to change already registered window.
T}
registerWindowError	xtUnregisterWindow	T{
Attempt to unregister invalid window.
T}
translation error	nullTable	T{
Can't remove accelerators from NULL table
T}
translation error	nullTable	T{
Tried to remove non-existant accelerators
T}
translationError	ambiguousActions	T{
Overriding earlier translation manager actions.
T}
translationError	mergingNullTable	T{
Old translation table was null, cannot modify.
T}
translationError	nullTable	T{
Can't translate event through NULL table
T}
translationError	unboundActions	T{
Actions not found: %s
T}
translationError	xtTranslateInitialize	T{
Initializing Translation manager twice.
T}
translationParseError	showLine	T{
 ... found while parsing '%s'
T}
translationParseError	parseError	T{
translation table syntax error: %s
T}
translationParseError	parseString	Missing '\\'.
typeConversionError	noConverter	T{
No type converter registered for '%s' to '%s' conversion.
T}
versionMismatch	widget	T{
Widget class %s version mismatch:\\n widget %d vs. intrinsics %d.
T}
.TE
.TS
lw(1.3i) lw(1.4i) lw(2.9i).
wrongParameters	cvtIntOrPixelToXColor	T{
Pixel to color conversion needs screen and colormap arguments
T}
wrongParameters	cvtIntToBool	T{
Integer to Bool conversion needs no extra arguments
T}
wrongParameters	cvtIntToBoolean	T{
Integer to Boolean conversion needs no extra arguments
T}
wrongParameters	cvtIntToFont	T{
Integer to Font conversion needs no extra arguments
T}
wrongParameters	cvtIntToPixel	T{
Integer to Pixel conversion needs no extra arguments
T}
wrongParameters	cvtIntToPixmap	T{
Integer to Pixmap conversion needs no extra arguments
T}
wrongParameters	cvtIntToShort	T{
Integer to Short conversion needs no extra arguments
T}
wrongParameters	cvtStringToBool	T{
String to Bool conversion needs no extra arguments
T}
wrongParameters	cvtStringToBoolean	T{
String to Boolean conversion needs no extra arguments
T}
wrongParameters	cvtStringToCursor	T{
String to cursor conversion needs screen argument
T}
wrongParameters	cvtStringToDisplay	T{
String to Display conversion needs no extra arguments
T}
wrongParameters	cvtStringToFile	T{
String to File conversion needs no extra arguments
T}
wrongParameters	cvtStringToFont	T{
String to font conversion needs screen argument
T}
wrongParameters	cvtStringToFontSet	T{
String to FontSet conversion needs display and locale arguments
T}
wrongParameters	cvtStringToFontStruct	T{
String to cursor conversion needs screen argument
T}
wrongParameters	cvtStringToInt	T{
String to Integer conversion needs no extra arguments
T}
wrongParameters	cvtStringToPixel	T{
String to pixel conversion needs screen and colormap arguments
T}
wrongParameters	cvtStringToShort	T{
String to Integer conversion needs no extra arguments
T}
wrongParameters	cvtStringToUnsignedChar	T{
String to Integer conversion needs no extra arguments
T}
wrongParameters	cvtXColorToPixel	T{
Color to Pixel conversion needs no extra arguments
T}
.sp 6p
_
.TE
.ps 11
.nr PS 11
