.bp
\&
.sp 1
.ce 3
\s+1\fBAppendix D\fP\s-1

\s+1\fBStandard Errors and Warnings\fP\s-1
.sp 2
.LP
.XS
Appendix D \- Standard Errors and Warnings
.XE
.LP
All \*(tk errors and warnings have class
.PN XtToolkitError .
The following two tables summarize all of the errors and warnings that can be
generated by the \*(tk.
.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}
invalidParameters	xtmenuPopdown	T{
XtMenuPopdown called with num_params != 0 or 1
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}
invalidPopup	xtMenuPopup	T{
Can't find popup in _XtMenuPopup
T}
invalidPopup	xtMenuPopup	T{
Can't find popup in _XtMenuPopup
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}
wrongParameters	cvtIntOrPixelToXColor	T{
Pixel to color conversion needs screen and colormap arguments
T}
wrongParameters	cvtStringToCursor	T{
String to cursor conversion needs screen argument
T}
wrongParameters	cvtStringToFont	T{
String to font conversion needs screen argument
T}
wrongParameters	cvtStringToFontStruct	T{
String to cursor conversion needs screen argument
T}
wrongParameters	cvtStringToPixel	T{
String to pixel conversion needs screen and colormap arguments
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
ambigiousParent	xtManageChildren	T{
Not all children have same parent in XtManageChildren
T}
ambigiousParent	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	grabDestroyCallback	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}
invalidParent	xtCopyFromParent	T{
CopyFromParent must have non-NULL parent
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}
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	ambigiousActions	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 thorugh NULL table
T}
translationError	unboundActions	T{
Actions not found: %s
T}
translationError	xtTranslateInitialize	T{
Intializing 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}
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	cvtStringToDisplay	T{
String to Display conversion needs no extra arguments
T}
wrongParameters	cvtStringToFile	T{
String to File conversion needs no extra arguments
T}
wrongParameters	cvtStringToInt	T{
String to Integer conversion needs no extra 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
