summaryrefslogtreecommitdiff
path: root/xc/doc/specs/Xt/appD
blob: 616a84186369dac44d8d54aa5919df5f7d058678 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
.\" $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