/* * tkStubInit.c -- * * This file contains the initializers for the Tk stub vectors. * * Copyright (c) 1998-1999 by Scriptics Corporation. * * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * * RCS: @(#) $Id: tkStubInit.c,v 1.3 1999/03/10 18:56:09 redman Exp $ */ #include "tkInt.h" #include "tkPort.h" #ifdef __WIN32__ #include "tkWinInt.h" #endif #include "tkDecls.h" #include "tkPlatDecls.h" #include "tkIntDecls.h" #include "tkIntPlatDecls.h" #include "tkIntXlibDecls.h" /* * Remove macros that will interfere with the definitions below. */ /* * WARNING: The contents of this file is automatically generated by the * tools/genStubs.tcl script. Any modifications to the function declarations * below should be made in the generic/tk.decls script. */ /* !BEGIN!: Do not edit below this line. */ static TkStubHooks tkStubHooks; TkStubs tkStubs = { TCL_STUB_MAGIC, &tkStubHooks, Tk_MainLoop, /* 0 */ Tk_3DBorderColor, /* 1 */ Tk_3DBorderGC, /* 2 */ Tk_3DHorizontalBevel, /* 3 */ Tk_3DVerticalBevel, /* 4 */ Tk_AddOption, /* 5 */ Tk_BindEvent, /* 6 */ Tk_CanvasDrawableCoords, /* 7 */ Tk_CanvasEventuallyRedraw, /* 8 */ Tk_CanvasGetCoord, /* 9 */ Tk_CanvasGetTextInfo, /* 10 */ Tk_CanvasPsBitmap, /* 11 */ Tk_CanvasPsColor, /* 12 */ Tk_CanvasPsFont, /* 13 */ Tk_CanvasPsPath, /* 14 */ Tk_CanvasPsStipple, /* 15 */ Tk_CanvasPsY, /* 16 */ Tk_CanvasSetStippleOrigin, /* 17 */ Tk_CanvasTagsParseProc, /* 18 */ Tk_CanvasTagsPrintProc, /* 19 */ Tk_CanvasTkwin, /* 20 */ Tk_CanvasWindowCoords, /* 21 */ Tk_ChangeWindowAttributes, /* 22 */ Tk_CharBbox, /* 23 */ Tk_ClearSelection, /* 24 */ Tk_ClipboardAppend, /* 25 */ Tk_ClipboardClear, /* 26 */ Tk_ConfigureInfo, /* 27 */ Tk_ConfigureValue, /* 28 */ Tk_ConfigureWidget, /* 29 */ Tk_ConfigureWindow, /* 30 */ Tk_ComputeTextLayout, /* 31 */ Tk_CoordsToWindow, /* 32 */ Tk_CreateBinding, /* 33 */ Tk_CreateBindingTable, /* 34 */ Tk_CreateErrorHandler, /* 35 */ Tk_CreateEventHandler, /* 36 */ Tk_CreateGenericHandler, /* 37 */ Tk_CreateImageType, /* 38 */ Tk_CreateItemType, /* 39 */ Tk_CreatePhotoImageFormat, /* 40 */ Tk_CreateSelHandler, /* 41 */ Tk_CreateWindow, /* 42 */ Tk_CreateWindowFromPath, /* 43 */ Tk_DefineBitmap, /* 44 */ Tk_DefineCursor, /* 45 */ Tk_DeleteAllBindings, /* 46 */ Tk_DeleteBinding, /* 47 */ Tk_DeleteBindingTable, /* 48 */ Tk_DeleteErrorHandler, /* 49 */ Tk_DeleteEventHandler, /* 50 */ Tk_DeleteGenericHandler, /* 51 */ Tk_DeleteImage, /* 52 */ Tk_DeleteSelHandler, /* 53 */ Tk_DestroyWindow, /* 54 */ Tk_DisplayName, /* 55 */ Tk_DistanceToTextLayout, /* 56 */ Tk_Draw3DPolygon, /* 57 */ Tk_Draw3DRectangle, /* 58 */ Tk_DrawChars, /* 59 */ Tk_DrawFocusHighlight, /* 60 */ Tk_DrawTextLayout, /* 61 */ Tk_Fill3DPolygon, /* 62 */ Tk_Fill3DRectangle, /* 63 */ Tk_FindPhoto, /* 64 */ Tk_FontId, /* 65 */ Tk_Free3DBorder, /* 66 */ Tk_FreeBitmap, /* 67 */ Tk_FreeColor, /* 68 */ Tk_FreeColormap, /* 69 */ Tk_FreeCursor, /* 70 */ Tk_FreeFont, /* 71 */ Tk_FreeGC, /* 72 */ Tk_FreeImage, /* 73 */ Tk_FreeOptions, /* 74 */ Tk_FreePixmap, /* 75 */ Tk_FreeTextLayout, /* 76 */ Tk_FreeXId, /* 77 */ Tk_GCForColor, /* 78 */ Tk_GeometryRequest, /* 79 */ Tk_Get3DBorder, /* 80 */ Tk_GetAllBindings, /* 81 */ Tk_GetAnchor, /* 82 */ Tk_GetAtomName, /* 83 */ Tk_GetBinding, /* 84 */ Tk_GetBitmap, /* 85 */ Tk_GetBitmapFromData, /* 86 */ Tk_GetCapStyle, /* 87 */ Tk_GetColor, /* 88 */ Tk_GetColorByValue, /* 89 */ Tk_GetColormap, /* 90 */ Tk_GetCursor, /* 91 */ Tk_GetCursorFromData, /* 92 */ Tk_GetFont, /* 93 */ Tk_GetFontFromObj, /* 94 */ Tk_GetFontMetrics, /* 95 */ Tk_GetGC, /* 96 */ Tk_GetImage, /* 97 */ Tk_GetImageMasterData, /* 98 */ Tk_GetItemTypes, /* 99 */ Tk_GetJoinStyle, /* 100 */ Tk_GetJustify, /* 101 */ Tk_GetNumMainWindows, /* 102 */ Tk_GetOption, /* 103 */ Tk_GetPixels, /* 104 */ Tk_GetPixmap, /* 105 */ Tk_GetRelief, /* 106 */ Tk_GetRootCoords, /* 107 */ Tk_GetScrollInfo, /* 108 */ Tk_GetScreenMM, /* 109 */ Tk_GetSelection, /* 110 */ Tk_GetUid, /* 111 */ Tk_GetVisual, /* 112 */ Tk_GetVRootGeometry, /* 113 */ Tk_Grab, /* 114 */ Tk_HandleEvent, /* 115 */ Tk_IdToWindow, /* 116 */ Tk_ImageChanged, /* 117 */ Tk_Init, /* 118 */ Tk_InternAtom, /* 119 */ Tk_IntersectTextLayout, /* 120 */ Tk_MaintainGeometry, /* 121 */ Tk_MainWindow, /* 122 */ Tk_MakeWindowExist, /* 123 */ Tk_ManageGeometry, /* 124 */ Tk_MapWindow, /* 125 */ Tk_MeasureChars, /* 126 */ Tk_MoveResizeWindow, /* 127 */ Tk_MoveWindow, /* 128 */ Tk_MoveToplevelWindow, /* 129 */ Tk_NameOf3DBorder, /* 130 */ Tk_NameOfAnchor, /* 131 */ Tk_NameOfBitmap, /* 132 */ Tk_NameOfCapStyle, /* 133 */ Tk_NameOfColor, /* 134 */ Tk_NameOfCursor, /* 135 */ Tk_NameOfFont, /* 136 */ Tk_NameOfImage, /* 137 */ Tk_NameOfJoinStyle, /* 138 */ Tk_NameOfJustify, /* 139 */ Tk_NameOfRelief, /* 140 */ Tk_NameToWindow, /* 141 */ Tk_OwnSelection, /* 142 */ Tk_ParseArgv, /* 143 */ Tk_PhotoPutBlock, /* 144 */ Tk_PhotoPutZoomedBlock, /* 145 */ Tk_PhotoGetImage, /* 146 */ Tk_PhotoBlank, /* 147 */ Tk_PhotoExpand, /* 148 */ Tk_PhotoGetSize, /* 149 */ Tk_PhotoSetSize, /* 150 */ Tk_PointToChar, /* 151 */ Tk_PostscriptFontName, /* 152 */ Tk_PreserveColormap, /* 153 */ Tk_QueueWindowEvent, /* 154 */ Tk_RedrawImage, /* 155 */ Tk_ResizeWindow, /* 156 */ Tk_RestackWindow, /* 157 */ Tk_RestrictEvents, /* 158 */ Tk_SafeInit, /* 159 */ Tk_SetAppName, /* 160 */ Tk_SetBackgroundFromBorder, /* 161 */ Tk_SetClass, /* 162 */ Tk_SetGrid, /* 163 */ Tk_SetInternalBorder, /* 164 */ Tk_SetWindowBackground, /* 165 */ Tk_SetWindowBackgroundPixmap, /* 166 */ Tk_SetWindowBorder, /* 167 */ Tk_SetWindowBorderWidth, /* 168 */ Tk_SetWindowBorderPixmap, /* 169 */ Tk_SetWindowColormap, /* 170 */ Tk_SetWindowVisual, /* 171 */ Tk_SizeOfBitmap, /* 172 */ Tk_SizeOfImage, /* 173 */ Tk_StrictMotif, /* 174 */ Tk_TextLayoutToPostscript, /* 175 */ Tk_TextWidth, /* 176 */ Tk_UndefineCursor, /* 177 */ Tk_UnderlineChars, /* 178 */ Tk_UnderlineTextLayout, /* 179 */ Tk_Ungrab, /* 180 */ Tk_UnmaintainGeometry, /* 181 */ Tk_UnmapWindow, /* 182 */ Tk_UnsetGrid, /* 183 */ Tk_UpdatePointer, /* 184 */ }; TkStubs *tkStubsPtr = &tkStubs; TkIntStubs tkIntStubs = { TCL_STUB_MAGIC, NULL, TkAllocWindow, /* 0 */ TkBezierPoints, /* 1 */ TkBezierScreenPoints, /* 2 */ TkBindDeadWindow, /* 3 */ TkBindEventProc, /* 4 */ TkBindFree, /* 5 */ TkBindInit, /* 6 */ TkChangeEventWindow, /* 7 */ TkClipInit, /* 8 */ TkComputeAnchor, /* 9 */ TkCopyAndGlobalEval, /* 10 */ TkCreateBindingProcedure, /* 11 */ TkCreateCursorFromData, /* 12 */ TkCreateFrame, /* 13 */ TkCreateMainWindow, /* 14 */ TkCurrentTime, /* 15 */ TkDeleteAllImages, /* 16 */ TkDoConfigureNotify, /* 17 */ TkDrawInsetFocusHighlight, /* 18 */ TkEventDeadWindow, /* 19 */ TkFillPolygon, /* 20 */ TkFindStateNum, /* 21 */ TkFindStateString, /* 22 */ TkFocusDeadWindow, /* 23 */ TkFocusFilterEvent, /* 24 */ TkFocusKeyEvent, /* 25 */ TkFontPkgInit, /* 26 */ TkFontPkgFree, /* 27 */ TkFreeBindingTags, /* 28 */ TkFreeCursor, /* 29 */ TkGetBitmapData, /* 30 */ TkGetButtPoints, /* 31 */ TkGetCursorByName, /* 32 */ TkGetDefaultScreenName, /* 33 */ TkGetDisplay, /* 34 */ TkGetDisplayOf, /* 35 */ TkGetFocusWin, /* 36 */ TkGetInterpNames, /* 37 */ TkGetMiterPoints, /* 38 */ TkGetPointerCoords, /* 39 */ TkGetServerInfo, /* 40 */ TkGrabDeadWindow, /* 41 */ TkGrabState, /* 42 */ TkIncludePoint, /* 43 */ TkInOutEvents, /* 44 */ TkInstallFrameMenu, /* 45 */ TkKeysymToString, /* 46 */ TkLineToArea, /* 47 */ TkLineToPoint, /* 48 */ TkMakeBezierCurve, /* 49 */ TkMakeBezierPostscript, /* 50 */ TkOptionClassChanged, /* 51 */ TkOptionDeadWindow, /* 52 */ TkOvalToArea, /* 53 */ TkOvalToPoint, /* 54 */ TkpChangeFocus, /* 55 */ TkpCloseDisplay, /* 56 */ TkpClaimFocus, /* 57 */ TkpDisplayWarning, /* 58 */ TkpGetAppName, /* 59 */ TkpGetOtherWindow, /* 60 */ TkpGetWrapperWindow, /* 61 */ TkpInit, /* 62 */ TkpInitializeMenuBindings, /* 63 */ TkpMakeContainer, /* 64 */ TkpMakeMenuWindow, /* 65 */ TkpMakeWindow, /* 66 */ TkpMenuNotifyToplevelCreate, /* 67 */ TkpOpenDisplay, /* 68 */ TkPointerEvent, /* 69 */ TkPolygonToArea, /* 70 */ TkPolygonToPoint, /* 71 */ TkPositionInTree, /* 72 */ TkpRedirectKeyEvent, /* 73 */ TkpSetMainMenubar, /* 74 */ TkpUseWindow, /* 75 */ TkpWindowWasRecentlyDeleted, /* 76 */ TkQueueEventForAllChildren, /* 77 */ TkReadBitmapFile, /* 78 */ TkScrollWindow, /* 79 */ TkSelDeadWindow, /* 80 */ TkSelEventProc, /* 81 */ TkSelInit, /* 82 */ TkSelPropProc, /* 83 */ TkSetClassProcs, /* 84 */ TkSetWindowMenuBar, /* 85 */ TkStringToKeysym, /* 86 */ TkThickPolyLineToArea, /* 87 */ TkWmAddToColormapWindows, /* 88 */ TkWmDeadWindow, /* 89 */ TkWmFocusToplevel, /* 90 */ TkWmMapWindow, /* 91 */ TkWmNewWindow, /* 92 */ TkWmProtocolEventProc, /* 93 */ TkWmRemoveFromColormapWindows, /* 94 */ TkWmRestackToplevel, /* 95 */ TkWmSetClass, /* 96 */ TkWmUnmapWindow, /* 97 */ }; TkIntStubs *tkIntStubsPtr = &tkIntStubs; TkIntPlatStubs tkIntPlatStubs = { TCL_STUB_MAGIC, NULL, #if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ TkCreateXEventSource, /* 0 */ TkFreeWindowId, /* 1 */ TkInitXId, /* 2 */ TkpCmapStressed, /* 3 */ TkpSync, /* 4 */ TkUnixContainerId, /* 5 */ TkUnixDoOneXEvent, /* 6 */ TkUnixSetMenubar, /* 7 */ #endif /* UNIX */ #ifdef __WIN32__ TkAlignImageData, /* 0 */ TkClipBox, /* 1 */ TkCreateRegion, /* 2 */ TkDestroyRegion, /* 3 */ TkGenerateActivateEvents, /* 4 */ TkIntersectRegion, /* 5 */ TkpGetMS, /* 6 */ TkPointerDeadWindow, /* 7 */ TkpPrintWindowId, /* 8 */ TkpScanWindowId, /* 9 */ TkpSetCapture, /* 10 */ TkpSetCursor, /* 11 */ TkpWmSetState, /* 12 */ TkRectInRegion, /* 13 */ TkSetPixmapColormap, /* 14 */ TkSetRegion, /* 15 */ TkUnionRectWithRegion, /* 16 */ TkWinCancelMouseTimer, /* 17 */ TkWinClipboardRender, /* 18 */ TkWinEmbeddedEventProc, /* 19 */ TkWinFillRect, /* 20 */ TkWinGetBorderPixels, /* 21 */ TkWinGetDrawableDC, /* 22 */ TkWinGetModifierState, /* 23 */ TkWinGetSystemPalette, /* 24 */ TkWinGetWrapperWindow, /* 25 */ TkWinHandleMenuEvent, /* 26 */ TkWinIndexOfColor, /* 27 */ TkWinReleaseDrawableDC, /* 28 */ TkWinResendEvent, /* 29 */ TkWinSelectPalette, /* 30 */ TkWinSetMenu, /* 31 */ TkWinSetWindowPos, /* 32 */ TkWinWmCleanup, /* 33 */ TkWinXCleanup, /* 34 */ TkWinXInit, /* 35 */ #endif /* __WIN32__ */ #ifdef MAC_TCL TkClipBox, /* 0 */ TkCreateRegion, /* 1 */ TkDestroyRegion, /* 2 */ TkGenerateActivateEvents, /* 3 */ TkIntersectRegion, /* 4 */ TkpCreateNativeBitmap, /* 5 */ TkpDefineNativeBitmaps, /* 6 */ TkpGetMS, /* 7 */ TkpGetNativeAppBitmap, /* 8 */ TkPointerDeadWindow, /* 9 */ TkpSetCapture, /* 10 */ TkpSetCursor, /* 11 */ TkpWmSetState, /* 12 */ TkRectInRegion, /* 13 */ TkSetRegion, /* 14 */ TkUnionRectWithRegion, /* 15 */ HandleWMEvent, /* 16 */ TkAboutDlg, /* 17 */ TkCreateMacEventSource, /* 18 */ TkFontList, /* 19 */ TkGetTransientMaster, /* 20 */ TkGenerateButtonEvent, /* 21 */ TkGetCharPositions, /* 22 */ TkGenWMDestroyEvent, /* 23 */ TkGenWMConfigureEvent, /* 24 */ TkMacButtonKeyState, /* 25 */ TkMacClearMenubarActive, /* 26 */ TkMacConvertEvent, /* 27 */ TkMacDispatchMenuEvent, /* 28 */ TkMacInstallCursor, /* 29 */ TkMacConvertTkEvent, /* 30 */ TkMacHandleTearoffMenu, /* 31 */ tkMacInstallMWConsole, /* 32 */ TkMacInvalClipRgns, /* 33 */ TkMacDoHLEvent, /* 34 */ TkMacFontInfo, /* 35 */ TkMacGenerateTime, /* 36 */ TkMacGetDrawablePort, /* 37 */ TkMacGetScrollbarGrowWindow, /* 38 */ TkMacGetXWindow, /* 39 */ TkMacGrowToplevel, /* 40 */ TkMacHandleMenuSelect, /* 41 */ TkMacHaveAppearance, /* 42 */ TkMacInitAppleEvents, /* 43 */ TkMacInitMenus, /* 44 */ TkMacInvalidateWindow, /* 45 */ TkMacIsCharacterMissing, /* 46 */ TkMacMakeRealWindowExist, /* 47 */ TkMacMakeStippleMap, /* 48 */ TkMacMenuClick, /* 49 */ TkMacRegisterOffScreenWindow, /* 50 */ TkMacResizable, /* 51 */ TkMacSetEmbedRgn, /* 52 */ TkMacSetHelpMenuItemCount, /* 53 */ TkMacSetScrollbarGrow, /* 54 */ TkMacSetUpClippingRgn, /* 55 */ TkMacSetUpGraphicsPort, /* 56 */ TkMacUpdateClipRgn, /* 57 */ TkMacUnregisterMacWindow, /* 58 */ TkMacUseMenuID, /* 59 */ TkMacVisableClipRgn, /* 60 */ TkMacWinBounds, /* 61 */ TkMacWindowOffset, /* 62 */ TkResumeClipboard, /* 63 */ TkSetMacColor, /* 64 */ TkSetWMName, /* 65 */ TkSuspendClipboard, /* 66 */ TkWMGrowToplevel, /* 67 */ TkMacZoomToplevel, /* 68 */ Tk_TopCoordsToWindow, /* 69 */ TkMacContainerId, /* 70 */ TkMacGetHostToplevel, /* 71 */ #endif /* MAC_TCL */ }; TkIntPlatStubs *tkIntPlatStubsPtr = &tkIntPlatStubs; TkIntXlibStubs tkIntXlibStubs = { TCL_STUB_MAGIC, NULL, #ifdef __WIN32__ XGetModifierMapping, /* 0 */ XCreateImage, /* 1 */ XGetImage, /* 2 */ XGetAtomName, /* 3 */ XKeysymToString, /* 4 */ XCreateColormap, /* 5 */ XCreatePixmapCursor, /* 6 */ XCreateGlyphCursor, /* 7 */ XGContextFromGC, /* 8 */ XListHosts, /* 9 */ XKeycodeToKeysym, /* 10 */ XStringToKeysym, /* 11 */ XRootWindow, /* 12 */ XSetErrorHandler, /* 13 */ XIconifyWindow, /* 14 */ XWithdrawWindow, /* 15 */ XGetWMColormapWindows, /* 16 */ XAllocColor, /* 17 */ XBell, /* 18 */ XChangeProperty, /* 19 */ XChangeWindowAttributes, /* 20 */ XClearWindow, /* 21 */ XConfigureWindow, /* 22 */ XCopyArea, /* 23 */ XCopyPlane, /* 24 */ XCreateBitmapFromData, /* 25 */ XDefineCursor, /* 26 */ XDeleteProperty, /* 27 */ XDestroyWindow, /* 28 */ XDrawArc, /* 29 */ XDrawLines, /* 30 */ XDrawRectangle, /* 31 */ XFillArc, /* 32 */ XFillPolygon, /* 33 */ XFillRectangles, /* 34 */ XForceScreenSaver, /* 35 */ XFreeColormap, /* 36 */ XFreeColors, /* 37 */ XFreeCursor, /* 38 */ XFreeModifiermap, /* 39 */ XGetGeometry, /* 40 */ XGetInputFocus, /* 41 */ XGetWindowProperty, /* 42 */ XGetWindowAttributes, /* 43 */ XGrabKeyboard, /* 44 */ XGrabPointer, /* 45 */ XKeysymToKeycode, /* 46 */ XLookupColor, /* 47 */ XMapWindow, /* 48 */ XMoveResizeWindow, /* 49 */ XMoveWindow, /* 50 */ XNextEvent, /* 51 */ XPutBackEvent, /* 52 */ XQueryColors, /* 53 */ XQueryPointer, /* 54 */ XQueryTree, /* 55 */ XRaiseWindow, /* 56 */ XRefreshKeyboardMapping, /* 57 */ XResizeWindow, /* 58 */ XSelectInput, /* 59 */ XSendEvent, /* 60 */ XSetCommand, /* 61 */ XSetIconName, /* 62 */ XSetInputFocus, /* 63 */ XSetSelectionOwner, /* 64 */ XSetWindowBackground, /* 65 */ XSetWindowBackgroundPixmap, /* 66 */ XSetWindowBorder, /* 67 */ XSetWindowBorderPixmap, /* 68 */ XSetWindowBorderWidth, /* 69 */ XSetWindowColormap, /* 70 */ XTranslateCoordinates, /* 71 */ XUngrabKeyboard, /* 72 */ XUngrabPointer, /* 73 */ XUnmapWindow, /* 74 */ XWindowEvent, /* 75 */ XDestroyIC, /* 76 */ XFilterEvent, /* 77 */ XmbLookupString, /* 78 */ TkPutImage, /* 79 */ #endif /* __WIN32__ */ #ifdef MAC_TCL XGetModifierMapping, /* 0 */ XCreateImage, /* 1 */ XGetImage, /* 2 */ XGetAtomName, /* 3 */ XKeysymToString, /* 4 */ XCreateColormap, /* 5 */ XGContextFromGC, /* 6 */ XKeycodeToKeysym, /* 7 */ XStringToKeysym, /* 8 */ XRootWindow, /* 9 */ XSetErrorHandler, /* 10 */ XAllocColor, /* 11 */ XBell, /* 12 */ XChangeProperty, /* 13 */ XChangeWindowAttributes, /* 14 */ XConfigureWindow, /* 15 */ XCopyArea, /* 16 */ XCopyPlane, /* 17 */ XCreateBitmapFromData, /* 18 */ XDefineCursor, /* 19 */ XDestroyWindow, /* 20 */ XDrawArc, /* 21 */ XDrawLines, /* 22 */ XDrawRectangle, /* 23 */ XFillArc, /* 24 */ XFillPolygon, /* 25 */ XFillRectangles, /* 26 */ XFreeColormap, /* 27 */ XFreeColors, /* 28 */ XFreeModifiermap, /* 29 */ XGetGeometry, /* 30 */ XGetWindowProperty, /* 31 */ XGrabKeyboard, /* 32 */ XGrabPointer, /* 33 */ XKeysymToKeycode, /* 34 */ XMapWindow, /* 35 */ XMoveResizeWindow, /* 36 */ XMoveWindow, /* 37 */ XQueryPointer, /* 38 */ XRaiseWindow, /* 39 */ XRefreshKeyboardMapping, /* 40 */ XResizeWindow, /* 41 */ XSelectInput, /* 42 */ XSendEvent, /* 43 */ XSetIconName, /* 44 */ XSetInputFocus, /* 45 */ XSetSelectionOwner, /* 46 */ XSetWindowBackground, /* 47 */ XSetWindowBackgroundPixmap, /* 48 */ XSetWindowBorder, /* 49 */ XSetWindowBorderPixmap, /* 50 */ XSetWindowBorderWidth, /* 51 */ XSetWindowColormap, /* 52 */ XUngrabKeyboard, /* 53 */ XUngrabPointer, /* 54 */ XUnmapWindow, /* 55 */ TkPutImage, /* 56 */ #endif /* MAC_TCL */ }; TkIntXlibStubs *tkIntXlibStubsPtr = &tkIntXlibStubs; TkPlatStubs tkPlatStubs = { TCL_STUB_MAGIC, NULL, #ifdef __WIN32__ Tk_AttachHWND, /* 0 */ Tk_GetHINSTANCE, /* 1 */ Tk_GetHWND, /* 2 */ Tk_HWNDToWindow, /* 3 */ Tk_PointerEvent, /* 4 */ Tk_TranslateWinEvent, /* 5 */ #endif /* __WIN32__ */ #ifdef MAC_TCL Tk_MacSetEmbedHandler, /* 0 */ Tk_MacTurnOffMenus, /* 1 */ Tk_MacTkOwnsCursor, /* 2 */ TkMacInitMenus, /* 3 */ TkMacInitAppleEvents, /* 4 */ TkMacConvertEvent, /* 5 */ TkMacConvertTkEvent, /* 6 */ TkGenWMConfigureEvent, /* 7 */ TkMacInvalClipRgns, /* 8 */ TkMacHaveAppearance, /* 9 */ TkMacGetDrawablePort, /* 10 */ #endif /* MAC_TCL */ }; TkPlatStubs *tkPlatStubsPtr = &tkPlatStubs; static TkStubHooks tkStubHooks = { &tkPlatStubs, &tkIntStubs, &tkIntPlatStubs, &tkIntXlibStubs }; /* !END!: Do not edit above this line. */