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