home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / X / mit / doc / Xt / appD < prev    next >
Encoding:
Text File  |  1991-08-27  |  10.6 KB  |  404 lines

  1. .\" $XConsortium: appD,v 1.5 91/08/27 10:13:45 swick Exp $
  2. .\"
  3. .\" Copyright 1985, 1986, 1987, 1988, 1991
  4. .\" Massachusetts Institute of Technology, Cambridge, Massachusetts,
  5. .\" and Digital Equipment Corporation, Maynard, Massachusetts.
  6. .\"
  7. .\" Permission to use, copy, modify and distribute this documentation for any
  8. .\" purpose and without fee is hereby granted, provided that the above copyright
  9. .\" notice appears in all copies and that both that copyright notice and this
  10. .\" permission notice appear in supporting documentation, and that the name of
  11. .\" M.I.T. or Digital not be used in in advertising or publicity pertaining
  12. .\" to distribution of the software without specific, written prior permission.
  13. .\" M.I.T and Digital makes no representations about the suitability of the
  14. .\" software described herein for any purpose.
  15. .\" It is provided ``as is'' without express or implied warranty.
  16. .bp
  17. \&
  18. .sp 1
  19. .ce 3
  20. \s+1\fBAppendix D\fP\s-1
  21.  
  22. \s+1\fBIntrinsics Error Messages\fP\s-1
  23. .sp 2
  24. .LP
  25. .XS
  26. Appendix D \- Intrinsics Error Messages
  27. .XE
  28. .LP
  29. All \*(xI errors and warnings have class
  30. ``XtToolkitError''.
  31. The following two tables summarize the common errors and warnings that can be
  32. generated by the \*(xI.
  33. Additional implementation-dependent messages are permitted.
  34. .SH 
  35. Error Messages
  36. .LP
  37. .ps 9
  38. .nr PS 9
  39. .TS
  40. lw(1.3i) lw(1.4i) lw(2.9i).
  41. _
  42. .sp 6p
  43. Name    Type    Default Message
  44. .sp 6p
  45. _
  46. .sp 6p
  47. allocError    calloc    T{
  48. Cannot perform calloc
  49. T}
  50. allocError    malloc    T{
  51. Cannot perform malloc
  52. T}
  53. allocError    realloc    T{
  54. Cannot perform realloc
  55. T}
  56. communicationError    select    T{
  57. Select failed
  58. T}
  59. internalError    shell    T{
  60. Shell's window manager interaction is broken
  61. T}
  62. invalidArgCount    xtGetValues    T{
  63. Argument count > 0 on NULL argument list in XtGetValues
  64. T}
  65. invalidArgCount    xtSetValues    T{
  66. Argument count > 0 on NULL argument list in XtSetValues
  67. T}
  68. invalidClass    constraintSetValue    T{
  69. Subclass of Constraint required in CallConstraintSetValues
  70. T}
  71. invalidClass    xtAppCreateShell    T{
  72. XtAppCreateShell requires non-NULL widget class
  73. T}
  74. invalidClass    xtCreatePopupShell    T{
  75. XtCreatePopupShell requires non-NULL widget class
  76. T}
  77. invalidClass    xtCreateWidget    T{
  78. XtCreateWidget requires non-NULL widget class
  79. T}
  80. invalidClass    xtPopdown    T{
  81. XtPopdown requires a subclass of shellWidgetClass
  82. T}
  83. invalidClass    xtPopup    T{
  84. XtPopup requires a subclass of shellWidgetClass
  85. T}
  86. invalidDimension    xtCreateWindow    T{
  87. Widget %s has zero width and/or height
  88. T}
  89. invalidDimension    shellRealize    T{
  90. Shell widget %s has zero width and/or height
  91. T}
  92. invalidDisplay    xtInitialize    T{
  93. Can't Open display
  94. T}
  95. invalidGeometryManager    xtMakeGeometryRequest    T{
  96. XtMakeGeometryRequest - parent has no geometry manger
  97. T}
  98. invalidParameter    removePopupFromParent    T{
  99. RemovePopupFromParent requires non-NULL popuplist
  100. T}
  101. invalidParameter    xtAddInput    T{
  102. invalid condition passed to XtAddInput
  103. T}
  104. invalidParameters    xtMenuPopupAction    T{
  105. MenuPopup wants exactly one argument
  106. T}
  107. invalidParent    realize    T{
  108. Application shell is not a windowed widget?
  109. T}
  110. invalidParent    xtCreatePopupShell    T{
  111. XtCreatePopupShell requires non-NULL parent
  112. T}
  113. invalidParent    xtCreateWidget    T{
  114. XtCreateWidget requires non-NULL parent
  115. T}
  116. invalidParent    xtMakeGeometryRequest    T{
  117. XtMakeGeometryRequest - NULL parent. Use SetValues instead
  118. T}
  119. invalidParent    xtMakeGeometryRequest    T{
  120. XtMakeGeometryRequest - parent not composite
  121. T}
  122. invalidParent    xtManageChildren    T{
  123. Attempt to manage a child when parent is not Composite
  124. T}
  125. invalidParent    xtUnmanageChildren    T{
  126. Attempt to unmanage a child when parent is not Composite
  127. T}
  128. invalidProcedure    inheritanceProc    T{
  129. Unresolved inheritance operation
  130. T}
  131. invalidProcedure    realizeProc    T{
  132. No realize class procedure defined
  133. T}
  134. invalidWindow    eventHandler    T{
  135. Event with wrong window
  136. T}
  137. missingEvent    shell    T{
  138. Events are disappearing from under Shell
  139. T}
  140. noAppContext    widgetToApplicationContext    T{
  141. Couldn't find ancestor with display information
  142. T}
  143. noPerDisplay    closeDisplay    T{
  144. Couldn't find per display information
  145. T}
  146. noPerDisplay    getPerDisplay    T{
  147. Couldn't find per display information
  148. T}
  149. noSelectionProperties    freeSelectionProperty    T{
  150. internal error: no selection property context for display
  151. T}
  152. nullProc    insertChild    T{
  153. NULL insert_child procedure
  154. T}
  155. subclassMismatch    xtCheckSubclass    T{
  156. Widget class %s found when subclass of %s expected: %s
  157. T}
  158. translationError    mergingTablesWithCycles    T{
  159. Trying to merge translation tables with cycles, and can't resolve this cycle.
  160. T}
  161. .sp 6p
  162. _
  163. .TE
  164. .ps 11
  165. .nr PS 11
  166. .SH
  167. Warning Messages
  168. .LP
  169. .ps 9
  170. .nr PS 9
  171. .TS
  172. lw(1.3i) lw(1.4i) lw(2.9i).
  173. _
  174. .sp 6p
  175. Name    Type    Default Message
  176. .sp 6p
  177. _
  178. .sp 6p
  179. ambiguousParent    xtManageChildren    T{
  180. Not all children have same parent in XtManageChildren
  181. T}
  182. ambiguousParent    xtUnmanageChildren    T{
  183. Not all children have same parent in XtUnmanageChildren
  184. T}
  185. communicationError    windowManager    T{
  186. Window Manager is confused
  187. T}
  188. conversionError    string    T{
  189. Cannot convert string "%s" to type %s
  190. T}
  191. displayError    invalidDisplay    T{
  192. Can't find display structure
  193. T}
  194. grabError    xtAddGrab    T{
  195. XtAddGrab requires exclusive grab if spring_loaded is TRUE
  196. T}
  197. grabError    grabDestroyCallback    T{
  198. XtAddGrab requires exclusive grab if spring_loaded is TRUE
  199. T}
  200. grabError    xtRemoveGrab    T{
  201. XtRemoveGrab asked to remove a widget not on the grab list
  202. T}
  203. initializationError    xtInitialize    T{
  204. Initializing Resource Lists twice
  205. T}
  206. invalidArgCount    getResources    T{
  207. argument count > 0 on NULL argument list
  208. T}
  209. invalidCallbackList    xtAddCallbacks    T{
  210. Cannot find callback list in XtAddCallbacks
  211. T}
  212. invalidCallbackList    xtCallCallback    T{
  213. Cannot find callback list in XtCallCallbacks
  214. T}
  215. invalidCallbackList    xtOverrideCallback    T{
  216. Cannot find callback list in XtOverrideCallbacks
  217. T}
  218. invalidCallbackList    xtRemoveAllCallback    T{
  219. Cannot find callback list in XtRemoveAllCallbacks
  220. T}
  221. invalidCallbackList    xtRemoveCallbacks    T{
  222. Cannot find callback list in XtRemoveCallbacks
  223. T}
  224. invalidChild    xtManageChildren    T{
  225. null child passed to XtManageChildren
  226. T}
  227. invalidChild    xtUnmanageChildren    T{
  228. Null child passed to XtUnmanageChildren
  229. T}
  230. invalidDepth    setValues    T{
  231. Can't change widget depth
  232. T}
  233. invalidGeometry    xtMakeGeometryRequest    T{
  234. Shell subclass did not take care of geometry in XtSetValues
  235. T}
  236. invalidParameters    compileAccelerators    T{
  237. String to AcceleratorTable needs no extra arguments
  238. T}
  239. invalidParameters    compileTranslations    T{
  240. String to TranslationTable needs no extra arguments
  241. T}
  242. invalidParameters    mergeTranslations    T{
  243. MergeTM to TranslationTable needs no extra arguments
  244. T}
  245. invalidParameters    xtMenuPopdown    T{
  246. XtMenuPopdown called with num_params != 0 or 1
  247. T}
  248. invalidParent    xtCopyFromParent    T{
  249. CopyFromParent must have non-NULL parent
  250. T}
  251. invalidPopup    xtMenuPopup    T{
  252. Can't find popup in _XtMenuPopup
  253. T}
  254. invalidPopup    xtMenuPopdown    T{
  255. Can't find popup in _XtMenuPopdown
  256. T}
  257. invalidPopup    unsupportedOperation    T{
  258. Pop-up menu creation is only supported on ButtonPress or EnterNotify events.
  259. T}
  260. invalidPopup    unsupportedOperation    T{
  261. Pop-up menu creation is only supported on ButtonPress or EnterNotify events.
  262. T}
  263. invalidProcedure    deleteChild    T{
  264. null delete_child procedure in XtDestroy
  265. T}
  266. invalidProcedure    inputHandler    T{
  267. XtRemoveInput: Input handler not found
  268. T}
  269. invalidProcedure    set_values_almost    T{
  270. set_values_almost procedure shouldn't be NULL
  271. T}
  272. invalidResourceCount    getResources    T{
  273. resource count > 0 on NULL resource list
  274. T}
  275. invalidResourceName    computeArgs    T{
  276. Cannot find resource name %s as argument to conversion
  277. T}
  278. invalidShell    xtTranslateCoords    T{
  279. Widget has no shell ancestor
  280. T}
  281. invalidSizeOverride    xtDependencies    T{
  282. Representation size %d must match superclass's to override %s
  283. T}
  284. invalidTypeOverride    xtDependencies    T{
  285. Representation type %s must match superclass's to override %s
  286. T}
  287. invalidWidget    removePopupFromParent    T{
  288. RemovePopupFromParent,widget not on parent list
  289. T}
  290. missingCharsetList    cvtStringToFontSet    T{
  291. Missing charsets in String to FontSet conversion
  292. T}
  293. noColormap    cvtStringToPixel    T{
  294. Cannot allocate colormap entry for "%s"
  295. T}
  296. registerWindowError    xtRegisterWindow    T{
  297. Attempt to change already registered window.
  298. T}
  299. registerWindowError    xtUnregisterWindow    T{
  300. Attempt to unregister invalid window.
  301. T}
  302. translation error    nullTable    T{
  303. Can't remove accelerators from NULL table
  304. T}
  305. translation error    nullTable    T{
  306. Tried to remove non-existant accelerators
  307. T}
  308. translationError    ambiguousActions    T{
  309. Overriding earlier translation manager actions.
  310. T}
  311. translationError    mergingNullTable    T{
  312. Old translation table was null, cannot modify.
  313. T}
  314. translationError    nullTable    T{
  315. Can't translate event thorugh NULL table
  316. T}
  317. translationError    unboundActions    T{
  318. Actions not found: %s
  319. T}
  320. translationError    xtTranslateInitialize    T{
  321. Initializing Translation manager twice.
  322. T}
  323. translationParseError    showLine    T{
  324.  ... found while parsing '%s'
  325. T}
  326. translationParseError    parseError    T{
  327. translation table syntax error: %s
  328. T}
  329. translationParseError    parseString    Missing '\\'.
  330. typeConversionError    noConverter    T{
  331. No type converter registered for '%s' to '%s' conversion.
  332. T}
  333. versionMismatch    widget    T{
  334. Widget class %s version mismatch:\n widget %d vs. intrinsics %d.
  335. T}
  336. .TE
  337. .TS
  338. lw(1.3i) lw(1.4i) lw(2.9i).
  339. wrongParameters    cvtIntOrPixelToXColor    T{
  340. Pixel to color conversion needs screen and colormap arguments
  341. T}
  342. wrongParameters    cvtIntToBool    T{
  343. Integer to Bool conversion needs no extra arguments
  344. T}
  345. wrongParameters    cvtIntToBoolean    T{
  346. Integer to Boolean conversion needs no extra arguments
  347. T}
  348. wrongParameters    cvtIntToFont    T{
  349. Integer to Font conversion needs no extra arguments
  350. T}
  351. wrongParameters    cvtIntToPixel    T{
  352. Integer to Pixel conversion needs no extra arguments
  353. T}
  354. wrongParameters    cvtIntToPixmap    T{
  355. Integer to Pixmap conversion needs no extra arguments
  356. T}
  357. wrongParameters    cvtIntToShort    T{
  358. Integer to Short conversion needs no extra arguments
  359. T}
  360. wrongParameters    cvtStringToBool    T{
  361. String to Bool conversion needs no extra arguments
  362. T}
  363. wrongParameters    cvtStringToBoolean    T{
  364. String to Boolean conversion needs no extra arguments
  365. T}
  366. wrongParameters    cvtStringToCursor    T{
  367. String to cursor conversion needs screen argument
  368. T}
  369. wrongParameters    cvtStringToDisplay    T{
  370. String to Display conversion needs no extra arguments
  371. T}
  372. wrongParameters    cvtStringToFile    T{
  373. String to File conversion needs no extra arguments
  374. T}
  375. wrongParameters    cvtStringToFont    T{
  376. String to font conversion needs screen argument
  377. T}
  378. wrongParameters    cvtStringToFontSet    T{
  379. String to FontSet conversion needs display and locale arguments
  380. T}
  381. wrongParameters    cvtStringToFontStruct    T{
  382. String to cursor conversion needs screen argument
  383. T}
  384. wrongParameters    cvtStringToInt    T{
  385. String to Integer conversion needs no extra arguments
  386. T}
  387. wrongParameters    cvtStringToPixel    T{
  388. String to pixel conversion needs screen and colormap arguments
  389. T}
  390. wrongParameters    cvtStringToShort    T{
  391. String to Integer conversion needs no extra arguments
  392. T}
  393. wrongParameters    cvtStringToUnsignedChar    T{
  394. String to Integer conversion needs no extra arguments
  395. T}
  396. wrongParameters    cvtXColorToPixel    T{
  397. Color to Pixel conversion needs no extra arguments
  398. T}
  399. .sp 6p
  400. _
  401. .TE
  402. .ps 11
  403. .nr PS 11
  404.