/[dtapublic]/projs/trunk/shared_source/c_tk_base_7_5_w_mods/tkstubinit.c
ViewVC logotype

Contents of /projs/trunk/shared_source/c_tk_base_7_5_w_mods/tkstubinit.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 69 - (show annotations) (download)
Sat Nov 5 10:54:17 2016 UTC (7 years, 4 months ago) by dashley
File MIME type: text/plain
File size: 28381 byte(s)
License and property (keyword) changes.
1 /* $Header$ */
2
3 /*
4 * tkStubInit.c --
5 *
6 * This file contains the initializers for the Tk stub vectors.
7 *
8 * Copyright (c) 1998-1999 by Scriptics Corporation.
9 *
10 * See the file "license.terms" for information on usage and redistribution
11 * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
12 *
13 * RCS: @(#) $Id: tkstubinit.c,v 1.1.1.1 2001/06/13 05:08:18 dtashley Exp $
14 */
15
16 #include "tkInt.h"
17 #include "tkPort.h"
18
19 #ifdef __WIN32__
20 #include "tkWinInt.h"
21 #endif
22 #ifdef MAC_TCL
23 #include "tkMacInt.h"
24 #endif
25
26 #include "tkDecls.h"
27 #include "tkPlatDecls.h"
28 #include "tkIntDecls.h"
29 #include "tkIntPlatDecls.h"
30 #include "tkIntXlibDecls.h"
31
32 /*
33 * Remove macros that will interfere with the definitions below.
34 */
35
36 #define Tk_CreateCanvasVisitor ((void (*) _ANSI_ARGS_((Tcl_Interp * interp, \
37 VOID * typePtr))) NULL)
38 #define Tk_GetCanvasVisitor ((VOID * (*) _ANSI_ARGS_((Tcl_Interp * interp, \
39 CONST char * name))) NULL)
40
41 /*
42 * WARNING: The contents of this file is automatically generated by the
43 * tools/genStubs.tcl script. Any modifications to the function declarations
44 * below should be made in the generic/tk.decls script.
45 */
46
47 /* !BEGIN!: Do not edit below this line. */
48
49 TkIntStubs tkIntStubs = {
50 TCL_STUB_MAGIC,
51 NULL,
52 TkAllocWindow, /* 0 */
53 TkBezierPoints, /* 1 */
54 TkBezierScreenPoints, /* 2 */
55 TkBindDeadWindow, /* 3 */
56 TkBindEventProc, /* 4 */
57 TkBindFree, /* 5 */
58 TkBindInit, /* 6 */
59 TkChangeEventWindow, /* 7 */
60 TkClipInit, /* 8 */
61 TkComputeAnchor, /* 9 */
62 TkCopyAndGlobalEval, /* 10 */
63 TkCreateBindingProcedure, /* 11 */
64 TkCreateCursorFromData, /* 12 */
65 TkCreateFrame, /* 13 */
66 TkCreateMainWindow, /* 14 */
67 TkCurrentTime, /* 15 */
68 TkDeleteAllImages, /* 16 */
69 TkDoConfigureNotify, /* 17 */
70 TkDrawInsetFocusHighlight, /* 18 */
71 TkEventDeadWindow, /* 19 */
72 TkFillPolygon, /* 20 */
73 TkFindStateNum, /* 21 */
74 TkFindStateString, /* 22 */
75 TkFocusDeadWindow, /* 23 */
76 TkFocusFilterEvent, /* 24 */
77 TkFocusKeyEvent, /* 25 */
78 TkFontPkgInit, /* 26 */
79 TkFontPkgFree, /* 27 */
80 TkFreeBindingTags, /* 28 */
81 TkpFreeCursor, /* 29 */
82 TkGetBitmapData, /* 30 */
83 TkGetButtPoints, /* 31 */
84 TkGetCursorByName, /* 32 */
85 TkGetDefaultScreenName, /* 33 */
86 TkGetDisplay, /* 34 */
87 TkGetDisplayOf, /* 35 */
88 TkGetFocusWin, /* 36 */
89 TkGetInterpNames, /* 37 */
90 TkGetMiterPoints, /* 38 */
91 TkGetPointerCoords, /* 39 */
92 TkGetServerInfo, /* 40 */
93 TkGrabDeadWindow, /* 41 */
94 TkGrabState, /* 42 */
95 TkIncludePoint, /* 43 */
96 TkInOutEvents, /* 44 */
97 TkInstallFrameMenu, /* 45 */
98 TkKeysymToString, /* 46 */
99 TkLineToArea, /* 47 */
100 TkLineToPoint, /* 48 */
101 TkMakeBezierCurve, /* 49 */
102 TkMakeBezierPostscript, /* 50 */
103 TkOptionClassChanged, /* 51 */
104 TkOptionDeadWindow, /* 52 */
105 TkOvalToArea, /* 53 */
106 TkOvalToPoint, /* 54 */
107 TkpChangeFocus, /* 55 */
108 TkpCloseDisplay, /* 56 */
109 TkpClaimFocus, /* 57 */
110 TkpDisplayWarning, /* 58 */
111 TkpGetAppName, /* 59 */
112 TkpGetOtherWindow, /* 60 */
113 TkpGetWrapperWindow, /* 61 */
114 TkpInit, /* 62 */
115 TkpInitializeMenuBindings, /* 63 */
116 TkpMakeContainer, /* 64 */
117 TkpMakeMenuWindow, /* 65 */
118 TkpMakeWindow, /* 66 */
119 TkpMenuNotifyToplevelCreate, /* 67 */
120 TkpOpenDisplay, /* 68 */
121 TkPointerEvent, /* 69 */
122 TkPolygonToArea, /* 70 */
123 TkPolygonToPoint, /* 71 */
124 TkPositionInTree, /* 72 */
125 TkpRedirectKeyEvent, /* 73 */
126 TkpSetMainMenubar, /* 74 */
127 TkpUseWindow, /* 75 */
128 TkpWindowWasRecentlyDeleted, /* 76 */
129 TkQueueEventForAllChildren, /* 77 */
130 TkReadBitmapFile, /* 78 */
131 TkScrollWindow, /* 79 */
132 TkSelDeadWindow, /* 80 */
133 TkSelEventProc, /* 81 */
134 TkSelInit, /* 82 */
135 TkSelPropProc, /* 83 */
136 TkSetClassProcs, /* 84 */
137 TkSetWindowMenuBar, /* 85 */
138 TkStringToKeysym, /* 86 */
139 TkThickPolyLineToArea, /* 87 */
140 TkWmAddToColormapWindows, /* 88 */
141 TkWmDeadWindow, /* 89 */
142 TkWmFocusToplevel, /* 90 */
143 TkWmMapWindow, /* 91 */
144 TkWmNewWindow, /* 92 */
145 TkWmProtocolEventProc, /* 93 */
146 TkWmRemoveFromColormapWindows, /* 94 */
147 TkWmRestackToplevel, /* 95 */
148 TkWmSetClass, /* 96 */
149 TkWmUnmapWindow, /* 97 */
150 TkDebugBitmap, /* 98 */
151 TkDebugBorder, /* 99 */
152 TkDebugCursor, /* 100 */
153 TkDebugColor, /* 101 */
154 TkDebugConfig, /* 102 */
155 TkDebugFont, /* 103 */
156 TkFindStateNumObj, /* 104 */
157 TkGetBitmapPredefTable, /* 105 */
158 TkGetDisplayList, /* 106 */
159 TkGetMainInfoList, /* 107 */
160 TkGetWindowFromObj, /* 108 */
161 TkpGetString, /* 109 */
162 TkpGetSubFonts, /* 110 */
163 TkpGetSystemDefault, /* 111 */
164 TkpMenuThreadInit, /* 112 */
165 #if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */
166 NULL, /* 113 */
167 #endif /* UNIX */
168 #ifdef __WIN32__
169 TkClipBox, /* 113 */
170 #endif /* __WIN32__ */
171 #ifdef MAC_TCL
172 TkClipBox, /* 113 */
173 #endif /* MAC_TCL */
174 #if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */
175 NULL, /* 114 */
176 #endif /* UNIX */
177 #ifdef __WIN32__
178 TkCreateRegion, /* 114 */
179 #endif /* __WIN32__ */
180 #ifdef MAC_TCL
181 TkCreateRegion, /* 114 */
182 #endif /* MAC_TCL */
183 #if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */
184 NULL, /* 115 */
185 #endif /* UNIX */
186 #ifdef __WIN32__
187 TkDestroyRegion, /* 115 */
188 #endif /* __WIN32__ */
189 #ifdef MAC_TCL
190 TkDestroyRegion, /* 115 */
191 #endif /* MAC_TCL */
192 #if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */
193 NULL, /* 116 */
194 #endif /* UNIX */
195 #ifdef __WIN32__
196 TkIntersectRegion, /* 116 */
197 #endif /* __WIN32__ */
198 #ifdef MAC_TCL
199 TkIntersectRegion, /* 116 */
200 #endif /* MAC_TCL */
201 #if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */
202 NULL, /* 117 */
203 #endif /* UNIX */
204 #ifdef __WIN32__
205 TkRectInRegion, /* 117 */
206 #endif /* __WIN32__ */
207 #ifdef MAC_TCL
208 TkRectInRegion, /* 117 */
209 #endif /* MAC_TCL */
210 #if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */
211 NULL, /* 118 */
212 #endif /* UNIX */
213 #ifdef __WIN32__
214 TkSetRegion, /* 118 */
215 #endif /* __WIN32__ */
216 #ifdef MAC_TCL
217 TkSetRegion, /* 118 */
218 #endif /* MAC_TCL */
219 #if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */
220 NULL, /* 119 */
221 #endif /* UNIX */
222 #ifdef __WIN32__
223 TkUnionRectWithRegion, /* 119 */
224 #endif /* __WIN32__ */
225 #ifdef MAC_TCL
226 TkUnionRectWithRegion, /* 119 */
227 #endif /* MAC_TCL */
228 #if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */
229 NULL, /* 120 */
230 #endif /* UNIX */
231 #ifdef __WIN32__
232 NULL, /* 120 */
233 #endif /* __WIN32__ */
234 #ifdef MAC_TCL
235 TkGenerateActivateEvents, /* 120 */
236 #endif /* MAC_TCL */
237 #if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */
238 NULL, /* 121 */
239 #endif /* UNIX */
240 #ifdef __WIN32__
241 NULL, /* 121 */
242 #endif /* __WIN32__ */
243 #ifdef MAC_TCL
244 TkpCreateNativeBitmap, /* 121 */
245 #endif /* MAC_TCL */
246 #if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */
247 NULL, /* 122 */
248 #endif /* UNIX */
249 #ifdef __WIN32__
250 NULL, /* 122 */
251 #endif /* __WIN32__ */
252 #ifdef MAC_TCL
253 TkpDefineNativeBitmaps, /* 122 */
254 #endif /* MAC_TCL */
255 #if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */
256 NULL, /* 123 */
257 #endif /* UNIX */
258 #ifdef __WIN32__
259 NULL, /* 123 */
260 #endif /* __WIN32__ */
261 #ifdef MAC_TCL
262 TkpGetMS, /* 123 */
263 #endif /* MAC_TCL */
264 #if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */
265 NULL, /* 124 */
266 #endif /* UNIX */
267 #ifdef __WIN32__
268 NULL, /* 124 */
269 #endif /* __WIN32__ */
270 #ifdef MAC_TCL
271 TkpGetNativeAppBitmap, /* 124 */
272 #endif /* MAC_TCL */
273 #if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */
274 NULL, /* 125 */
275 #endif /* UNIX */
276 #ifdef __WIN32__
277 NULL, /* 125 */
278 #endif /* __WIN32__ */
279 #ifdef MAC_TCL
280 TkPointerDeadWindow, /* 125 */
281 #endif /* MAC_TCL */
282 #if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */
283 NULL, /* 126 */
284 #endif /* UNIX */
285 #ifdef __WIN32__
286 NULL, /* 126 */
287 #endif /* __WIN32__ */
288 #ifdef MAC_TCL
289 TkpSetCapture, /* 126 */
290 #endif /* MAC_TCL */
291 #if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */
292 NULL, /* 127 */
293 #endif /* UNIX */
294 #ifdef __WIN32__
295 NULL, /* 127 */
296 #endif /* __WIN32__ */
297 #ifdef MAC_TCL
298 TkpSetCursor, /* 127 */
299 #endif /* MAC_TCL */
300 #if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */
301 NULL, /* 128 */
302 #endif /* UNIX */
303 #ifdef __WIN32__
304 NULL, /* 128 */
305 #endif /* __WIN32__ */
306 #ifdef MAC_TCL
307 TkpWmSetState, /* 128 */
308 #endif /* MAC_TCL */
309 NULL, /* 129 */
310 #if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */
311 NULL, /* 130 */
312 #endif /* UNIX */
313 #ifdef __WIN32__
314 NULL, /* 130 */
315 #endif /* __WIN32__ */
316 #ifdef MAC_TCL
317 TkGetTransientMaster, /* 130 */
318 #endif /* MAC_TCL */
319 #if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */
320 NULL, /* 131 */
321 #endif /* UNIX */
322 #ifdef __WIN32__
323 NULL, /* 131 */
324 #endif /* __WIN32__ */
325 #ifdef MAC_TCL
326 TkGenerateButtonEvent, /* 131 */
327 #endif /* MAC_TCL */
328 NULL, /* 132 */
329 #if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */
330 NULL, /* 133 */
331 #endif /* UNIX */
332 #ifdef __WIN32__
333 NULL, /* 133 */
334 #endif /* __WIN32__ */
335 #ifdef MAC_TCL
336 TkGenWMDestroyEvent, /* 133 */
337 #endif /* MAC_TCL */
338 #if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */
339 NULL, /* 134 */
340 #endif /* UNIX */
341 #ifdef __WIN32__
342 NULL, /* 134 */
343 #endif /* __WIN32__ */
344 #ifdef MAC_TCL
345 TkGenWMConfigureEvent, /* 134 */
346 #endif /* MAC_TCL */
347 TkpDrawHighlightBorder, /* 135 */
348 TkSetFocusWin, /* 136 */
349 TkpSetKeycodeAndState, /* 137 */
350 TkpGetKeySym, /* 138 */
351 TkpInitKeymapInfo, /* 139 */
352 };
353
354 TkIntPlatStubs tkIntPlatStubs = {
355 TCL_STUB_MAGIC,
356 NULL,
357 #if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */
358 TkCreateXEventSource, /* 0 */
359 TkFreeWindowId, /* 1 */
360 TkInitXId, /* 2 */
361 TkpCmapStressed, /* 3 */
362 TkpSync, /* 4 */
363 TkUnixContainerId, /* 5 */
364 TkUnixDoOneXEvent, /* 6 */
365 TkUnixSetMenubar, /* 7 */
366 #endif /* UNIX */
367 #ifdef __WIN32__
368 TkAlignImageData, /* 0 */
369 NULL, /* 1 */
370 TkGenerateActivateEvents, /* 2 */
371 TkpGetMS, /* 3 */
372 TkPointerDeadWindow, /* 4 */
373 TkpPrintWindowId, /* 5 */
374 TkpScanWindowId, /* 6 */
375 TkpSetCapture, /* 7 */
376 TkpSetCursor, /* 8 */
377 TkpWmSetState, /* 9 */
378 TkSetPixmapColormap, /* 10 */
379 TkWinCancelMouseTimer, /* 11 */
380 TkWinClipboardRender, /* 12 */
381 TkWinEmbeddedEventProc, /* 13 */
382 TkWinFillRect, /* 14 */
383 TkWinGetBorderPixels, /* 15 */
384 TkWinGetDrawableDC, /* 16 */
385 TkWinGetModifierState, /* 17 */
386 TkWinGetSystemPalette, /* 18 */
387 TkWinGetWrapperWindow, /* 19 */
388 TkWinHandleMenuEvent, /* 20 */
389 TkWinIndexOfColor, /* 21 */
390 TkWinReleaseDrawableDC, /* 22 */
391 TkWinResendEvent, /* 23 */
392 TkWinSelectPalette, /* 24 */
393 TkWinSetMenu, /* 25 */
394 TkWinSetWindowPos, /* 26 */
395 TkWinWmCleanup, /* 27 */
396 TkWinXCleanup, /* 28 */
397 TkWinXInit, /* 29 */
398 TkWinSetForegroundWindow, /* 30 */
399 TkWinDialogDebug, /* 31 */
400 TkWinGetMenuSystemDefault, /* 32 */
401 TkWinGetPlatformId, /* 33 */
402 #endif /* __WIN32__ */
403 #ifdef MAC_TCL
404 TkGenerateActivateEvents, /* 0 */
405 TkpCreateNativeBitmap, /* 1 */
406 TkpDefineNativeBitmaps, /* 2 */
407 TkpGetMS, /* 3 */
408 NULL, /* 4 */
409 TkPointerDeadWindow, /* 5 */
410 TkpSetCapture, /* 6 */
411 TkpSetCursor, /* 7 */
412 TkpWmSetState, /* 8 */
413 NULL, /* 9 */
414 TkAboutDlg, /* 10 */
415 NULL, /* 11 */
416 NULL, /* 12 */
417 TkGetTransientMaster, /* 13 */
418 TkGenerateButtonEvent, /* 14 */
419 NULL, /* 15 */
420 TkGenWMDestroyEvent, /* 16 */
421 TkGenWMConfigureEvent, /* 17 */
422 TkMacButtonKeyState, /* 18 */
423 TkMacClearMenubarActive, /* 19 */
424 TkMacConvertEvent, /* 20 */
425 TkMacDispatchMenuEvent, /* 21 */
426 TkMacInstallCursor, /* 22 */
427 TkMacConvertTkEvent, /* 23 */
428 TkMacHandleTearoffMenu, /* 24 */
429 NULL, /* 25 */
430 TkMacInvalClipRgns, /* 26 */
431 TkMacDoHLEvent, /* 27 */
432 NULL, /* 28 */
433 TkMacGenerateTime, /* 29 */
434 TkMacGetDrawablePort, /* 30 */
435 TkMacGetScrollbarGrowWindow, /* 31 */
436 TkMacGetXWindow, /* 32 */
437 TkMacGrowToplevel, /* 33 */
438 TkMacHandleMenuSelect, /* 34 */
439 TkMacHaveAppearance, /* 35 */
440 TkMacInitAppleEvents, /* 36 */
441 TkMacInitMenus, /* 37 */
442 TkMacInvalidateWindow, /* 38 */
443 TkMacIsCharacterMissing, /* 39 */
444 TkMacMakeRealWindowExist, /* 40 */
445 TkMacMakeStippleMap, /* 41 */
446 TkMacMenuClick, /* 42 */
447 TkMacRegisterOffScreenWindow, /* 43 */
448 TkMacResizable, /* 44 */
449 NULL, /* 45 */
450 TkMacSetHelpMenuItemCount, /* 46 */
451 TkMacSetScrollbarGrow, /* 47 */
452 TkMacSetUpClippingRgn, /* 48 */
453 TkMacSetUpGraphicsPort, /* 49 */
454 TkMacUpdateClipRgn, /* 50 */
455 TkMacUnregisterMacWindow, /* 51 */
456 TkMacUseMenuID, /* 52 */
457 TkMacVisableClipRgn, /* 53 */
458 TkMacWinBounds, /* 54 */
459 TkMacWindowOffset, /* 55 */
460 NULL, /* 56 */
461 TkSetMacColor, /* 57 */
462 TkSetWMName, /* 58 */
463 TkSuspendClipboard, /* 59 */
464 NULL, /* 60 */
465 TkMacZoomToplevel, /* 61 */
466 Tk_TopCoordsToWindow, /* 62 */
467 TkMacContainerId, /* 63 */
468 TkMacGetHostToplevel, /* 64 */
469 TkMacPreprocessMenu, /* 65 */
470 #endif /* MAC_TCL */
471 };
472
473 TkIntXlibStubs tkIntXlibStubs = {
474 TCL_STUB_MAGIC,
475 NULL,
476 #ifdef __WIN32__
477 XSetDashes, /* 0 */
478 XGetModifierMapping, /* 1 */
479 XCreateImage, /* 2 */
480 XGetImage, /* 3 */
481 XGetAtomName, /* 4 */
482 XKeysymToString, /* 5 */
483 XCreateColormap, /* 6 */
484 XCreatePixmapCursor, /* 7 */
485 XCreateGlyphCursor, /* 8 */
486 XGContextFromGC, /* 9 */
487 XListHosts, /* 10 */
488 XKeycodeToKeysym, /* 11 */
489 XStringToKeysym, /* 12 */
490 XRootWindow, /* 13 */
491 XSetErrorHandler, /* 14 */
492 XIconifyWindow, /* 15 */
493 XWithdrawWindow, /* 16 */
494 XGetWMColormapWindows, /* 17 */
495 XAllocColor, /* 18 */
496 XBell, /* 19 */
497 XChangeProperty, /* 20 */
498 XChangeWindowAttributes, /* 21 */
499 XClearWindow, /* 22 */
500 XConfigureWindow, /* 23 */
501 XCopyArea, /* 24 */
502 XCopyPlane, /* 25 */
503 XCreateBitmapFromData, /* 26 */
504 XDefineCursor, /* 27 */
505 XDeleteProperty, /* 28 */
506 XDestroyWindow, /* 29 */
507 XDrawArc, /* 30 */
508 XDrawLines, /* 31 */
509 XDrawRectangle, /* 32 */
510 XFillArc, /* 33 */
511 XFillPolygon, /* 34 */
512 XFillRectangles, /* 35 */
513 XForceScreenSaver, /* 36 */
514 XFreeColormap, /* 37 */
515 XFreeColors, /* 38 */
516 XFreeCursor, /* 39 */
517 XFreeModifiermap, /* 40 */
518 XGetGeometry, /* 41 */
519 XGetInputFocus, /* 42 */
520 XGetWindowProperty, /* 43 */
521 XGetWindowAttributes, /* 44 */
522 XGrabKeyboard, /* 45 */
523 XGrabPointer, /* 46 */
524 XKeysymToKeycode, /* 47 */
525 XLookupColor, /* 48 */
526 XMapWindow, /* 49 */
527 XMoveResizeWindow, /* 50 */
528 XMoveWindow, /* 51 */
529 XNextEvent, /* 52 */
530 XPutBackEvent, /* 53 */
531 XQueryColors, /* 54 */
532 XQueryPointer, /* 55 */
533 XQueryTree, /* 56 */
534 XRaiseWindow, /* 57 */
535 XRefreshKeyboardMapping, /* 58 */
536 XResizeWindow, /* 59 */
537 XSelectInput, /* 60 */
538 XSendEvent, /* 61 */
539 XSetCommand, /* 62 */
540 XSetIconName, /* 63 */
541 XSetInputFocus, /* 64 */
542 XSetSelectionOwner, /* 65 */
543 XSetWindowBackground, /* 66 */
544 XSetWindowBackgroundPixmap, /* 67 */
545 XSetWindowBorder, /* 68 */
546 XSetWindowBorderPixmap, /* 69 */
547 XSetWindowBorderWidth, /* 70 */
548 XSetWindowColormap, /* 71 */
549 XTranslateCoordinates, /* 72 */
550 XUngrabKeyboard, /* 73 */
551 XUngrabPointer, /* 74 */
552 XUnmapWindow, /* 75 */
553 XWindowEvent, /* 76 */
554 XDestroyIC, /* 77 */
555 XFilterEvent, /* 78 */
556 XmbLookupString, /* 79 */
557 TkPutImage, /* 80 */
558 NULL, /* 81 */
559 XParseColor, /* 82 */
560 XCreateGC, /* 83 */
561 XFreeGC, /* 84 */
562 XInternAtom, /* 85 */
563 XSetBackground, /* 86 */
564 XSetForeground, /* 87 */
565 XSetClipMask, /* 88 */
566 XSetClipOrigin, /* 89 */
567 XSetTSOrigin, /* 90 */
568 XChangeGC, /* 91 */
569 XSetFont, /* 92 */
570 XSetArcMode, /* 93 */
571 XSetStipple, /* 94 */
572 XSetFillRule, /* 95 */
573 XSetFillStyle, /* 96 */
574 XSetFunction, /* 97 */
575 XSetLineAttributes, /* 98 */
576 _XInitImageFuncPtrs, /* 99 */
577 XCreateIC, /* 100 */
578 XGetVisualInfo, /* 101 */
579 XSetWMClientMachine, /* 102 */
580 XStringListToTextProperty, /* 103 */
581 XDrawLine, /* 104 */
582 XWarpPointer, /* 105 */
583 XFillRectangle, /* 106 */
584 #endif /* __WIN32__ */
585 #ifdef MAC_TCL
586 XSetDashes, /* 0 */
587 XGetModifierMapping, /* 1 */
588 XCreateImage, /* 2 */
589 XGetImage, /* 3 */
590 XGetAtomName, /* 4 */
591 XKeysymToString, /* 5 */
592 XCreateColormap, /* 6 */
593 XGContextFromGC, /* 7 */
594 XKeycodeToKeysym, /* 8 */
595 XStringToKeysym, /* 9 */
596 XRootWindow, /* 10 */
597 XSetErrorHandler, /* 11 */
598 XAllocColor, /* 12 */
599 XBell, /* 13 */
600 XChangeProperty, /* 14 */
601 XChangeWindowAttributes, /* 15 */
602 XConfigureWindow, /* 16 */
603 XCopyArea, /* 17 */
604 XCopyPlane, /* 18 */
605 XCreateBitmapFromData, /* 19 */
606 XDefineCursor, /* 20 */
607 XDestroyWindow, /* 21 */
608 XDrawArc, /* 22 */
609 XDrawLines, /* 23 */
610 XDrawRectangle, /* 24 */
611 XFillArc, /* 25 */
612 XFillPolygon, /* 26 */
613 XFillRectangles, /* 27 */
614 XFreeColormap, /* 28 */
615 XFreeColors, /* 29 */
616 XFreeModifiermap, /* 30 */
617 XGetGeometry, /* 31 */
618 XGetWindowProperty, /* 32 */
619 XGrabKeyboard, /* 33 */
620 XGrabPointer, /* 34 */
621 XKeysymToKeycode, /* 35 */
622 XMapWindow, /* 36 */
623 XMoveResizeWindow, /* 37 */
624 XMoveWindow, /* 38 */
625 XQueryPointer, /* 39 */
626 XRaiseWindow, /* 40 */
627 XRefreshKeyboardMapping, /* 41 */
628 XResizeWindow, /* 42 */
629 XSelectInput, /* 43 */
630 XSendEvent, /* 44 */
631 XSetIconName, /* 45 */
632 XSetInputFocus, /* 46 */
633 XSetSelectionOwner, /* 47 */
634 XSetWindowBackground, /* 48 */
635 XSetWindowBackgroundPixmap, /* 49 */
636 XSetWindowBorder, /* 50 */
637 XSetWindowBorderPixmap, /* 51 */
638 XSetWindowBorderWidth, /* 52 */
639 XSetWindowColormap, /* 53 */
640 XUngrabKeyboard, /* 54 */
641 XUngrabPointer, /* 55 */
642 XUnmapWindow, /* 56 */
643 TkPutImage, /* 57 */
644 XParseColor, /* 58 */
645 XCreateGC, /* 59 */
646 XFreeGC, /* 60 */
647 XInternAtom, /* 61 */
648 XSetBackground, /* 62 */
649 XSetForeground, /* 63 */
650 XSetClipMask, /* 64 */
651 XSetClipOrigin, /* 65 */
652 XSetTSOrigin, /* 66 */
653 XChangeGC, /* 67 */
654 XSetFont, /* 68 */
655 XSetArcMode, /* 69 */
656 XSetStipple, /* 70 */
657 XSetFillRule, /* 71 */
658 XSetFillStyle, /* 72 */
659 XSetFunction, /* 73 */
660 XSetLineAttributes, /* 74 */
661 _XInitImageFuncPtrs, /* 75 */
662 XCreateIC, /* 76 */
663 XGetVisualInfo, /* 77 */
664 XSetWMClientMachine, /* 78 */
665 XStringListToTextProperty, /* 79 */
666 XDrawSegments, /* 80 */
667 XForceScreenSaver, /* 81 */
668 XDrawLine, /* 82 */
669 XFillRectangle, /* 83 */
670 XClearWindow, /* 84 */
671 XDrawPoint, /* 85 */
672 XDrawPoints, /* 86 */
673 XWarpPointer, /* 87 */
674 XQueryColor, /* 88 */
675 XQueryColors, /* 89 */
676 #endif /* MAC_TCL */
677 };
678
679 TkPlatStubs tkPlatStubs = {
680 TCL_STUB_MAGIC,
681 NULL,
682 #ifdef __WIN32__
683 Tk_AttachHWND, /* 0 */
684 Tk_GetHINSTANCE, /* 1 */
685 Tk_GetHWND, /* 2 */
686 Tk_HWNDToWindow, /* 3 */
687 Tk_PointerEvent, /* 4 */
688 Tk_TranslateWinEvent, /* 5 */
689 #endif /* __WIN32__ */
690 #ifdef MAC_TCL
691 Tk_MacSetEmbedHandler, /* 0 */
692 Tk_MacTurnOffMenus, /* 1 */
693 Tk_MacTkOwnsCursor, /* 2 */
694 TkMacInitMenus, /* 3 */
695 TkMacInitAppleEvents, /* 4 */
696 TkMacConvertEvent, /* 5 */
697 TkMacConvertTkEvent, /* 6 */
698 TkGenWMConfigureEvent, /* 7 */
699 TkMacInvalClipRgns, /* 8 */
700 TkMacHaveAppearance, /* 9 */
701 TkMacGetDrawablePort, /* 10 */
702 #endif /* MAC_TCL */
703 };
704
705 static TkStubHooks tkStubHooks = {
706 &tkPlatStubs,
707 &tkIntStubs,
708 &tkIntPlatStubs,
709 &tkIntXlibStubs
710 };
711
712 TkStubs tkStubs = {
713 TCL_STUB_MAGIC,
714 &tkStubHooks,
715 Tk_MainLoop, /* 0 */
716 Tk_3DBorderColor, /* 1 */
717 Tk_3DBorderGC, /* 2 */
718 Tk_3DHorizontalBevel, /* 3 */
719 Tk_3DVerticalBevel, /* 4 */
720 Tk_AddOption, /* 5 */
721 Tk_BindEvent, /* 6 */
722 Tk_CanvasDrawableCoords, /* 7 */
723 Tk_CanvasEventuallyRedraw, /* 8 */
724 Tk_CanvasGetCoord, /* 9 */
725 Tk_CanvasGetTextInfo, /* 10 */
726 Tk_CanvasPsBitmap, /* 11 */
727 Tk_CanvasPsColor, /* 12 */
728 Tk_CanvasPsFont, /* 13 */
729 Tk_CanvasPsPath, /* 14 */
730 Tk_CanvasPsStipple, /* 15 */
731 Tk_CanvasPsY, /* 16 */
732 Tk_CanvasSetStippleOrigin, /* 17 */
733 Tk_CanvasTagsParseProc, /* 18 */
734 Tk_CanvasTagsPrintProc, /* 19 */
735 Tk_CanvasTkwin, /* 20 */
736 Tk_CanvasWindowCoords, /* 21 */
737 Tk_ChangeWindowAttributes, /* 22 */
738 Tk_CharBbox, /* 23 */
739 Tk_ClearSelection, /* 24 */
740 Tk_ClipboardAppend, /* 25 */
741 Tk_ClipboardClear, /* 26 */
742 Tk_ConfigureInfo, /* 27 */
743 Tk_ConfigureValue, /* 28 */
744 Tk_ConfigureWidget, /* 29 */
745 Tk_ConfigureWindow, /* 30 */
746 Tk_ComputeTextLayout, /* 31 */
747 Tk_CoordsToWindow, /* 32 */
748 Tk_CreateBinding, /* 33 */
749 Tk_CreateBindingTable, /* 34 */
750 Tk_CreateErrorHandler, /* 35 */
751 Tk_CreateEventHandler, /* 36 */
752 Tk_CreateGenericHandler, /* 37 */
753 Tk_CreateImageType, /* 38 */
754 Tk_CreateItemType, /* 39 */
755 Tk_CreatePhotoImageFormat, /* 40 */
756 Tk_CreateSelHandler, /* 41 */
757 Tk_CreateWindow, /* 42 */
758 Tk_CreateWindowFromPath, /* 43 */
759 Tk_DefineBitmap, /* 44 */
760 Tk_DefineCursor, /* 45 */
761 Tk_DeleteAllBindings, /* 46 */
762 Tk_DeleteBinding, /* 47 */
763 Tk_DeleteBindingTable, /* 48 */
764 Tk_DeleteErrorHandler, /* 49 */
765 Tk_DeleteEventHandler, /* 50 */
766 Tk_DeleteGenericHandler, /* 51 */
767 Tk_DeleteImage, /* 52 */
768 Tk_DeleteSelHandler, /* 53 */
769 Tk_DestroyWindow, /* 54 */
770 Tk_DisplayName, /* 55 */
771 Tk_DistanceToTextLayout, /* 56 */
772 Tk_Draw3DPolygon, /* 57 */
773 Tk_Draw3DRectangle, /* 58 */
774 Tk_DrawChars, /* 59 */
775 Tk_DrawFocusHighlight, /* 60 */
776 Tk_DrawTextLayout, /* 61 */
777 Tk_Fill3DPolygon, /* 62 */
778 Tk_Fill3DRectangle, /* 63 */
779 Tk_FindPhoto, /* 64 */
780 Tk_FontId, /* 65 */
781 Tk_Free3DBorder, /* 66 */
782 Tk_FreeBitmap, /* 67 */
783 Tk_FreeColor, /* 68 */
784 Tk_FreeColormap, /* 69 */
785 Tk_FreeCursor, /* 70 */
786 Tk_FreeFont, /* 71 */
787 Tk_FreeGC, /* 72 */
788 Tk_FreeImage, /* 73 */
789 Tk_FreeOptions, /* 74 */
790 Tk_FreePixmap, /* 75 */
791 Tk_FreeTextLayout, /* 76 */
792 Tk_FreeXId, /* 77 */
793 Tk_GCForColor, /* 78 */
794 Tk_GeometryRequest, /* 79 */
795 Tk_Get3DBorder, /* 80 */
796 Tk_GetAllBindings, /* 81 */
797 Tk_GetAnchor, /* 82 */
798 Tk_GetAtomName, /* 83 */
799 Tk_GetBinding, /* 84 */
800 Tk_GetBitmap, /* 85 */
801 Tk_GetBitmapFromData, /* 86 */
802 Tk_GetCapStyle, /* 87 */
803 Tk_GetColor, /* 88 */
804 Tk_GetColorByValue, /* 89 */
805 Tk_GetColormap, /* 90 */
806 Tk_GetCursor, /* 91 */
807 Tk_GetCursorFromData, /* 92 */
808 Tk_GetFont, /* 93 */
809 Tk_GetFontFromObj, /* 94 */
810 Tk_GetFontMetrics, /* 95 */
811 Tk_GetGC, /* 96 */
812 Tk_GetImage, /* 97 */
813 Tk_GetImageMasterData, /* 98 */
814 Tk_GetItemTypes, /* 99 */
815 Tk_GetJoinStyle, /* 100 */
816 Tk_GetJustify, /* 101 */
817 Tk_GetNumMainWindows, /* 102 */
818 Tk_GetOption, /* 103 */
819 Tk_GetPixels, /* 104 */
820 Tk_GetPixmap, /* 105 */
821 Tk_GetRelief, /* 106 */
822 Tk_GetRootCoords, /* 107 */
823 Tk_GetScrollInfo, /* 108 */
824 Tk_GetScreenMM, /* 109 */
825 Tk_GetSelection, /* 110 */
826 Tk_GetUid, /* 111 */
827 Tk_GetVisual, /* 112 */
828 Tk_GetVRootGeometry, /* 113 */
829 Tk_Grab, /* 114 */
830 Tk_HandleEvent, /* 115 */
831 Tk_IdToWindow, /* 116 */
832 Tk_ImageChanged, /* 117 */
833 Tk_Init, /* 118 */
834 Tk_InternAtom, /* 119 */
835 Tk_IntersectTextLayout, /* 120 */
836 Tk_MaintainGeometry, /* 121 */
837 Tk_MainWindow, /* 122 */
838 Tk_MakeWindowExist, /* 123 */
839 Tk_ManageGeometry, /* 124 */
840 Tk_MapWindow, /* 125 */
841 Tk_MeasureChars, /* 126 */
842 Tk_MoveResizeWindow, /* 127 */
843 Tk_MoveWindow, /* 128 */
844 Tk_MoveToplevelWindow, /* 129 */
845 Tk_NameOf3DBorder, /* 130 */
846 Tk_NameOfAnchor, /* 131 */
847 Tk_NameOfBitmap, /* 132 */
848 Tk_NameOfCapStyle, /* 133 */
849 Tk_NameOfColor, /* 134 */
850 Tk_NameOfCursor, /* 135 */
851 Tk_NameOfFont, /* 136 */
852 Tk_NameOfImage, /* 137 */
853 Tk_NameOfJoinStyle, /* 138 */
854 Tk_NameOfJustify, /* 139 */
855 Tk_NameOfRelief, /* 140 */
856 Tk_NameToWindow, /* 141 */
857 Tk_OwnSelection, /* 142 */
858 Tk_ParseArgv, /* 143 */
859 Tk_PhotoPutBlock, /* 144 */
860 Tk_PhotoPutZoomedBlock, /* 145 */
861 Tk_PhotoGetImage, /* 146 */
862 Tk_PhotoBlank, /* 147 */
863 Tk_PhotoExpand, /* 148 */
864 Tk_PhotoGetSize, /* 149 */
865 Tk_PhotoSetSize, /* 150 */
866 Tk_PointToChar, /* 151 */
867 Tk_PostscriptFontName, /* 152 */
868 Tk_PreserveColormap, /* 153 */
869 Tk_QueueWindowEvent, /* 154 */
870 Tk_RedrawImage, /* 155 */
871 Tk_ResizeWindow, /* 156 */
872 Tk_RestackWindow, /* 157 */
873 Tk_RestrictEvents, /* 158 */
874 Tk_SafeInit, /* 159 */
875 Tk_SetAppName, /* 160 */
876 Tk_SetBackgroundFromBorder, /* 161 */
877 Tk_SetClass, /* 162 */
878 Tk_SetGrid, /* 163 */
879 Tk_SetInternalBorder, /* 164 */
880 Tk_SetWindowBackground, /* 165 */
881 Tk_SetWindowBackgroundPixmap, /* 166 */
882 Tk_SetWindowBorder, /* 167 */
883 Tk_SetWindowBorderWidth, /* 168 */
884 Tk_SetWindowBorderPixmap, /* 169 */
885 Tk_SetWindowColormap, /* 170 */
886 Tk_SetWindowVisual, /* 171 */
887 Tk_SizeOfBitmap, /* 172 */
888 Tk_SizeOfImage, /* 173 */
889 Tk_StrictMotif, /* 174 */
890 Tk_TextLayoutToPostscript, /* 175 */
891 Tk_TextWidth, /* 176 */
892 Tk_UndefineCursor, /* 177 */
893 Tk_UnderlineChars, /* 178 */
894 Tk_UnderlineTextLayout, /* 179 */
895 Tk_Ungrab, /* 180 */
896 Tk_UnmaintainGeometry, /* 181 */
897 Tk_UnmapWindow, /* 182 */
898 Tk_UnsetGrid, /* 183 */
899 Tk_UpdatePointer, /* 184 */
900 Tk_AllocBitmapFromObj, /* 185 */
901 Tk_Alloc3DBorderFromObj, /* 186 */
902 Tk_AllocColorFromObj, /* 187 */
903 Tk_AllocCursorFromObj, /* 188 */
904 Tk_AllocFontFromObj, /* 189 */
905 Tk_CreateOptionTable, /* 190 */
906 Tk_DeleteOptionTable, /* 191 */
907 Tk_Free3DBorderFromObj, /* 192 */
908 Tk_FreeBitmapFromObj, /* 193 */
909 Tk_FreeColorFromObj, /* 194 */
910 Tk_FreeConfigOptions, /* 195 */
911 Tk_FreeSavedOptions, /* 196 */
912 Tk_FreeCursorFromObj, /* 197 */
913 Tk_FreeFontFromObj, /* 198 */
914 Tk_Get3DBorderFromObj, /* 199 */
915 Tk_GetAnchorFromObj, /* 200 */
916 Tk_GetBitmapFromObj, /* 201 */
917 Tk_GetColorFromObj, /* 202 */
918 Tk_GetCursorFromObj, /* 203 */
919 Tk_GetOptionInfo, /* 204 */
920 Tk_GetOptionValue, /* 205 */
921 Tk_GetJustifyFromObj, /* 206 */
922 Tk_GetMMFromObj, /* 207 */
923 Tk_GetPixelsFromObj, /* 208 */
924 Tk_GetReliefFromObj, /* 209 */
925 Tk_GetScrollInfoObj, /* 210 */
926 Tk_InitOptions, /* 211 */
927 Tk_MainEx, /* 212 */
928 Tk_RestoreSavedOptions, /* 213 */
929 Tk_SetOptions, /* 214 */
930 Tk_InitConsoleChannels, /* 215 */
931 Tk_CreateConsoleWindow, /* 216 */
932 Tk_CreateSmoothMethod, /* 217 */
933 NULL, /* 218 */
934 NULL, /* 219 */
935 Tk_GetDash, /* 220 */
936 Tk_CreateOutline, /* 221 */
937 Tk_DeleteOutline, /* 222 */
938 Tk_ConfigOutlineGC, /* 223 */
939 Tk_ChangeOutlineGC, /* 224 */
940 Tk_ResetOutlineGC, /* 225 */
941 Tk_CanvasPsOutline, /* 226 */
942 Tk_SetTSOrigin, /* 227 */
943 Tk_CanvasGetCoordFromObj, /* 228 */
944 Tk_CanvasSetOffset, /* 229 */
945 Tk_DitherPhoto, /* 230 */
946 Tk_PostscriptBitmap, /* 231 */
947 Tk_PostscriptColor, /* 232 */
948 Tk_PostscriptFont, /* 233 */
949 Tk_PostscriptImage, /* 234 */
950 Tk_PostscriptPath, /* 235 */
951 Tk_PostscriptStipple, /* 236 */
952 Tk_PostscriptY, /* 237 */
953 Tk_PostscriptPhoto, /* 238 */
954 };
955
956 /* !END!: Do not edit above this line. */
957
958 /* End of tkstubinit.c */

Properties

Name Value
svn:keywords Header

dashley@gmail.com
ViewVC Help
Powered by ViewVC 1.1.25