annotate CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/include/tkDecls.h @ 69:33d812a61356

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 17:55:14 -0400
parents
children
rev   line source
jpayne@69 1 /*
jpayne@69 2 * tkDecls.h --
jpayne@69 3 *
jpayne@69 4 * Declarations of functions in the platform independent public Tcl API.
jpayne@69 5 *
jpayne@69 6 * Copyright (c) 1998-1999 by Scriptics Corporation.
jpayne@69 7 *
jpayne@69 8 * See the file "license.terms" for information on usage and redistribution
jpayne@69 9 * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
jpayne@69 10 */
jpayne@69 11
jpayne@69 12 #ifndef _TKDECLS
jpayne@69 13 #define _TKDECLS
jpayne@69 14
jpayne@69 15 #ifdef BUILD_tk
jpayne@69 16 #undef TCL_STORAGE_CLASS
jpayne@69 17 #define TCL_STORAGE_CLASS DLLEXPORT
jpayne@69 18 #endif
jpayne@69 19
jpayne@69 20 /*
jpayne@69 21 * WARNING: This file is automatically generated by the tools/genStubs.tcl
jpayne@69 22 * script. Any modifications to the function declarations below should be made
jpayne@69 23 * in the generic/tk.decls script.
jpayne@69 24 */
jpayne@69 25
jpayne@69 26 /* !BEGIN!: Do not edit below this line. */
jpayne@69 27
jpayne@69 28 #ifdef __cplusplus
jpayne@69 29 extern "C" {
jpayne@69 30 #endif
jpayne@69 31
jpayne@69 32 /*
jpayne@69 33 * Exported function declarations:
jpayne@69 34 */
jpayne@69 35
jpayne@69 36 /* 0 */
jpayne@69 37 EXTERN void Tk_MainLoop(void);
jpayne@69 38 /* 1 */
jpayne@69 39 EXTERN XColor * Tk_3DBorderColor(Tk_3DBorder border);
jpayne@69 40 /* 2 */
jpayne@69 41 EXTERN GC Tk_3DBorderGC(Tk_Window tkwin, Tk_3DBorder border,
jpayne@69 42 int which);
jpayne@69 43 /* 3 */
jpayne@69 44 EXTERN void Tk_3DHorizontalBevel(Tk_Window tkwin,
jpayne@69 45 Drawable drawable, Tk_3DBorder border, int x,
jpayne@69 46 int y, int width, int height, int leftIn,
jpayne@69 47 int rightIn, int topBevel, int relief);
jpayne@69 48 /* 4 */
jpayne@69 49 EXTERN void Tk_3DVerticalBevel(Tk_Window tkwin,
jpayne@69 50 Drawable drawable, Tk_3DBorder border, int x,
jpayne@69 51 int y, int width, int height, int leftBevel,
jpayne@69 52 int relief);
jpayne@69 53 /* 5 */
jpayne@69 54 EXTERN void Tk_AddOption(Tk_Window tkwin, const char *name,
jpayne@69 55 const char *value, int priority);
jpayne@69 56 /* 6 */
jpayne@69 57 EXTERN void Tk_BindEvent(Tk_BindingTable bindingTable,
jpayne@69 58 XEvent *eventPtr, Tk_Window tkwin,
jpayne@69 59 int numObjects, ClientData *objectPtr);
jpayne@69 60 /* 7 */
jpayne@69 61 EXTERN void Tk_CanvasDrawableCoords(Tk_Canvas canvas, double x,
jpayne@69 62 double y, short *drawableXPtr,
jpayne@69 63 short *drawableYPtr);
jpayne@69 64 /* 8 */
jpayne@69 65 EXTERN void Tk_CanvasEventuallyRedraw(Tk_Canvas canvas, int x1,
jpayne@69 66 int y1, int x2, int y2);
jpayne@69 67 /* 9 */
jpayne@69 68 EXTERN int Tk_CanvasGetCoord(Tcl_Interp *interp,
jpayne@69 69 Tk_Canvas canvas, const char *str,
jpayne@69 70 double *doublePtr);
jpayne@69 71 /* 10 */
jpayne@69 72 EXTERN Tk_CanvasTextInfo * Tk_CanvasGetTextInfo(Tk_Canvas canvas);
jpayne@69 73 /* 11 */
jpayne@69 74 EXTERN int Tk_CanvasPsBitmap(Tcl_Interp *interp,
jpayne@69 75 Tk_Canvas canvas, Pixmap bitmap, int x,
jpayne@69 76 int y, int width, int height);
jpayne@69 77 /* 12 */
jpayne@69 78 EXTERN int Tk_CanvasPsColor(Tcl_Interp *interp,
jpayne@69 79 Tk_Canvas canvas, XColor *colorPtr);
jpayne@69 80 /* 13 */
jpayne@69 81 EXTERN int Tk_CanvasPsFont(Tcl_Interp *interp, Tk_Canvas canvas,
jpayne@69 82 Tk_Font font);
jpayne@69 83 /* 14 */
jpayne@69 84 EXTERN void Tk_CanvasPsPath(Tcl_Interp *interp, Tk_Canvas canvas,
jpayne@69 85 double *coordPtr, int numPoints);
jpayne@69 86 /* 15 */
jpayne@69 87 EXTERN int Tk_CanvasPsStipple(Tcl_Interp *interp,
jpayne@69 88 Tk_Canvas canvas, Pixmap bitmap);
jpayne@69 89 /* 16 */
jpayne@69 90 EXTERN double Tk_CanvasPsY(Tk_Canvas canvas, double y);
jpayne@69 91 /* 17 */
jpayne@69 92 EXTERN void Tk_CanvasSetStippleOrigin(Tk_Canvas canvas, GC gc);
jpayne@69 93 /* 18 */
jpayne@69 94 EXTERN int Tk_CanvasTagsParseProc(ClientData clientData,
jpayne@69 95 Tcl_Interp *interp, Tk_Window tkwin,
jpayne@69 96 const char *value, char *widgRec, int offset);
jpayne@69 97 /* 19 */
jpayne@69 98 EXTERN CONST86 char * Tk_CanvasTagsPrintProc(ClientData clientData,
jpayne@69 99 Tk_Window tkwin, char *widgRec, int offset,
jpayne@69 100 Tcl_FreeProc **freeProcPtr);
jpayne@69 101 /* 20 */
jpayne@69 102 EXTERN Tk_Window Tk_CanvasTkwin(Tk_Canvas canvas);
jpayne@69 103 /* 21 */
jpayne@69 104 EXTERN void Tk_CanvasWindowCoords(Tk_Canvas canvas, double x,
jpayne@69 105 double y, short *screenXPtr,
jpayne@69 106 short *screenYPtr);
jpayne@69 107 /* 22 */
jpayne@69 108 EXTERN void Tk_ChangeWindowAttributes(Tk_Window tkwin,
jpayne@69 109 unsigned long valueMask,
jpayne@69 110 XSetWindowAttributes *attsPtr);
jpayne@69 111 /* 23 */
jpayne@69 112 EXTERN int Tk_CharBbox(Tk_TextLayout layout, int index,
jpayne@69 113 int *xPtr, int *yPtr, int *widthPtr,
jpayne@69 114 int *heightPtr);
jpayne@69 115 /* 24 */
jpayne@69 116 EXTERN void Tk_ClearSelection(Tk_Window tkwin, Atom selection);
jpayne@69 117 /* 25 */
jpayne@69 118 EXTERN int Tk_ClipboardAppend(Tcl_Interp *interp,
jpayne@69 119 Tk_Window tkwin, Atom target, Atom format,
jpayne@69 120 const char *buffer);
jpayne@69 121 /* 26 */
jpayne@69 122 EXTERN int Tk_ClipboardClear(Tcl_Interp *interp,
jpayne@69 123 Tk_Window tkwin);
jpayne@69 124 /* 27 */
jpayne@69 125 EXTERN int Tk_ConfigureInfo(Tcl_Interp *interp, Tk_Window tkwin,
jpayne@69 126 const Tk_ConfigSpec *specs, char *widgRec,
jpayne@69 127 const char *argvName, int flags);
jpayne@69 128 /* 28 */
jpayne@69 129 EXTERN int Tk_ConfigureValue(Tcl_Interp *interp,
jpayne@69 130 Tk_Window tkwin, const Tk_ConfigSpec *specs,
jpayne@69 131 char *widgRec, const char *argvName,
jpayne@69 132 int flags);
jpayne@69 133 /* 29 */
jpayne@69 134 EXTERN int Tk_ConfigureWidget(Tcl_Interp *interp,
jpayne@69 135 Tk_Window tkwin, const Tk_ConfigSpec *specs,
jpayne@69 136 int argc, CONST84 char **argv, char *widgRec,
jpayne@69 137 int flags);
jpayne@69 138 /* 30 */
jpayne@69 139 EXTERN void Tk_ConfigureWindow(Tk_Window tkwin,
jpayne@69 140 unsigned int valueMask,
jpayne@69 141 XWindowChanges *valuePtr);
jpayne@69 142 /* 31 */
jpayne@69 143 EXTERN Tk_TextLayout Tk_ComputeTextLayout(Tk_Font font, const char *str,
jpayne@69 144 int numChars, int wrapLength,
jpayne@69 145 Tk_Justify justify, int flags, int *widthPtr,
jpayne@69 146 int *heightPtr);
jpayne@69 147 /* 32 */
jpayne@69 148 EXTERN Tk_Window Tk_CoordsToWindow(int rootX, int rootY,
jpayne@69 149 Tk_Window tkwin);
jpayne@69 150 /* 33 */
jpayne@69 151 EXTERN unsigned long Tk_CreateBinding(Tcl_Interp *interp,
jpayne@69 152 Tk_BindingTable bindingTable,
jpayne@69 153 ClientData object, const char *eventStr,
jpayne@69 154 const char *script, int append);
jpayne@69 155 /* 34 */
jpayne@69 156 EXTERN Tk_BindingTable Tk_CreateBindingTable(Tcl_Interp *interp);
jpayne@69 157 /* 35 */
jpayne@69 158 EXTERN Tk_ErrorHandler Tk_CreateErrorHandler(Display *display, int errNum,
jpayne@69 159 int request, int minorCode,
jpayne@69 160 Tk_ErrorProc *errorProc,
jpayne@69 161 ClientData clientData);
jpayne@69 162 /* 36 */
jpayne@69 163 EXTERN void Tk_CreateEventHandler(Tk_Window token,
jpayne@69 164 unsigned long mask, Tk_EventProc *proc,
jpayne@69 165 ClientData clientData);
jpayne@69 166 /* 37 */
jpayne@69 167 EXTERN void Tk_CreateGenericHandler(Tk_GenericProc *proc,
jpayne@69 168 ClientData clientData);
jpayne@69 169 /* 38 */
jpayne@69 170 EXTERN void Tk_CreateImageType(const Tk_ImageType *typePtr);
jpayne@69 171 /* 39 */
jpayne@69 172 EXTERN void Tk_CreateItemType(Tk_ItemType *typePtr);
jpayne@69 173 /* 40 */
jpayne@69 174 EXTERN void Tk_CreatePhotoImageFormat(
jpayne@69 175 const Tk_PhotoImageFormat *formatPtr);
jpayne@69 176 /* 41 */
jpayne@69 177 EXTERN void Tk_CreateSelHandler(Tk_Window tkwin, Atom selection,
jpayne@69 178 Atom target, Tk_SelectionProc *proc,
jpayne@69 179 ClientData clientData, Atom format);
jpayne@69 180 /* 42 */
jpayne@69 181 EXTERN Tk_Window Tk_CreateWindow(Tcl_Interp *interp, Tk_Window parent,
jpayne@69 182 const char *name, const char *screenName);
jpayne@69 183 /* 43 */
jpayne@69 184 EXTERN Tk_Window Tk_CreateWindowFromPath(Tcl_Interp *interp,
jpayne@69 185 Tk_Window tkwin, const char *pathName,
jpayne@69 186 const char *screenName);
jpayne@69 187 /* 44 */
jpayne@69 188 EXTERN int Tk_DefineBitmap(Tcl_Interp *interp, const char *name,
jpayne@69 189 const void *source, int width, int height);
jpayne@69 190 /* 45 */
jpayne@69 191 EXTERN void Tk_DefineCursor(Tk_Window window, Tk_Cursor cursor);
jpayne@69 192 /* 46 */
jpayne@69 193 EXTERN void Tk_DeleteAllBindings(Tk_BindingTable bindingTable,
jpayne@69 194 ClientData object);
jpayne@69 195 /* 47 */
jpayne@69 196 EXTERN int Tk_DeleteBinding(Tcl_Interp *interp,
jpayne@69 197 Tk_BindingTable bindingTable,
jpayne@69 198 ClientData object, const char *eventStr);
jpayne@69 199 /* 48 */
jpayne@69 200 EXTERN void Tk_DeleteBindingTable(Tk_BindingTable bindingTable);
jpayne@69 201 /* 49 */
jpayne@69 202 EXTERN void Tk_DeleteErrorHandler(Tk_ErrorHandler handler);
jpayne@69 203 /* 50 */
jpayne@69 204 EXTERN void Tk_DeleteEventHandler(Tk_Window token,
jpayne@69 205 unsigned long mask, Tk_EventProc *proc,
jpayne@69 206 ClientData clientData);
jpayne@69 207 /* 51 */
jpayne@69 208 EXTERN void Tk_DeleteGenericHandler(Tk_GenericProc *proc,
jpayne@69 209 ClientData clientData);
jpayne@69 210 /* 52 */
jpayne@69 211 EXTERN void Tk_DeleteImage(Tcl_Interp *interp, const char *name);
jpayne@69 212 /* 53 */
jpayne@69 213 EXTERN void Tk_DeleteSelHandler(Tk_Window tkwin, Atom selection,
jpayne@69 214 Atom target);
jpayne@69 215 /* 54 */
jpayne@69 216 EXTERN void Tk_DestroyWindow(Tk_Window tkwin);
jpayne@69 217 /* 55 */
jpayne@69 218 EXTERN CONST84_RETURN char * Tk_DisplayName(Tk_Window tkwin);
jpayne@69 219 /* 56 */
jpayne@69 220 EXTERN int Tk_DistanceToTextLayout(Tk_TextLayout layout, int x,
jpayne@69 221 int y);
jpayne@69 222 /* 57 */
jpayne@69 223 EXTERN void Tk_Draw3DPolygon(Tk_Window tkwin, Drawable drawable,
jpayne@69 224 Tk_3DBorder border, XPoint *pointPtr,
jpayne@69 225 int numPoints, int borderWidth,
jpayne@69 226 int leftRelief);
jpayne@69 227 /* 58 */
jpayne@69 228 EXTERN void Tk_Draw3DRectangle(Tk_Window tkwin,
jpayne@69 229 Drawable drawable, Tk_3DBorder border, int x,
jpayne@69 230 int y, int width, int height,
jpayne@69 231 int borderWidth, int relief);
jpayne@69 232 /* 59 */
jpayne@69 233 EXTERN void Tk_DrawChars(Display *display, Drawable drawable,
jpayne@69 234 GC gc, Tk_Font tkfont, const char *source,
jpayne@69 235 int numBytes, int x, int y);
jpayne@69 236 /* 60 */
jpayne@69 237 EXTERN void Tk_DrawFocusHighlight(Tk_Window tkwin, GC gc,
jpayne@69 238 int width, Drawable drawable);
jpayne@69 239 /* 61 */
jpayne@69 240 EXTERN void Tk_DrawTextLayout(Display *display,
jpayne@69 241 Drawable drawable, GC gc,
jpayne@69 242 Tk_TextLayout layout, int x, int y,
jpayne@69 243 int firstChar, int lastChar);
jpayne@69 244 /* 62 */
jpayne@69 245 EXTERN void Tk_Fill3DPolygon(Tk_Window tkwin, Drawable drawable,
jpayne@69 246 Tk_3DBorder border, XPoint *pointPtr,
jpayne@69 247 int numPoints, int borderWidth,
jpayne@69 248 int leftRelief);
jpayne@69 249 /* 63 */
jpayne@69 250 EXTERN void Tk_Fill3DRectangle(Tk_Window tkwin,
jpayne@69 251 Drawable drawable, Tk_3DBorder border, int x,
jpayne@69 252 int y, int width, int height,
jpayne@69 253 int borderWidth, int relief);
jpayne@69 254 /* 64 */
jpayne@69 255 EXTERN Tk_PhotoHandle Tk_FindPhoto(Tcl_Interp *interp,
jpayne@69 256 const char *imageName);
jpayne@69 257 /* 65 */
jpayne@69 258 EXTERN Font Tk_FontId(Tk_Font font);
jpayne@69 259 /* 66 */
jpayne@69 260 EXTERN void Tk_Free3DBorder(Tk_3DBorder border);
jpayne@69 261 /* 67 */
jpayne@69 262 EXTERN void Tk_FreeBitmap(Display *display, Pixmap bitmap);
jpayne@69 263 /* 68 */
jpayne@69 264 EXTERN void Tk_FreeColor(XColor *colorPtr);
jpayne@69 265 /* 69 */
jpayne@69 266 EXTERN void Tk_FreeColormap(Display *display, Colormap colormap);
jpayne@69 267 /* 70 */
jpayne@69 268 EXTERN void Tk_FreeCursor(Display *display, Tk_Cursor cursor);
jpayne@69 269 /* 71 */
jpayne@69 270 EXTERN void Tk_FreeFont(Tk_Font f);
jpayne@69 271 /* 72 */
jpayne@69 272 EXTERN void Tk_FreeGC(Display *display, GC gc);
jpayne@69 273 /* 73 */
jpayne@69 274 EXTERN void Tk_FreeImage(Tk_Image image);
jpayne@69 275 /* 74 */
jpayne@69 276 EXTERN void Tk_FreeOptions(const Tk_ConfigSpec *specs,
jpayne@69 277 char *widgRec, Display *display,
jpayne@69 278 int needFlags);
jpayne@69 279 /* 75 */
jpayne@69 280 EXTERN void Tk_FreePixmap(Display *display, Pixmap pixmap);
jpayne@69 281 /* 76 */
jpayne@69 282 EXTERN void Tk_FreeTextLayout(Tk_TextLayout textLayout);
jpayne@69 283 /* 77 */
jpayne@69 284 EXTERN void Tk_FreeXId(Display *display, XID xid);
jpayne@69 285 /* 78 */
jpayne@69 286 EXTERN GC Tk_GCForColor(XColor *colorPtr, Drawable drawable);
jpayne@69 287 /* 79 */
jpayne@69 288 EXTERN void Tk_GeometryRequest(Tk_Window tkwin, int reqWidth,
jpayne@69 289 int reqHeight);
jpayne@69 290 /* 80 */
jpayne@69 291 EXTERN Tk_3DBorder Tk_Get3DBorder(Tcl_Interp *interp, Tk_Window tkwin,
jpayne@69 292 Tk_Uid colorName);
jpayne@69 293 /* 81 */
jpayne@69 294 EXTERN void Tk_GetAllBindings(Tcl_Interp *interp,
jpayne@69 295 Tk_BindingTable bindingTable,
jpayne@69 296 ClientData object);
jpayne@69 297 /* 82 */
jpayne@69 298 EXTERN int Tk_GetAnchor(Tcl_Interp *interp, const char *str,
jpayne@69 299 Tk_Anchor *anchorPtr);
jpayne@69 300 /* 83 */
jpayne@69 301 EXTERN CONST84_RETURN char * Tk_GetAtomName(Tk_Window tkwin, Atom atom);
jpayne@69 302 /* 84 */
jpayne@69 303 EXTERN CONST84_RETURN char * Tk_GetBinding(Tcl_Interp *interp,
jpayne@69 304 Tk_BindingTable bindingTable,
jpayne@69 305 ClientData object, const char *eventStr);
jpayne@69 306 /* 85 */
jpayne@69 307 EXTERN Pixmap Tk_GetBitmap(Tcl_Interp *interp, Tk_Window tkwin,
jpayne@69 308 const char *str);
jpayne@69 309 /* 86 */
jpayne@69 310 EXTERN Pixmap Tk_GetBitmapFromData(Tcl_Interp *interp,
jpayne@69 311 Tk_Window tkwin, const void *source,
jpayne@69 312 int width, int height);
jpayne@69 313 /* 87 */
jpayne@69 314 EXTERN int Tk_GetCapStyle(Tcl_Interp *interp, const char *str,
jpayne@69 315 int *capPtr);
jpayne@69 316 /* 88 */
jpayne@69 317 EXTERN XColor * Tk_GetColor(Tcl_Interp *interp, Tk_Window tkwin,
jpayne@69 318 Tk_Uid name);
jpayne@69 319 /* 89 */
jpayne@69 320 EXTERN XColor * Tk_GetColorByValue(Tk_Window tkwin, XColor *colorPtr);
jpayne@69 321 /* 90 */
jpayne@69 322 EXTERN Colormap Tk_GetColormap(Tcl_Interp *interp, Tk_Window tkwin,
jpayne@69 323 const char *str);
jpayne@69 324 /* 91 */
jpayne@69 325 EXTERN Tk_Cursor Tk_GetCursor(Tcl_Interp *interp, Tk_Window tkwin,
jpayne@69 326 Tk_Uid str);
jpayne@69 327 /* 92 */
jpayne@69 328 EXTERN Tk_Cursor Tk_GetCursorFromData(Tcl_Interp *interp,
jpayne@69 329 Tk_Window tkwin, const char *source,
jpayne@69 330 const char *mask, int width, int height,
jpayne@69 331 int xHot, int yHot, Tk_Uid fg, Tk_Uid bg);
jpayne@69 332 /* 93 */
jpayne@69 333 EXTERN Tk_Font Tk_GetFont(Tcl_Interp *interp, Tk_Window tkwin,
jpayne@69 334 const char *str);
jpayne@69 335 /* 94 */
jpayne@69 336 EXTERN Tk_Font Tk_GetFontFromObj(Tk_Window tkwin, Tcl_Obj *objPtr);
jpayne@69 337 /* 95 */
jpayne@69 338 EXTERN void Tk_GetFontMetrics(Tk_Font font,
jpayne@69 339 Tk_FontMetrics *fmPtr);
jpayne@69 340 /* 96 */
jpayne@69 341 EXTERN GC Tk_GetGC(Tk_Window tkwin, unsigned long valueMask,
jpayne@69 342 XGCValues *valuePtr);
jpayne@69 343 /* 97 */
jpayne@69 344 EXTERN Tk_Image Tk_GetImage(Tcl_Interp *interp, Tk_Window tkwin,
jpayne@69 345 const char *name,
jpayne@69 346 Tk_ImageChangedProc *changeProc,
jpayne@69 347 ClientData clientData);
jpayne@69 348 /* 98 */
jpayne@69 349 EXTERN ClientData Tk_GetImageMasterData(Tcl_Interp *interp,
jpayne@69 350 const char *name,
jpayne@69 351 CONST86 Tk_ImageType **typePtrPtr);
jpayne@69 352 /* 99 */
jpayne@69 353 EXTERN Tk_ItemType * Tk_GetItemTypes(void);
jpayne@69 354 /* 100 */
jpayne@69 355 EXTERN int Tk_GetJoinStyle(Tcl_Interp *interp, const char *str,
jpayne@69 356 int *joinPtr);
jpayne@69 357 /* 101 */
jpayne@69 358 EXTERN int Tk_GetJustify(Tcl_Interp *interp, const char *str,
jpayne@69 359 Tk_Justify *justifyPtr);
jpayne@69 360 /* 102 */
jpayne@69 361 EXTERN int Tk_GetNumMainWindows(void);
jpayne@69 362 /* 103 */
jpayne@69 363 EXTERN Tk_Uid Tk_GetOption(Tk_Window tkwin, const char *name,
jpayne@69 364 const char *className);
jpayne@69 365 /* 104 */
jpayne@69 366 EXTERN int Tk_GetPixels(Tcl_Interp *interp, Tk_Window tkwin,
jpayne@69 367 const char *str, int *intPtr);
jpayne@69 368 /* 105 */
jpayne@69 369 EXTERN Pixmap Tk_GetPixmap(Display *display, Drawable d, int width,
jpayne@69 370 int height, int depth);
jpayne@69 371 /* 106 */
jpayne@69 372 EXTERN int Tk_GetRelief(Tcl_Interp *interp, const char *name,
jpayne@69 373 int *reliefPtr);
jpayne@69 374 /* 107 */
jpayne@69 375 EXTERN void Tk_GetRootCoords(Tk_Window tkwin, int *xPtr,
jpayne@69 376 int *yPtr);
jpayne@69 377 /* 108 */
jpayne@69 378 EXTERN int Tk_GetScrollInfo(Tcl_Interp *interp, int argc,
jpayne@69 379 CONST84 char **argv, double *dblPtr,
jpayne@69 380 int *intPtr);
jpayne@69 381 /* 109 */
jpayne@69 382 EXTERN int Tk_GetScreenMM(Tcl_Interp *interp, Tk_Window tkwin,
jpayne@69 383 const char *str, double *doublePtr);
jpayne@69 384 /* 110 */
jpayne@69 385 EXTERN int Tk_GetSelection(Tcl_Interp *interp, Tk_Window tkwin,
jpayne@69 386 Atom selection, Atom target,
jpayne@69 387 Tk_GetSelProc *proc, ClientData clientData);
jpayne@69 388 /* 111 */
jpayne@69 389 EXTERN Tk_Uid Tk_GetUid(const char *str);
jpayne@69 390 /* 112 */
jpayne@69 391 EXTERN Visual * Tk_GetVisual(Tcl_Interp *interp, Tk_Window tkwin,
jpayne@69 392 const char *str, int *depthPtr,
jpayne@69 393 Colormap *colormapPtr);
jpayne@69 394 /* 113 */
jpayne@69 395 EXTERN void Tk_GetVRootGeometry(Tk_Window tkwin, int *xPtr,
jpayne@69 396 int *yPtr, int *widthPtr, int *heightPtr);
jpayne@69 397 /* 114 */
jpayne@69 398 EXTERN int Tk_Grab(Tcl_Interp *interp, Tk_Window tkwin,
jpayne@69 399 int grabGlobal);
jpayne@69 400 /* 115 */
jpayne@69 401 EXTERN void Tk_HandleEvent(XEvent *eventPtr);
jpayne@69 402 /* 116 */
jpayne@69 403 EXTERN Tk_Window Tk_IdToWindow(Display *display, Window window);
jpayne@69 404 /* 117 */
jpayne@69 405 EXTERN void Tk_ImageChanged(Tk_ImageMaster model, int x, int y,
jpayne@69 406 int width, int height, int imageWidth,
jpayne@69 407 int imageHeight);
jpayne@69 408 /* 118 */
jpayne@69 409 EXTERN int Tk_Init(Tcl_Interp *interp);
jpayne@69 410 /* 119 */
jpayne@69 411 EXTERN Atom Tk_InternAtom(Tk_Window tkwin, const char *name);
jpayne@69 412 /* 120 */
jpayne@69 413 EXTERN int Tk_IntersectTextLayout(Tk_TextLayout layout, int x,
jpayne@69 414 int y, int width, int height);
jpayne@69 415 /* 121 */
jpayne@69 416 EXTERN void Tk_MaintainGeometry(Tk_Window window,
jpayne@69 417 Tk_Window container, int x, int y, int width,
jpayne@69 418 int height);
jpayne@69 419 /* 122 */
jpayne@69 420 EXTERN Tk_Window Tk_MainWindow(Tcl_Interp *interp);
jpayne@69 421 /* 123 */
jpayne@69 422 EXTERN void Tk_MakeWindowExist(Tk_Window tkwin);
jpayne@69 423 /* 124 */
jpayne@69 424 EXTERN void Tk_ManageGeometry(Tk_Window tkwin,
jpayne@69 425 const Tk_GeomMgr *mgrPtr,
jpayne@69 426 ClientData clientData);
jpayne@69 427 /* 125 */
jpayne@69 428 EXTERN void Tk_MapWindow(Tk_Window tkwin);
jpayne@69 429 /* 126 */
jpayne@69 430 EXTERN int Tk_MeasureChars(Tk_Font tkfont, const char *source,
jpayne@69 431 int numBytes, int maxPixels, int flags,
jpayne@69 432 int *lengthPtr);
jpayne@69 433 /* 127 */
jpayne@69 434 EXTERN void Tk_MoveResizeWindow(Tk_Window tkwin, int x, int y,
jpayne@69 435 int width, int height);
jpayne@69 436 /* 128 */
jpayne@69 437 EXTERN void Tk_MoveWindow(Tk_Window tkwin, int x, int y);
jpayne@69 438 /* 129 */
jpayne@69 439 EXTERN void Tk_MoveToplevelWindow(Tk_Window tkwin, int x, int y);
jpayne@69 440 /* 130 */
jpayne@69 441 EXTERN CONST84_RETURN char * Tk_NameOf3DBorder(Tk_3DBorder border);
jpayne@69 442 /* 131 */
jpayne@69 443 EXTERN CONST84_RETURN char * Tk_NameOfAnchor(Tk_Anchor anchor);
jpayne@69 444 /* 132 */
jpayne@69 445 EXTERN CONST84_RETURN char * Tk_NameOfBitmap(Display *display, Pixmap bitmap);
jpayne@69 446 /* 133 */
jpayne@69 447 EXTERN CONST84_RETURN char * Tk_NameOfCapStyle(int cap);
jpayne@69 448 /* 134 */
jpayne@69 449 EXTERN CONST84_RETURN char * Tk_NameOfColor(XColor *colorPtr);
jpayne@69 450 /* 135 */
jpayne@69 451 EXTERN CONST84_RETURN char * Tk_NameOfCursor(Display *display,
jpayne@69 452 Tk_Cursor cursor);
jpayne@69 453 /* 136 */
jpayne@69 454 EXTERN CONST84_RETURN char * Tk_NameOfFont(Tk_Font font);
jpayne@69 455 /* 137 */
jpayne@69 456 EXTERN CONST84_RETURN char * Tk_NameOfImage(Tk_ImageMaster model);
jpayne@69 457 /* 138 */
jpayne@69 458 EXTERN CONST84_RETURN char * Tk_NameOfJoinStyle(int join);
jpayne@69 459 /* 139 */
jpayne@69 460 EXTERN CONST84_RETURN char * Tk_NameOfJustify(Tk_Justify justify);
jpayne@69 461 /* 140 */
jpayne@69 462 EXTERN CONST84_RETURN char * Tk_NameOfRelief(int relief);
jpayne@69 463 /* 141 */
jpayne@69 464 EXTERN Tk_Window Tk_NameToWindow(Tcl_Interp *interp,
jpayne@69 465 const char *pathName, Tk_Window tkwin);
jpayne@69 466 /* 142 */
jpayne@69 467 EXTERN void Tk_OwnSelection(Tk_Window tkwin, Atom selection,
jpayne@69 468 Tk_LostSelProc *proc, ClientData clientData);
jpayne@69 469 /* 143 */
jpayne@69 470 EXTERN int Tk_ParseArgv(Tcl_Interp *interp, Tk_Window tkwin,
jpayne@69 471 int *argcPtr, CONST84 char **argv,
jpayne@69 472 const Tk_ArgvInfo *argTable, int flags);
jpayne@69 473 /* 144 */
jpayne@69 474 EXTERN void Tk_PhotoPutBlock_NoComposite(Tk_PhotoHandle handle,
jpayne@69 475 Tk_PhotoImageBlock *blockPtr, int x, int y,
jpayne@69 476 int width, int height);
jpayne@69 477 /* 145 */
jpayne@69 478 EXTERN void Tk_PhotoPutZoomedBlock_NoComposite(
jpayne@69 479 Tk_PhotoHandle handle,
jpayne@69 480 Tk_PhotoImageBlock *blockPtr, int x, int y,
jpayne@69 481 int width, int height, int zoomX, int zoomY,
jpayne@69 482 int subsampleX, int subsampleY);
jpayne@69 483 /* 146 */
jpayne@69 484 EXTERN int Tk_PhotoGetImage(Tk_PhotoHandle handle,
jpayne@69 485 Tk_PhotoImageBlock *blockPtr);
jpayne@69 486 /* 147 */
jpayne@69 487 EXTERN void Tk_PhotoBlank(Tk_PhotoHandle handle);
jpayne@69 488 /* 148 */
jpayne@69 489 EXTERN void Tk_PhotoExpand_Panic(Tk_PhotoHandle handle,
jpayne@69 490 int width, int height);
jpayne@69 491 /* 149 */
jpayne@69 492 EXTERN void Tk_PhotoGetSize(Tk_PhotoHandle handle, int *widthPtr,
jpayne@69 493 int *heightPtr);
jpayne@69 494 /* 150 */
jpayne@69 495 EXTERN void Tk_PhotoSetSize_Panic(Tk_PhotoHandle handle,
jpayne@69 496 int width, int height);
jpayne@69 497 /* 151 */
jpayne@69 498 EXTERN int Tk_PointToChar(Tk_TextLayout layout, int x, int y);
jpayne@69 499 /* 152 */
jpayne@69 500 EXTERN int Tk_PostscriptFontName(Tk_Font tkfont,
jpayne@69 501 Tcl_DString *dsPtr);
jpayne@69 502 /* 153 */
jpayne@69 503 EXTERN void Tk_PreserveColormap(Display *display,
jpayne@69 504 Colormap colormap);
jpayne@69 505 /* 154 */
jpayne@69 506 EXTERN void Tk_QueueWindowEvent(XEvent *eventPtr,
jpayne@69 507 Tcl_QueuePosition position);
jpayne@69 508 /* 155 */
jpayne@69 509 EXTERN void Tk_RedrawImage(Tk_Image image, int imageX,
jpayne@69 510 int imageY, int width, int height,
jpayne@69 511 Drawable drawable, int drawableX,
jpayne@69 512 int drawableY);
jpayne@69 513 /* 156 */
jpayne@69 514 EXTERN void Tk_ResizeWindow(Tk_Window tkwin, int width,
jpayne@69 515 int height);
jpayne@69 516 /* 157 */
jpayne@69 517 EXTERN int Tk_RestackWindow(Tk_Window tkwin, int aboveBelow,
jpayne@69 518 Tk_Window other);
jpayne@69 519 /* 158 */
jpayne@69 520 EXTERN Tk_RestrictProc * Tk_RestrictEvents(Tk_RestrictProc *proc,
jpayne@69 521 ClientData arg, ClientData *prevArgPtr);
jpayne@69 522 /* 159 */
jpayne@69 523 EXTERN int Tk_SafeInit(Tcl_Interp *interp);
jpayne@69 524 /* 160 */
jpayne@69 525 EXTERN const char * Tk_SetAppName(Tk_Window tkwin, const char *name);
jpayne@69 526 /* 161 */
jpayne@69 527 EXTERN void Tk_SetBackgroundFromBorder(Tk_Window tkwin,
jpayne@69 528 Tk_3DBorder border);
jpayne@69 529 /* 162 */
jpayne@69 530 EXTERN void Tk_SetClass(Tk_Window tkwin, const char *className);
jpayne@69 531 /* 163 */
jpayne@69 532 EXTERN void Tk_SetGrid(Tk_Window tkwin, int reqWidth,
jpayne@69 533 int reqHeight, int gridWidth, int gridHeight);
jpayne@69 534 /* 164 */
jpayne@69 535 EXTERN void Tk_SetInternalBorder(Tk_Window tkwin, int width);
jpayne@69 536 /* 165 */
jpayne@69 537 EXTERN void Tk_SetWindowBackground(Tk_Window tkwin,
jpayne@69 538 unsigned long pixel);
jpayne@69 539 /* 166 */
jpayne@69 540 EXTERN void Tk_SetWindowBackgroundPixmap(Tk_Window tkwin,
jpayne@69 541 Pixmap pixmap);
jpayne@69 542 /* 167 */
jpayne@69 543 EXTERN void Tk_SetWindowBorder(Tk_Window tkwin,
jpayne@69 544 unsigned long pixel);
jpayne@69 545 /* 168 */
jpayne@69 546 EXTERN void Tk_SetWindowBorderWidth(Tk_Window tkwin, int width);
jpayne@69 547 /* 169 */
jpayne@69 548 EXTERN void Tk_SetWindowBorderPixmap(Tk_Window tkwin,
jpayne@69 549 Pixmap pixmap);
jpayne@69 550 /* 170 */
jpayne@69 551 EXTERN void Tk_SetWindowColormap(Tk_Window tkwin,
jpayne@69 552 Colormap colormap);
jpayne@69 553 /* 171 */
jpayne@69 554 EXTERN int Tk_SetWindowVisual(Tk_Window tkwin, Visual *visual,
jpayne@69 555 int depth, Colormap colormap);
jpayne@69 556 /* 172 */
jpayne@69 557 EXTERN void Tk_SizeOfBitmap(Display *display, Pixmap bitmap,
jpayne@69 558 int *widthPtr, int *heightPtr);
jpayne@69 559 /* 173 */
jpayne@69 560 EXTERN void Tk_SizeOfImage(Tk_Image image, int *widthPtr,
jpayne@69 561 int *heightPtr);
jpayne@69 562 /* 174 */
jpayne@69 563 EXTERN int Tk_StrictMotif(Tk_Window tkwin);
jpayne@69 564 /* 175 */
jpayne@69 565 EXTERN void Tk_TextLayoutToPostscript(Tcl_Interp *interp,
jpayne@69 566 Tk_TextLayout layout);
jpayne@69 567 /* 176 */
jpayne@69 568 EXTERN int Tk_TextWidth(Tk_Font font, const char *str,
jpayne@69 569 int numBytes);
jpayne@69 570 /* 177 */
jpayne@69 571 EXTERN void Tk_UndefineCursor(Tk_Window window);
jpayne@69 572 /* 178 */
jpayne@69 573 EXTERN void Tk_UnderlineChars(Display *display,
jpayne@69 574 Drawable drawable, GC gc, Tk_Font tkfont,
jpayne@69 575 const char *source, int x, int y,
jpayne@69 576 int firstByte, int lastByte);
jpayne@69 577 /* 179 */
jpayne@69 578 EXTERN void Tk_UnderlineTextLayout(Display *display,
jpayne@69 579 Drawable drawable, GC gc,
jpayne@69 580 Tk_TextLayout layout, int x, int y,
jpayne@69 581 int underline);
jpayne@69 582 /* 180 */
jpayne@69 583 EXTERN void Tk_Ungrab(Tk_Window tkwin);
jpayne@69 584 /* 181 */
jpayne@69 585 EXTERN void Tk_UnmaintainGeometry(Tk_Window window,
jpayne@69 586 Tk_Window container);
jpayne@69 587 /* 182 */
jpayne@69 588 EXTERN void Tk_UnmapWindow(Tk_Window tkwin);
jpayne@69 589 /* 183 */
jpayne@69 590 EXTERN void Tk_UnsetGrid(Tk_Window tkwin);
jpayne@69 591 /* 184 */
jpayne@69 592 EXTERN void Tk_UpdatePointer(Tk_Window tkwin, int x, int y,
jpayne@69 593 int state);
jpayne@69 594 /* 185 */
jpayne@69 595 EXTERN Pixmap Tk_AllocBitmapFromObj(Tcl_Interp *interp,
jpayne@69 596 Tk_Window tkwin, Tcl_Obj *objPtr);
jpayne@69 597 /* 186 */
jpayne@69 598 EXTERN Tk_3DBorder Tk_Alloc3DBorderFromObj(Tcl_Interp *interp,
jpayne@69 599 Tk_Window tkwin, Tcl_Obj *objPtr);
jpayne@69 600 /* 187 */
jpayne@69 601 EXTERN XColor * Tk_AllocColorFromObj(Tcl_Interp *interp,
jpayne@69 602 Tk_Window tkwin, Tcl_Obj *objPtr);
jpayne@69 603 /* 188 */
jpayne@69 604 EXTERN Tk_Cursor Tk_AllocCursorFromObj(Tcl_Interp *interp,
jpayne@69 605 Tk_Window tkwin, Tcl_Obj *objPtr);
jpayne@69 606 /* 189 */
jpayne@69 607 EXTERN Tk_Font Tk_AllocFontFromObj(Tcl_Interp *interp,
jpayne@69 608 Tk_Window tkwin, Tcl_Obj *objPtr);
jpayne@69 609 /* 190 */
jpayne@69 610 EXTERN Tk_OptionTable Tk_CreateOptionTable(Tcl_Interp *interp,
jpayne@69 611 const Tk_OptionSpec *templatePtr);
jpayne@69 612 /* 191 */
jpayne@69 613 EXTERN void Tk_DeleteOptionTable(Tk_OptionTable optionTable);
jpayne@69 614 /* 192 */
jpayne@69 615 EXTERN void Tk_Free3DBorderFromObj(Tk_Window tkwin,
jpayne@69 616 Tcl_Obj *objPtr);
jpayne@69 617 /* 193 */
jpayne@69 618 EXTERN void Tk_FreeBitmapFromObj(Tk_Window tkwin,
jpayne@69 619 Tcl_Obj *objPtr);
jpayne@69 620 /* 194 */
jpayne@69 621 EXTERN void Tk_FreeColorFromObj(Tk_Window tkwin, Tcl_Obj *objPtr);
jpayne@69 622 /* 195 */
jpayne@69 623 EXTERN void Tk_FreeConfigOptions(char *recordPtr,
jpayne@69 624 Tk_OptionTable optionToken, Tk_Window tkwin);
jpayne@69 625 /* 196 */
jpayne@69 626 EXTERN void Tk_FreeSavedOptions(Tk_SavedOptions *savePtr);
jpayne@69 627 /* 197 */
jpayne@69 628 EXTERN void Tk_FreeCursorFromObj(Tk_Window tkwin,
jpayne@69 629 Tcl_Obj *objPtr);
jpayne@69 630 /* 198 */
jpayne@69 631 EXTERN void Tk_FreeFontFromObj(Tk_Window tkwin, Tcl_Obj *objPtr);
jpayne@69 632 /* 199 */
jpayne@69 633 EXTERN Tk_3DBorder Tk_Get3DBorderFromObj(Tk_Window tkwin,
jpayne@69 634 Tcl_Obj *objPtr);
jpayne@69 635 /* 200 */
jpayne@69 636 EXTERN int Tk_GetAnchorFromObj(Tcl_Interp *interp,
jpayne@69 637 Tcl_Obj *objPtr, Tk_Anchor *anchorPtr);
jpayne@69 638 /* 201 */
jpayne@69 639 EXTERN Pixmap Tk_GetBitmapFromObj(Tk_Window tkwin, Tcl_Obj *objPtr);
jpayne@69 640 /* 202 */
jpayne@69 641 EXTERN XColor * Tk_GetColorFromObj(Tk_Window tkwin, Tcl_Obj *objPtr);
jpayne@69 642 /* 203 */
jpayne@69 643 EXTERN Tk_Cursor Tk_GetCursorFromObj(Tk_Window tkwin, Tcl_Obj *objPtr);
jpayne@69 644 /* 204 */
jpayne@69 645 EXTERN Tcl_Obj * Tk_GetOptionInfo(Tcl_Interp *interp, char *recordPtr,
jpayne@69 646 Tk_OptionTable optionTable, Tcl_Obj *namePtr,
jpayne@69 647 Tk_Window tkwin);
jpayne@69 648 /* 205 */
jpayne@69 649 EXTERN Tcl_Obj * Tk_GetOptionValue(Tcl_Interp *interp,
jpayne@69 650 char *recordPtr, Tk_OptionTable optionTable,
jpayne@69 651 Tcl_Obj *namePtr, Tk_Window tkwin);
jpayne@69 652 /* 206 */
jpayne@69 653 EXTERN int Tk_GetJustifyFromObj(Tcl_Interp *interp,
jpayne@69 654 Tcl_Obj *objPtr, Tk_Justify *justifyPtr);
jpayne@69 655 /* 207 */
jpayne@69 656 EXTERN int Tk_GetMMFromObj(Tcl_Interp *interp, Tk_Window tkwin,
jpayne@69 657 Tcl_Obj *objPtr, double *doublePtr);
jpayne@69 658 /* 208 */
jpayne@69 659 EXTERN int Tk_GetPixelsFromObj(Tcl_Interp *interp,
jpayne@69 660 Tk_Window tkwin, Tcl_Obj *objPtr,
jpayne@69 661 int *intPtr);
jpayne@69 662 /* 209 */
jpayne@69 663 EXTERN int Tk_GetReliefFromObj(Tcl_Interp *interp,
jpayne@69 664 Tcl_Obj *objPtr, int *resultPtr);
jpayne@69 665 /* 210 */
jpayne@69 666 EXTERN int Tk_GetScrollInfoObj(Tcl_Interp *interp, int objc,
jpayne@69 667 Tcl_Obj *const objv[], double *dblPtr,
jpayne@69 668 int *intPtr);
jpayne@69 669 /* 211 */
jpayne@69 670 EXTERN int Tk_InitOptions(Tcl_Interp *interp, char *recordPtr,
jpayne@69 671 Tk_OptionTable optionToken, Tk_Window tkwin);
jpayne@69 672 /* 212 */
jpayne@69 673 EXTERN void Tk_MainEx(int argc, char **argv,
jpayne@69 674 Tcl_AppInitProc *appInitProc,
jpayne@69 675 Tcl_Interp *interp);
jpayne@69 676 /* 213 */
jpayne@69 677 EXTERN void Tk_RestoreSavedOptions(Tk_SavedOptions *savePtr);
jpayne@69 678 /* 214 */
jpayne@69 679 EXTERN int Tk_SetOptions(Tcl_Interp *interp, char *recordPtr,
jpayne@69 680 Tk_OptionTable optionTable, int objc,
jpayne@69 681 Tcl_Obj *const objv[], Tk_Window tkwin,
jpayne@69 682 Tk_SavedOptions *savePtr, int *maskPtr);
jpayne@69 683 /* 215 */
jpayne@69 684 EXTERN void Tk_InitConsoleChannels(Tcl_Interp *interp);
jpayne@69 685 /* 216 */
jpayne@69 686 EXTERN int Tk_CreateConsoleWindow(Tcl_Interp *interp);
jpayne@69 687 /* 217 */
jpayne@69 688 EXTERN void Tk_CreateSmoothMethod(Tcl_Interp *interp,
jpayne@69 689 const Tk_SmoothMethod *method);
jpayne@69 690 /* Slot 218 is reserved */
jpayne@69 691 /* Slot 219 is reserved */
jpayne@69 692 /* 220 */
jpayne@69 693 EXTERN int Tk_GetDash(Tcl_Interp *interp, const char *value,
jpayne@69 694 Tk_Dash *dash);
jpayne@69 695 /* 221 */
jpayne@69 696 EXTERN void Tk_CreateOutline(Tk_Outline *outline);
jpayne@69 697 /* 222 */
jpayne@69 698 EXTERN void Tk_DeleteOutline(Display *display,
jpayne@69 699 Tk_Outline *outline);
jpayne@69 700 /* 223 */
jpayne@69 701 EXTERN int Tk_ConfigOutlineGC(XGCValues *gcValues,
jpayne@69 702 Tk_Canvas canvas, Tk_Item *item,
jpayne@69 703 Tk_Outline *outline);
jpayne@69 704 /* 224 */
jpayne@69 705 EXTERN int Tk_ChangeOutlineGC(Tk_Canvas canvas, Tk_Item *item,
jpayne@69 706 Tk_Outline *outline);
jpayne@69 707 /* 225 */
jpayne@69 708 EXTERN int Tk_ResetOutlineGC(Tk_Canvas canvas, Tk_Item *item,
jpayne@69 709 Tk_Outline *outline);
jpayne@69 710 /* 226 */
jpayne@69 711 EXTERN int Tk_CanvasPsOutline(Tk_Canvas canvas, Tk_Item *item,
jpayne@69 712 Tk_Outline *outline);
jpayne@69 713 /* 227 */
jpayne@69 714 EXTERN void Tk_SetTSOrigin(Tk_Window tkwin, GC gc, int x, int y);
jpayne@69 715 /* 228 */
jpayne@69 716 EXTERN int Tk_CanvasGetCoordFromObj(Tcl_Interp *interp,
jpayne@69 717 Tk_Canvas canvas, Tcl_Obj *obj,
jpayne@69 718 double *doublePtr);
jpayne@69 719 /* 229 */
jpayne@69 720 EXTERN void Tk_CanvasSetOffset(Tk_Canvas canvas, GC gc,
jpayne@69 721 Tk_TSOffset *offset);
jpayne@69 722 /* 230 */
jpayne@69 723 EXTERN void Tk_DitherPhoto(Tk_PhotoHandle handle, int x, int y,
jpayne@69 724 int width, int height);
jpayne@69 725 /* 231 */
jpayne@69 726 EXTERN int Tk_PostscriptBitmap(Tcl_Interp *interp,
jpayne@69 727 Tk_Window tkwin, Tk_PostscriptInfo psInfo,
jpayne@69 728 Pixmap bitmap, int startX, int startY,
jpayne@69 729 int width, int height);
jpayne@69 730 /* 232 */
jpayne@69 731 EXTERN int Tk_PostscriptColor(Tcl_Interp *interp,
jpayne@69 732 Tk_PostscriptInfo psInfo, XColor *colorPtr);
jpayne@69 733 /* 233 */
jpayne@69 734 EXTERN int Tk_PostscriptFont(Tcl_Interp *interp,
jpayne@69 735 Tk_PostscriptInfo psInfo, Tk_Font font);
jpayne@69 736 /* 234 */
jpayne@69 737 EXTERN int Tk_PostscriptImage(Tk_Image image,
jpayne@69 738 Tcl_Interp *interp, Tk_Window tkwin,
jpayne@69 739 Tk_PostscriptInfo psinfo, int x, int y,
jpayne@69 740 int width, int height, int prepass);
jpayne@69 741 /* 235 */
jpayne@69 742 EXTERN void Tk_PostscriptPath(Tcl_Interp *interp,
jpayne@69 743 Tk_PostscriptInfo psInfo, double *coordPtr,
jpayne@69 744 int numPoints);
jpayne@69 745 /* 236 */
jpayne@69 746 EXTERN int Tk_PostscriptStipple(Tcl_Interp *interp,
jpayne@69 747 Tk_Window tkwin, Tk_PostscriptInfo psInfo,
jpayne@69 748 Pixmap bitmap);
jpayne@69 749 /* 237 */
jpayne@69 750 EXTERN double Tk_PostscriptY(double y, Tk_PostscriptInfo psInfo);
jpayne@69 751 /* 238 */
jpayne@69 752 EXTERN int Tk_PostscriptPhoto(Tcl_Interp *interp,
jpayne@69 753 Tk_PhotoImageBlock *blockPtr,
jpayne@69 754 Tk_PostscriptInfo psInfo, int width,
jpayne@69 755 int height);
jpayne@69 756 /* 239 */
jpayne@69 757 EXTERN void Tk_CreateClientMessageHandler(
jpayne@69 758 Tk_ClientMessageProc *proc);
jpayne@69 759 /* 240 */
jpayne@69 760 EXTERN void Tk_DeleteClientMessageHandler(
jpayne@69 761 Tk_ClientMessageProc *proc);
jpayne@69 762 /* 241 */
jpayne@69 763 EXTERN Tk_Window Tk_CreateAnonymousWindow(Tcl_Interp *interp,
jpayne@69 764 Tk_Window parent, const char *screenName);
jpayne@69 765 /* 242 */
jpayne@69 766 EXTERN void Tk_SetClassProcs(Tk_Window tkwin,
jpayne@69 767 const Tk_ClassProcs *procs,
jpayne@69 768 ClientData instanceData);
jpayne@69 769 /* 243 */
jpayne@69 770 EXTERN void Tk_SetInternalBorderEx(Tk_Window tkwin, int left,
jpayne@69 771 int right, int top, int bottom);
jpayne@69 772 /* 244 */
jpayne@69 773 EXTERN void Tk_SetMinimumRequestSize(Tk_Window tkwin,
jpayne@69 774 int minWidth, int minHeight);
jpayne@69 775 /* 245 */
jpayne@69 776 EXTERN void Tk_SetCaretPos(Tk_Window tkwin, int x, int y,
jpayne@69 777 int height);
jpayne@69 778 /* 246 */
jpayne@69 779 EXTERN void Tk_PhotoPutBlock_Panic(Tk_PhotoHandle handle,
jpayne@69 780 Tk_PhotoImageBlock *blockPtr, int x, int y,
jpayne@69 781 int width, int height, int compRule);
jpayne@69 782 /* 247 */
jpayne@69 783 EXTERN void Tk_PhotoPutZoomedBlock_Panic(Tk_PhotoHandle handle,
jpayne@69 784 Tk_PhotoImageBlock *blockPtr, int x, int y,
jpayne@69 785 int width, int height, int zoomX, int zoomY,
jpayne@69 786 int subsampleX, int subsampleY, int compRule);
jpayne@69 787 /* 248 */
jpayne@69 788 EXTERN int Tk_CollapseMotionEvents(Display *display,
jpayne@69 789 int collapse);
jpayne@69 790 /* 249 */
jpayne@69 791 EXTERN Tk_StyleEngine Tk_RegisterStyleEngine(const char *name,
jpayne@69 792 Tk_StyleEngine parent);
jpayne@69 793 /* 250 */
jpayne@69 794 EXTERN Tk_StyleEngine Tk_GetStyleEngine(const char *name);
jpayne@69 795 /* 251 */
jpayne@69 796 EXTERN int Tk_RegisterStyledElement(Tk_StyleEngine engine,
jpayne@69 797 Tk_ElementSpec *templatePtr);
jpayne@69 798 /* 252 */
jpayne@69 799 EXTERN int Tk_GetElementId(const char *name);
jpayne@69 800 /* 253 */
jpayne@69 801 EXTERN Tk_Style Tk_CreateStyle(const char *name,
jpayne@69 802 Tk_StyleEngine engine, ClientData clientData);
jpayne@69 803 /* 254 */
jpayne@69 804 EXTERN Tk_Style Tk_GetStyle(Tcl_Interp *interp, const char *name);
jpayne@69 805 /* 255 */
jpayne@69 806 EXTERN void Tk_FreeStyle(Tk_Style style);
jpayne@69 807 /* 256 */
jpayne@69 808 EXTERN const char * Tk_NameOfStyle(Tk_Style style);
jpayne@69 809 /* 257 */
jpayne@69 810 EXTERN Tk_Style Tk_AllocStyleFromObj(Tcl_Interp *interp,
jpayne@69 811 Tcl_Obj *objPtr);
jpayne@69 812 /* 258 */
jpayne@69 813 EXTERN Tk_Style Tk_GetStyleFromObj(Tcl_Obj *objPtr);
jpayne@69 814 /* 259 */
jpayne@69 815 EXTERN void Tk_FreeStyleFromObj(Tcl_Obj *objPtr);
jpayne@69 816 /* 260 */
jpayne@69 817 EXTERN Tk_StyledElement Tk_GetStyledElement(Tk_Style style, int elementId,
jpayne@69 818 Tk_OptionTable optionTable);
jpayne@69 819 /* 261 */
jpayne@69 820 EXTERN void Tk_GetElementSize(Tk_Style style,
jpayne@69 821 Tk_StyledElement element, char *recordPtr,
jpayne@69 822 Tk_Window tkwin, int width, int height,
jpayne@69 823 int inner, int *widthPtr, int *heightPtr);
jpayne@69 824 /* 262 */
jpayne@69 825 EXTERN void Tk_GetElementBox(Tk_Style style,
jpayne@69 826 Tk_StyledElement element, char *recordPtr,
jpayne@69 827 Tk_Window tkwin, int x, int y, int width,
jpayne@69 828 int height, int inner, int *xPtr, int *yPtr,
jpayne@69 829 int *widthPtr, int *heightPtr);
jpayne@69 830 /* 263 */
jpayne@69 831 EXTERN int Tk_GetElementBorderWidth(Tk_Style style,
jpayne@69 832 Tk_StyledElement element, char *recordPtr,
jpayne@69 833 Tk_Window tkwin);
jpayne@69 834 /* 264 */
jpayne@69 835 EXTERN void Tk_DrawElement(Tk_Style style,
jpayne@69 836 Tk_StyledElement element, char *recordPtr,
jpayne@69 837 Tk_Window tkwin, Drawable d, int x, int y,
jpayne@69 838 int width, int height, int state);
jpayne@69 839 /* 265 */
jpayne@69 840 EXTERN int Tk_PhotoExpand(Tcl_Interp *interp,
jpayne@69 841 Tk_PhotoHandle handle, int width, int height);
jpayne@69 842 /* 266 */
jpayne@69 843 EXTERN int Tk_PhotoPutBlock(Tcl_Interp *interp,
jpayne@69 844 Tk_PhotoHandle handle,
jpayne@69 845 Tk_PhotoImageBlock *blockPtr, int x, int y,
jpayne@69 846 int width, int height, int compRule);
jpayne@69 847 /* 267 */
jpayne@69 848 EXTERN int Tk_PhotoPutZoomedBlock(Tcl_Interp *interp,
jpayne@69 849 Tk_PhotoHandle handle,
jpayne@69 850 Tk_PhotoImageBlock *blockPtr, int x, int y,
jpayne@69 851 int width, int height, int zoomX, int zoomY,
jpayne@69 852 int subsampleX, int subsampleY, int compRule);
jpayne@69 853 /* 268 */
jpayne@69 854 EXTERN int Tk_PhotoSetSize(Tcl_Interp *interp,
jpayne@69 855 Tk_PhotoHandle handle, int width, int height);
jpayne@69 856 /* 269 */
jpayne@69 857 EXTERN long Tk_GetUserInactiveTime(Display *dpy);
jpayne@69 858 /* 270 */
jpayne@69 859 EXTERN void Tk_ResetUserInactiveTime(Display *dpy);
jpayne@69 860 /* 271 */
jpayne@69 861 EXTERN Tcl_Interp * Tk_Interp(Tk_Window tkwin);
jpayne@69 862 /* 272 */
jpayne@69 863 EXTERN void Tk_CreateOldImageType(const Tk_ImageType *typePtr);
jpayne@69 864 /* 273 */
jpayne@69 865 EXTERN void Tk_CreateOldPhotoImageFormat(
jpayne@69 866 const Tk_PhotoImageFormat *formatPtr);
jpayne@69 867 /* Slot 274 is reserved */
jpayne@69 868 /* Slot 275 is reserved */
jpayne@69 869 /* Slot 276 is reserved */
jpayne@69 870 /* Slot 277 is reserved */
jpayne@69 871 /* Slot 278 is reserved */
jpayne@69 872 /* Slot 279 is reserved */
jpayne@69 873 /* Slot 280 is reserved */
jpayne@69 874 /* Slot 281 is reserved */
jpayne@69 875 /* Slot 282 is reserved */
jpayne@69 876 /* Slot 283 is reserved */
jpayne@69 877 /* Slot 284 is reserved */
jpayne@69 878 /* Slot 285 is reserved */
jpayne@69 879 /* Slot 286 is reserved */
jpayne@69 880 /* Slot 287 is reserved */
jpayne@69 881 /* Slot 288 is reserved */
jpayne@69 882 /* Slot 289 is reserved */
jpayne@69 883 /* 290 */
jpayne@69 884 EXTERN void TkUnusedStubEntry(void);
jpayne@69 885
jpayne@69 886 typedef struct {
jpayne@69 887 const struct TkPlatStubs *tkPlatStubs;
jpayne@69 888 const struct TkIntStubs *tkIntStubs;
jpayne@69 889 const struct TkIntPlatStubs *tkIntPlatStubs;
jpayne@69 890 const struct TkIntXlibStubs *tkIntXlibStubs;
jpayne@69 891 } TkStubHooks;
jpayne@69 892
jpayne@69 893 typedef struct TkStubs {
jpayne@69 894 int magic;
jpayne@69 895 const TkStubHooks *hooks;
jpayne@69 896
jpayne@69 897 void (*tk_MainLoop) (void); /* 0 */
jpayne@69 898 XColor * (*tk_3DBorderColor) (Tk_3DBorder border); /* 1 */
jpayne@69 899 GC (*tk_3DBorderGC) (Tk_Window tkwin, Tk_3DBorder border, int which); /* 2 */
jpayne@69 900 void (*tk_3DHorizontalBevel) (Tk_Window tkwin, Drawable drawable, Tk_3DBorder border, int x, int y, int width, int height, int leftIn, int rightIn, int topBevel, int relief); /* 3 */
jpayne@69 901 void (*tk_3DVerticalBevel) (Tk_Window tkwin, Drawable drawable, Tk_3DBorder border, int x, int y, int width, int height, int leftBevel, int relief); /* 4 */
jpayne@69 902 void (*tk_AddOption) (Tk_Window tkwin, const char *name, const char *value, int priority); /* 5 */
jpayne@69 903 void (*tk_BindEvent) (Tk_BindingTable bindingTable, XEvent *eventPtr, Tk_Window tkwin, int numObjects, ClientData *objectPtr); /* 6 */
jpayne@69 904 void (*tk_CanvasDrawableCoords) (Tk_Canvas canvas, double x, double y, short *drawableXPtr, short *drawableYPtr); /* 7 */
jpayne@69 905 void (*tk_CanvasEventuallyRedraw) (Tk_Canvas canvas, int x1, int y1, int x2, int y2); /* 8 */
jpayne@69 906 int (*tk_CanvasGetCoord) (Tcl_Interp *interp, Tk_Canvas canvas, const char *str, double *doublePtr); /* 9 */
jpayne@69 907 Tk_CanvasTextInfo * (*tk_CanvasGetTextInfo) (Tk_Canvas canvas); /* 10 */
jpayne@69 908 int (*tk_CanvasPsBitmap) (Tcl_Interp *interp, Tk_Canvas canvas, Pixmap bitmap, int x, int y, int width, int height); /* 11 */
jpayne@69 909 int (*tk_CanvasPsColor) (Tcl_Interp *interp, Tk_Canvas canvas, XColor *colorPtr); /* 12 */
jpayne@69 910 int (*tk_CanvasPsFont) (Tcl_Interp *interp, Tk_Canvas canvas, Tk_Font font); /* 13 */
jpayne@69 911 void (*tk_CanvasPsPath) (Tcl_Interp *interp, Tk_Canvas canvas, double *coordPtr, int numPoints); /* 14 */
jpayne@69 912 int (*tk_CanvasPsStipple) (Tcl_Interp *interp, Tk_Canvas canvas, Pixmap bitmap); /* 15 */
jpayne@69 913 double (*tk_CanvasPsY) (Tk_Canvas canvas, double y); /* 16 */
jpayne@69 914 void (*tk_CanvasSetStippleOrigin) (Tk_Canvas canvas, GC gc); /* 17 */
jpayne@69 915 int (*tk_CanvasTagsParseProc) (ClientData clientData, Tcl_Interp *interp, Tk_Window tkwin, const char *value, char *widgRec, int offset); /* 18 */
jpayne@69 916 CONST86 char * (*tk_CanvasTagsPrintProc) (ClientData clientData, Tk_Window tkwin, char *widgRec, int offset, Tcl_FreeProc **freeProcPtr); /* 19 */
jpayne@69 917 Tk_Window (*tk_CanvasTkwin) (Tk_Canvas canvas); /* 20 */
jpayne@69 918 void (*tk_CanvasWindowCoords) (Tk_Canvas canvas, double x, double y, short *screenXPtr, short *screenYPtr); /* 21 */
jpayne@69 919 void (*tk_ChangeWindowAttributes) (Tk_Window tkwin, unsigned long valueMask, XSetWindowAttributes *attsPtr); /* 22 */
jpayne@69 920 int (*tk_CharBbox) (Tk_TextLayout layout, int index, int *xPtr, int *yPtr, int *widthPtr, int *heightPtr); /* 23 */
jpayne@69 921 void (*tk_ClearSelection) (Tk_Window tkwin, Atom selection); /* 24 */
jpayne@69 922 int (*tk_ClipboardAppend) (Tcl_Interp *interp, Tk_Window tkwin, Atom target, Atom format, const char *buffer); /* 25 */
jpayne@69 923 int (*tk_ClipboardClear) (Tcl_Interp *interp, Tk_Window tkwin); /* 26 */
jpayne@69 924 int (*tk_ConfigureInfo) (Tcl_Interp *interp, Tk_Window tkwin, const Tk_ConfigSpec *specs, char *widgRec, const char *argvName, int flags); /* 27 */
jpayne@69 925 int (*tk_ConfigureValue) (Tcl_Interp *interp, Tk_Window tkwin, const Tk_ConfigSpec *specs, char *widgRec, const char *argvName, int flags); /* 28 */
jpayne@69 926 int (*tk_ConfigureWidget) (Tcl_Interp *interp, Tk_Window tkwin, const Tk_ConfigSpec *specs, int argc, CONST84 char **argv, char *widgRec, int flags); /* 29 */
jpayne@69 927 void (*tk_ConfigureWindow) (Tk_Window tkwin, unsigned int valueMask, XWindowChanges *valuePtr); /* 30 */
jpayne@69 928 Tk_TextLayout (*tk_ComputeTextLayout) (Tk_Font font, const char *str, int numChars, int wrapLength, Tk_Justify justify, int flags, int *widthPtr, int *heightPtr); /* 31 */
jpayne@69 929 Tk_Window (*tk_CoordsToWindow) (int rootX, int rootY, Tk_Window tkwin); /* 32 */
jpayne@69 930 unsigned long (*tk_CreateBinding) (Tcl_Interp *interp, Tk_BindingTable bindingTable, ClientData object, const char *eventStr, const char *script, int append); /* 33 */
jpayne@69 931 Tk_BindingTable (*tk_CreateBindingTable) (Tcl_Interp *interp); /* 34 */
jpayne@69 932 Tk_ErrorHandler (*tk_CreateErrorHandler) (Display *display, int errNum, int request, int minorCode, Tk_ErrorProc *errorProc, ClientData clientData); /* 35 */
jpayne@69 933 void (*tk_CreateEventHandler) (Tk_Window token, unsigned long mask, Tk_EventProc *proc, ClientData clientData); /* 36 */
jpayne@69 934 void (*tk_CreateGenericHandler) (Tk_GenericProc *proc, ClientData clientData); /* 37 */
jpayne@69 935 void (*tk_CreateImageType) (const Tk_ImageType *typePtr); /* 38 */
jpayne@69 936 void (*tk_CreateItemType) (Tk_ItemType *typePtr); /* 39 */
jpayne@69 937 void (*tk_CreatePhotoImageFormat) (const Tk_PhotoImageFormat *formatPtr); /* 40 */
jpayne@69 938 void (*tk_CreateSelHandler) (Tk_Window tkwin, Atom selection, Atom target, Tk_SelectionProc *proc, ClientData clientData, Atom format); /* 41 */
jpayne@69 939 Tk_Window (*tk_CreateWindow) (Tcl_Interp *interp, Tk_Window parent, const char *name, const char *screenName); /* 42 */
jpayne@69 940 Tk_Window (*tk_CreateWindowFromPath) (Tcl_Interp *interp, Tk_Window tkwin, const char *pathName, const char *screenName); /* 43 */
jpayne@69 941 int (*tk_DefineBitmap) (Tcl_Interp *interp, const char *name, const void *source, int width, int height); /* 44 */
jpayne@69 942 void (*tk_DefineCursor) (Tk_Window window, Tk_Cursor cursor); /* 45 */
jpayne@69 943 void (*tk_DeleteAllBindings) (Tk_BindingTable bindingTable, ClientData object); /* 46 */
jpayne@69 944 int (*tk_DeleteBinding) (Tcl_Interp *interp, Tk_BindingTable bindingTable, ClientData object, const char *eventStr); /* 47 */
jpayne@69 945 void (*tk_DeleteBindingTable) (Tk_BindingTable bindingTable); /* 48 */
jpayne@69 946 void (*tk_DeleteErrorHandler) (Tk_ErrorHandler handler); /* 49 */
jpayne@69 947 void (*tk_DeleteEventHandler) (Tk_Window token, unsigned long mask, Tk_EventProc *proc, ClientData clientData); /* 50 */
jpayne@69 948 void (*tk_DeleteGenericHandler) (Tk_GenericProc *proc, ClientData clientData); /* 51 */
jpayne@69 949 void (*tk_DeleteImage) (Tcl_Interp *interp, const char *name); /* 52 */
jpayne@69 950 void (*tk_DeleteSelHandler) (Tk_Window tkwin, Atom selection, Atom target); /* 53 */
jpayne@69 951 void (*tk_DestroyWindow) (Tk_Window tkwin); /* 54 */
jpayne@69 952 CONST84_RETURN char * (*tk_DisplayName) (Tk_Window tkwin); /* 55 */
jpayne@69 953 int (*tk_DistanceToTextLayout) (Tk_TextLayout layout, int x, int y); /* 56 */
jpayne@69 954 void (*tk_Draw3DPolygon) (Tk_Window tkwin, Drawable drawable, Tk_3DBorder border, XPoint *pointPtr, int numPoints, int borderWidth, int leftRelief); /* 57 */
jpayne@69 955 void (*tk_Draw3DRectangle) (Tk_Window tkwin, Drawable drawable, Tk_3DBorder border, int x, int y, int width, int height, int borderWidth, int relief); /* 58 */
jpayne@69 956 void (*tk_DrawChars) (Display *display, Drawable drawable, GC gc, Tk_Font tkfont, const char *source, int numBytes, int x, int y); /* 59 */
jpayne@69 957 void (*tk_DrawFocusHighlight) (Tk_Window tkwin, GC gc, int width, Drawable drawable); /* 60 */
jpayne@69 958 void (*tk_DrawTextLayout) (Display *display, Drawable drawable, GC gc, Tk_TextLayout layout, int x, int y, int firstChar, int lastChar); /* 61 */
jpayne@69 959 void (*tk_Fill3DPolygon) (Tk_Window tkwin, Drawable drawable, Tk_3DBorder border, XPoint *pointPtr, int numPoints, int borderWidth, int leftRelief); /* 62 */
jpayne@69 960 void (*tk_Fill3DRectangle) (Tk_Window tkwin, Drawable drawable, Tk_3DBorder border, int x, int y, int width, int height, int borderWidth, int relief); /* 63 */
jpayne@69 961 Tk_PhotoHandle (*tk_FindPhoto) (Tcl_Interp *interp, const char *imageName); /* 64 */
jpayne@69 962 Font (*tk_FontId) (Tk_Font font); /* 65 */
jpayne@69 963 void (*tk_Free3DBorder) (Tk_3DBorder border); /* 66 */
jpayne@69 964 void (*tk_FreeBitmap) (Display *display, Pixmap bitmap); /* 67 */
jpayne@69 965 void (*tk_FreeColor) (XColor *colorPtr); /* 68 */
jpayne@69 966 void (*tk_FreeColormap) (Display *display, Colormap colormap); /* 69 */
jpayne@69 967 void (*tk_FreeCursor) (Display *display, Tk_Cursor cursor); /* 70 */
jpayne@69 968 void (*tk_FreeFont) (Tk_Font f); /* 71 */
jpayne@69 969 void (*tk_FreeGC) (Display *display, GC gc); /* 72 */
jpayne@69 970 void (*tk_FreeImage) (Tk_Image image); /* 73 */
jpayne@69 971 void (*tk_FreeOptions) (const Tk_ConfigSpec *specs, char *widgRec, Display *display, int needFlags); /* 74 */
jpayne@69 972 void (*tk_FreePixmap) (Display *display, Pixmap pixmap); /* 75 */
jpayne@69 973 void (*tk_FreeTextLayout) (Tk_TextLayout textLayout); /* 76 */
jpayne@69 974 void (*tk_FreeXId) (Display *display, XID xid); /* 77 */
jpayne@69 975 GC (*tk_GCForColor) (XColor *colorPtr, Drawable drawable); /* 78 */
jpayne@69 976 void (*tk_GeometryRequest) (Tk_Window tkwin, int reqWidth, int reqHeight); /* 79 */
jpayne@69 977 Tk_3DBorder (*tk_Get3DBorder) (Tcl_Interp *interp, Tk_Window tkwin, Tk_Uid colorName); /* 80 */
jpayne@69 978 void (*tk_GetAllBindings) (Tcl_Interp *interp, Tk_BindingTable bindingTable, ClientData object); /* 81 */
jpayne@69 979 int (*tk_GetAnchor) (Tcl_Interp *interp, const char *str, Tk_Anchor *anchorPtr); /* 82 */
jpayne@69 980 CONST84_RETURN char * (*tk_GetAtomName) (Tk_Window tkwin, Atom atom); /* 83 */
jpayne@69 981 CONST84_RETURN char * (*tk_GetBinding) (Tcl_Interp *interp, Tk_BindingTable bindingTable, ClientData object, const char *eventStr); /* 84 */
jpayne@69 982 Pixmap (*tk_GetBitmap) (Tcl_Interp *interp, Tk_Window tkwin, const char *str); /* 85 */
jpayne@69 983 Pixmap (*tk_GetBitmapFromData) (Tcl_Interp *interp, Tk_Window tkwin, const void *source, int width, int height); /* 86 */
jpayne@69 984 int (*tk_GetCapStyle) (Tcl_Interp *interp, const char *str, int *capPtr); /* 87 */
jpayne@69 985 XColor * (*tk_GetColor) (Tcl_Interp *interp, Tk_Window tkwin, Tk_Uid name); /* 88 */
jpayne@69 986 XColor * (*tk_GetColorByValue) (Tk_Window tkwin, XColor *colorPtr); /* 89 */
jpayne@69 987 Colormap (*tk_GetColormap) (Tcl_Interp *interp, Tk_Window tkwin, const char *str); /* 90 */
jpayne@69 988 Tk_Cursor (*tk_GetCursor) (Tcl_Interp *interp, Tk_Window tkwin, Tk_Uid str); /* 91 */
jpayne@69 989 Tk_Cursor (*tk_GetCursorFromData) (Tcl_Interp *interp, Tk_Window tkwin, const char *source, const char *mask, int width, int height, int xHot, int yHot, Tk_Uid fg, Tk_Uid bg); /* 92 */
jpayne@69 990 Tk_Font (*tk_GetFont) (Tcl_Interp *interp, Tk_Window tkwin, const char *str); /* 93 */
jpayne@69 991 Tk_Font (*tk_GetFontFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 94 */
jpayne@69 992 void (*tk_GetFontMetrics) (Tk_Font font, Tk_FontMetrics *fmPtr); /* 95 */
jpayne@69 993 GC (*tk_GetGC) (Tk_Window tkwin, unsigned long valueMask, XGCValues *valuePtr); /* 96 */
jpayne@69 994 Tk_Image (*tk_GetImage) (Tcl_Interp *interp, Tk_Window tkwin, const char *name, Tk_ImageChangedProc *changeProc, ClientData clientData); /* 97 */
jpayne@69 995 ClientData (*tk_GetImageMasterData) (Tcl_Interp *interp, const char *name, CONST86 Tk_ImageType **typePtrPtr); /* 98 */
jpayne@69 996 Tk_ItemType * (*tk_GetItemTypes) (void); /* 99 */
jpayne@69 997 int (*tk_GetJoinStyle) (Tcl_Interp *interp, const char *str, int *joinPtr); /* 100 */
jpayne@69 998 int (*tk_GetJustify) (Tcl_Interp *interp, const char *str, Tk_Justify *justifyPtr); /* 101 */
jpayne@69 999 int (*tk_GetNumMainWindows) (void); /* 102 */
jpayne@69 1000 Tk_Uid (*tk_GetOption) (Tk_Window tkwin, const char *name, const char *className); /* 103 */
jpayne@69 1001 int (*tk_GetPixels) (Tcl_Interp *interp, Tk_Window tkwin, const char *str, int *intPtr); /* 104 */
jpayne@69 1002 Pixmap (*tk_GetPixmap) (Display *display, Drawable d, int width, int height, int depth); /* 105 */
jpayne@69 1003 int (*tk_GetRelief) (Tcl_Interp *interp, const char *name, int *reliefPtr); /* 106 */
jpayne@69 1004 void (*tk_GetRootCoords) (Tk_Window tkwin, int *xPtr, int *yPtr); /* 107 */
jpayne@69 1005 int (*tk_GetScrollInfo) (Tcl_Interp *interp, int argc, CONST84 char **argv, double *dblPtr, int *intPtr); /* 108 */
jpayne@69 1006 int (*tk_GetScreenMM) (Tcl_Interp *interp, Tk_Window tkwin, const char *str, double *doublePtr); /* 109 */
jpayne@69 1007 int (*tk_GetSelection) (Tcl_Interp *interp, Tk_Window tkwin, Atom selection, Atom target, Tk_GetSelProc *proc, ClientData clientData); /* 110 */
jpayne@69 1008 Tk_Uid (*tk_GetUid) (const char *str); /* 111 */
jpayne@69 1009 Visual * (*tk_GetVisual) (Tcl_Interp *interp, Tk_Window tkwin, const char *str, int *depthPtr, Colormap *colormapPtr); /* 112 */
jpayne@69 1010 void (*tk_GetVRootGeometry) (Tk_Window tkwin, int *xPtr, int *yPtr, int *widthPtr, int *heightPtr); /* 113 */
jpayne@69 1011 int (*tk_Grab) (Tcl_Interp *interp, Tk_Window tkwin, int grabGlobal); /* 114 */
jpayne@69 1012 void (*tk_HandleEvent) (XEvent *eventPtr); /* 115 */
jpayne@69 1013 Tk_Window (*tk_IdToWindow) (Display *display, Window window); /* 116 */
jpayne@69 1014 void (*tk_ImageChanged) (Tk_ImageMaster model, int x, int y, int width, int height, int imageWidth, int imageHeight); /* 117 */
jpayne@69 1015 int (*tk_Init) (Tcl_Interp *interp); /* 118 */
jpayne@69 1016 Atom (*tk_InternAtom) (Tk_Window tkwin, const char *name); /* 119 */
jpayne@69 1017 int (*tk_IntersectTextLayout) (Tk_TextLayout layout, int x, int y, int width, int height); /* 120 */
jpayne@69 1018 void (*tk_MaintainGeometry) (Tk_Window window, Tk_Window container, int x, int y, int width, int height); /* 121 */
jpayne@69 1019 Tk_Window (*tk_MainWindow) (Tcl_Interp *interp); /* 122 */
jpayne@69 1020 void (*tk_MakeWindowExist) (Tk_Window tkwin); /* 123 */
jpayne@69 1021 void (*tk_ManageGeometry) (Tk_Window tkwin, const Tk_GeomMgr *mgrPtr, ClientData clientData); /* 124 */
jpayne@69 1022 void (*tk_MapWindow) (Tk_Window tkwin); /* 125 */
jpayne@69 1023 int (*tk_MeasureChars) (Tk_Font tkfont, const char *source, int numBytes, int maxPixels, int flags, int *lengthPtr); /* 126 */
jpayne@69 1024 void (*tk_MoveResizeWindow) (Tk_Window tkwin, int x, int y, int width, int height); /* 127 */
jpayne@69 1025 void (*tk_MoveWindow) (Tk_Window tkwin, int x, int y); /* 128 */
jpayne@69 1026 void (*tk_MoveToplevelWindow) (Tk_Window tkwin, int x, int y); /* 129 */
jpayne@69 1027 CONST84_RETURN char * (*tk_NameOf3DBorder) (Tk_3DBorder border); /* 130 */
jpayne@69 1028 CONST84_RETURN char * (*tk_NameOfAnchor) (Tk_Anchor anchor); /* 131 */
jpayne@69 1029 CONST84_RETURN char * (*tk_NameOfBitmap) (Display *display, Pixmap bitmap); /* 132 */
jpayne@69 1030 CONST84_RETURN char * (*tk_NameOfCapStyle) (int cap); /* 133 */
jpayne@69 1031 CONST84_RETURN char * (*tk_NameOfColor) (XColor *colorPtr); /* 134 */
jpayne@69 1032 CONST84_RETURN char * (*tk_NameOfCursor) (Display *display, Tk_Cursor cursor); /* 135 */
jpayne@69 1033 CONST84_RETURN char * (*tk_NameOfFont) (Tk_Font font); /* 136 */
jpayne@69 1034 CONST84_RETURN char * (*tk_NameOfImage) (Tk_ImageMaster model); /* 137 */
jpayne@69 1035 CONST84_RETURN char * (*tk_NameOfJoinStyle) (int join); /* 138 */
jpayne@69 1036 CONST84_RETURN char * (*tk_NameOfJustify) (Tk_Justify justify); /* 139 */
jpayne@69 1037 CONST84_RETURN char * (*tk_NameOfRelief) (int relief); /* 140 */
jpayne@69 1038 Tk_Window (*tk_NameToWindow) (Tcl_Interp *interp, const char *pathName, Tk_Window tkwin); /* 141 */
jpayne@69 1039 void (*tk_OwnSelection) (Tk_Window tkwin, Atom selection, Tk_LostSelProc *proc, ClientData clientData); /* 142 */
jpayne@69 1040 int (*tk_ParseArgv) (Tcl_Interp *interp, Tk_Window tkwin, int *argcPtr, CONST84 char **argv, const Tk_ArgvInfo *argTable, int flags); /* 143 */
jpayne@69 1041 void (*tk_PhotoPutBlock_NoComposite) (Tk_PhotoHandle handle, Tk_PhotoImageBlock *blockPtr, int x, int y, int width, int height); /* 144 */
jpayne@69 1042 void (*tk_PhotoPutZoomedBlock_NoComposite) (Tk_PhotoHandle handle, Tk_PhotoImageBlock *blockPtr, int x, int y, int width, int height, int zoomX, int zoomY, int subsampleX, int subsampleY); /* 145 */
jpayne@69 1043 int (*tk_PhotoGetImage) (Tk_PhotoHandle handle, Tk_PhotoImageBlock *blockPtr); /* 146 */
jpayne@69 1044 void (*tk_PhotoBlank) (Tk_PhotoHandle handle); /* 147 */
jpayne@69 1045 void (*tk_PhotoExpand_Panic) (Tk_PhotoHandle handle, int width, int height); /* 148 */
jpayne@69 1046 void (*tk_PhotoGetSize) (Tk_PhotoHandle handle, int *widthPtr, int *heightPtr); /* 149 */
jpayne@69 1047 void (*tk_PhotoSetSize_Panic) (Tk_PhotoHandle handle, int width, int height); /* 150 */
jpayne@69 1048 int (*tk_PointToChar) (Tk_TextLayout layout, int x, int y); /* 151 */
jpayne@69 1049 int (*tk_PostscriptFontName) (Tk_Font tkfont, Tcl_DString *dsPtr); /* 152 */
jpayne@69 1050 void (*tk_PreserveColormap) (Display *display, Colormap colormap); /* 153 */
jpayne@69 1051 void (*tk_QueueWindowEvent) (XEvent *eventPtr, Tcl_QueuePosition position); /* 154 */
jpayne@69 1052 void (*tk_RedrawImage) (Tk_Image image, int imageX, int imageY, int width, int height, Drawable drawable, int drawableX, int drawableY); /* 155 */
jpayne@69 1053 void (*tk_ResizeWindow) (Tk_Window tkwin, int width, int height); /* 156 */
jpayne@69 1054 int (*tk_RestackWindow) (Tk_Window tkwin, int aboveBelow, Tk_Window other); /* 157 */
jpayne@69 1055 Tk_RestrictProc * (*tk_RestrictEvents) (Tk_RestrictProc *proc, ClientData arg, ClientData *prevArgPtr); /* 158 */
jpayne@69 1056 int (*tk_SafeInit) (Tcl_Interp *interp); /* 159 */
jpayne@69 1057 const char * (*tk_SetAppName) (Tk_Window tkwin, const char *name); /* 160 */
jpayne@69 1058 void (*tk_SetBackgroundFromBorder) (Tk_Window tkwin, Tk_3DBorder border); /* 161 */
jpayne@69 1059 void (*tk_SetClass) (Tk_Window tkwin, const char *className); /* 162 */
jpayne@69 1060 void (*tk_SetGrid) (Tk_Window tkwin, int reqWidth, int reqHeight, int gridWidth, int gridHeight); /* 163 */
jpayne@69 1061 void (*tk_SetInternalBorder) (Tk_Window tkwin, int width); /* 164 */
jpayne@69 1062 void (*tk_SetWindowBackground) (Tk_Window tkwin, unsigned long pixel); /* 165 */
jpayne@69 1063 void (*tk_SetWindowBackgroundPixmap) (Tk_Window tkwin, Pixmap pixmap); /* 166 */
jpayne@69 1064 void (*tk_SetWindowBorder) (Tk_Window tkwin, unsigned long pixel); /* 167 */
jpayne@69 1065 void (*tk_SetWindowBorderWidth) (Tk_Window tkwin, int width); /* 168 */
jpayne@69 1066 void (*tk_SetWindowBorderPixmap) (Tk_Window tkwin, Pixmap pixmap); /* 169 */
jpayne@69 1067 void (*tk_SetWindowColormap) (Tk_Window tkwin, Colormap colormap); /* 170 */
jpayne@69 1068 int (*tk_SetWindowVisual) (Tk_Window tkwin, Visual *visual, int depth, Colormap colormap); /* 171 */
jpayne@69 1069 void (*tk_SizeOfBitmap) (Display *display, Pixmap bitmap, int *widthPtr, int *heightPtr); /* 172 */
jpayne@69 1070 void (*tk_SizeOfImage) (Tk_Image image, int *widthPtr, int *heightPtr); /* 173 */
jpayne@69 1071 int (*tk_StrictMotif) (Tk_Window tkwin); /* 174 */
jpayne@69 1072 void (*tk_TextLayoutToPostscript) (Tcl_Interp *interp, Tk_TextLayout layout); /* 175 */
jpayne@69 1073 int (*tk_TextWidth) (Tk_Font font, const char *str, int numBytes); /* 176 */
jpayne@69 1074 void (*tk_UndefineCursor) (Tk_Window window); /* 177 */
jpayne@69 1075 void (*tk_UnderlineChars) (Display *display, Drawable drawable, GC gc, Tk_Font tkfont, const char *source, int x, int y, int firstByte, int lastByte); /* 178 */
jpayne@69 1076 void (*tk_UnderlineTextLayout) (Display *display, Drawable drawable, GC gc, Tk_TextLayout layout, int x, int y, int underline); /* 179 */
jpayne@69 1077 void (*tk_Ungrab) (Tk_Window tkwin); /* 180 */
jpayne@69 1078 void (*tk_UnmaintainGeometry) (Tk_Window window, Tk_Window container); /* 181 */
jpayne@69 1079 void (*tk_UnmapWindow) (Tk_Window tkwin); /* 182 */
jpayne@69 1080 void (*tk_UnsetGrid) (Tk_Window tkwin); /* 183 */
jpayne@69 1081 void (*tk_UpdatePointer) (Tk_Window tkwin, int x, int y, int state); /* 184 */
jpayne@69 1082 Pixmap (*tk_AllocBitmapFromObj) (Tcl_Interp *interp, Tk_Window tkwin, Tcl_Obj *objPtr); /* 185 */
jpayne@69 1083 Tk_3DBorder (*tk_Alloc3DBorderFromObj) (Tcl_Interp *interp, Tk_Window tkwin, Tcl_Obj *objPtr); /* 186 */
jpayne@69 1084 XColor * (*tk_AllocColorFromObj) (Tcl_Interp *interp, Tk_Window tkwin, Tcl_Obj *objPtr); /* 187 */
jpayne@69 1085 Tk_Cursor (*tk_AllocCursorFromObj) (Tcl_Interp *interp, Tk_Window tkwin, Tcl_Obj *objPtr); /* 188 */
jpayne@69 1086 Tk_Font (*tk_AllocFontFromObj) (Tcl_Interp *interp, Tk_Window tkwin, Tcl_Obj *objPtr); /* 189 */
jpayne@69 1087 Tk_OptionTable (*tk_CreateOptionTable) (Tcl_Interp *interp, const Tk_OptionSpec *templatePtr); /* 190 */
jpayne@69 1088 void (*tk_DeleteOptionTable) (Tk_OptionTable optionTable); /* 191 */
jpayne@69 1089 void (*tk_Free3DBorderFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 192 */
jpayne@69 1090 void (*tk_FreeBitmapFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 193 */
jpayne@69 1091 void (*tk_FreeColorFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 194 */
jpayne@69 1092 void (*tk_FreeConfigOptions) (char *recordPtr, Tk_OptionTable optionToken, Tk_Window tkwin); /* 195 */
jpayne@69 1093 void (*tk_FreeSavedOptions) (Tk_SavedOptions *savePtr); /* 196 */
jpayne@69 1094 void (*tk_FreeCursorFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 197 */
jpayne@69 1095 void (*tk_FreeFontFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 198 */
jpayne@69 1096 Tk_3DBorder (*tk_Get3DBorderFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 199 */
jpayne@69 1097 int (*tk_GetAnchorFromObj) (Tcl_Interp *interp, Tcl_Obj *objPtr, Tk_Anchor *anchorPtr); /* 200 */
jpayne@69 1098 Pixmap (*tk_GetBitmapFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 201 */
jpayne@69 1099 XColor * (*tk_GetColorFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 202 */
jpayne@69 1100 Tk_Cursor (*tk_GetCursorFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 203 */
jpayne@69 1101 Tcl_Obj * (*tk_GetOptionInfo) (Tcl_Interp *interp, char *recordPtr, Tk_OptionTable optionTable, Tcl_Obj *namePtr, Tk_Window tkwin); /* 204 */
jpayne@69 1102 Tcl_Obj * (*tk_GetOptionValue) (Tcl_Interp *interp, char *recordPtr, Tk_OptionTable optionTable, Tcl_Obj *namePtr, Tk_Window tkwin); /* 205 */
jpayne@69 1103 int (*tk_GetJustifyFromObj) (Tcl_Interp *interp, Tcl_Obj *objPtr, Tk_Justify *justifyPtr); /* 206 */
jpayne@69 1104 int (*tk_GetMMFromObj) (Tcl_Interp *interp, Tk_Window tkwin, Tcl_Obj *objPtr, double *doublePtr); /* 207 */
jpayne@69 1105 int (*tk_GetPixelsFromObj) (Tcl_Interp *interp, Tk_Window tkwin, Tcl_Obj *objPtr, int *intPtr); /* 208 */
jpayne@69 1106 int (*tk_GetReliefFromObj) (Tcl_Interp *interp, Tcl_Obj *objPtr, int *resultPtr); /* 209 */
jpayne@69 1107 int (*tk_GetScrollInfoObj) (Tcl_Interp *interp, int objc, Tcl_Obj *const objv[], double *dblPtr, int *intPtr); /* 210 */
jpayne@69 1108 int (*tk_InitOptions) (Tcl_Interp *interp, char *recordPtr, Tk_OptionTable optionToken, Tk_Window tkwin); /* 211 */
jpayne@69 1109 void (*tk_MainEx) (int argc, char **argv, Tcl_AppInitProc *appInitProc, Tcl_Interp *interp); /* 212 */
jpayne@69 1110 void (*tk_RestoreSavedOptions) (Tk_SavedOptions *savePtr); /* 213 */
jpayne@69 1111 int (*tk_SetOptions) (Tcl_Interp *interp, char *recordPtr, Tk_OptionTable optionTable, int objc, Tcl_Obj *const objv[], Tk_Window tkwin, Tk_SavedOptions *savePtr, int *maskPtr); /* 214 */
jpayne@69 1112 void (*tk_InitConsoleChannels) (Tcl_Interp *interp); /* 215 */
jpayne@69 1113 int (*tk_CreateConsoleWindow) (Tcl_Interp *interp); /* 216 */
jpayne@69 1114 void (*tk_CreateSmoothMethod) (Tcl_Interp *interp, const Tk_SmoothMethod *method); /* 217 */
jpayne@69 1115 void (*reserved218)(void);
jpayne@69 1116 void (*reserved219)(void);
jpayne@69 1117 int (*tk_GetDash) (Tcl_Interp *interp, const char *value, Tk_Dash *dash); /* 220 */
jpayne@69 1118 void (*tk_CreateOutline) (Tk_Outline *outline); /* 221 */
jpayne@69 1119 void (*tk_DeleteOutline) (Display *display, Tk_Outline *outline); /* 222 */
jpayne@69 1120 int (*tk_ConfigOutlineGC) (XGCValues *gcValues, Tk_Canvas canvas, Tk_Item *item, Tk_Outline *outline); /* 223 */
jpayne@69 1121 int (*tk_ChangeOutlineGC) (Tk_Canvas canvas, Tk_Item *item, Tk_Outline *outline); /* 224 */
jpayne@69 1122 int (*tk_ResetOutlineGC) (Tk_Canvas canvas, Tk_Item *item, Tk_Outline *outline); /* 225 */
jpayne@69 1123 int (*tk_CanvasPsOutline) (Tk_Canvas canvas, Tk_Item *item, Tk_Outline *outline); /* 226 */
jpayne@69 1124 void (*tk_SetTSOrigin) (Tk_Window tkwin, GC gc, int x, int y); /* 227 */
jpayne@69 1125 int (*tk_CanvasGetCoordFromObj) (Tcl_Interp *interp, Tk_Canvas canvas, Tcl_Obj *obj, double *doublePtr); /* 228 */
jpayne@69 1126 void (*tk_CanvasSetOffset) (Tk_Canvas canvas, GC gc, Tk_TSOffset *offset); /* 229 */
jpayne@69 1127 void (*tk_DitherPhoto) (Tk_PhotoHandle handle, int x, int y, int width, int height); /* 230 */
jpayne@69 1128 int (*tk_PostscriptBitmap) (Tcl_Interp *interp, Tk_Window tkwin, Tk_PostscriptInfo psInfo, Pixmap bitmap, int startX, int startY, int width, int height); /* 231 */
jpayne@69 1129 int (*tk_PostscriptColor) (Tcl_Interp *interp, Tk_PostscriptInfo psInfo, XColor *colorPtr); /* 232 */
jpayne@69 1130 int (*tk_PostscriptFont) (Tcl_Interp *interp, Tk_PostscriptInfo psInfo, Tk_Font font); /* 233 */
jpayne@69 1131 int (*tk_PostscriptImage) (Tk_Image image, Tcl_Interp *interp, Tk_Window tkwin, Tk_PostscriptInfo psinfo, int x, int y, int width, int height, int prepass); /* 234 */
jpayne@69 1132 void (*tk_PostscriptPath) (Tcl_Interp *interp, Tk_PostscriptInfo psInfo, double *coordPtr, int numPoints); /* 235 */
jpayne@69 1133 int (*tk_PostscriptStipple) (Tcl_Interp *interp, Tk_Window tkwin, Tk_PostscriptInfo psInfo, Pixmap bitmap); /* 236 */
jpayne@69 1134 double (*tk_PostscriptY) (double y, Tk_PostscriptInfo psInfo); /* 237 */
jpayne@69 1135 int (*tk_PostscriptPhoto) (Tcl_Interp *interp, Tk_PhotoImageBlock *blockPtr, Tk_PostscriptInfo psInfo, int width, int height); /* 238 */
jpayne@69 1136 void (*tk_CreateClientMessageHandler) (Tk_ClientMessageProc *proc); /* 239 */
jpayne@69 1137 void (*tk_DeleteClientMessageHandler) (Tk_ClientMessageProc *proc); /* 240 */
jpayne@69 1138 Tk_Window (*tk_CreateAnonymousWindow) (Tcl_Interp *interp, Tk_Window parent, const char *screenName); /* 241 */
jpayne@69 1139 void (*tk_SetClassProcs) (Tk_Window tkwin, const Tk_ClassProcs *procs, ClientData instanceData); /* 242 */
jpayne@69 1140 void (*tk_SetInternalBorderEx) (Tk_Window tkwin, int left, int right, int top, int bottom); /* 243 */
jpayne@69 1141 void (*tk_SetMinimumRequestSize) (Tk_Window tkwin, int minWidth, int minHeight); /* 244 */
jpayne@69 1142 void (*tk_SetCaretPos) (Tk_Window tkwin, int x, int y, int height); /* 245 */
jpayne@69 1143 void (*tk_PhotoPutBlock_Panic) (Tk_PhotoHandle handle, Tk_PhotoImageBlock *blockPtr, int x, int y, int width, int height, int compRule); /* 246 */
jpayne@69 1144 void (*tk_PhotoPutZoomedBlock_Panic) (Tk_PhotoHandle handle, Tk_PhotoImageBlock *blockPtr, int x, int y, int width, int height, int zoomX, int zoomY, int subsampleX, int subsampleY, int compRule); /* 247 */
jpayne@69 1145 int (*tk_CollapseMotionEvents) (Display *display, int collapse); /* 248 */
jpayne@69 1146 Tk_StyleEngine (*tk_RegisterStyleEngine) (const char *name, Tk_StyleEngine parent); /* 249 */
jpayne@69 1147 Tk_StyleEngine (*tk_GetStyleEngine) (const char *name); /* 250 */
jpayne@69 1148 int (*tk_RegisterStyledElement) (Tk_StyleEngine engine, Tk_ElementSpec *templatePtr); /* 251 */
jpayne@69 1149 int (*tk_GetElementId) (const char *name); /* 252 */
jpayne@69 1150 Tk_Style (*tk_CreateStyle) (const char *name, Tk_StyleEngine engine, ClientData clientData); /* 253 */
jpayne@69 1151 Tk_Style (*tk_GetStyle) (Tcl_Interp *interp, const char *name); /* 254 */
jpayne@69 1152 void (*tk_FreeStyle) (Tk_Style style); /* 255 */
jpayne@69 1153 const char * (*tk_NameOfStyle) (Tk_Style style); /* 256 */
jpayne@69 1154 Tk_Style (*tk_AllocStyleFromObj) (Tcl_Interp *interp, Tcl_Obj *objPtr); /* 257 */
jpayne@69 1155 Tk_Style (*tk_GetStyleFromObj) (Tcl_Obj *objPtr); /* 258 */
jpayne@69 1156 void (*tk_FreeStyleFromObj) (Tcl_Obj *objPtr); /* 259 */
jpayne@69 1157 Tk_StyledElement (*tk_GetStyledElement) (Tk_Style style, int elementId, Tk_OptionTable optionTable); /* 260 */
jpayne@69 1158 void (*tk_GetElementSize) (Tk_Style style, Tk_StyledElement element, char *recordPtr, Tk_Window tkwin, int width, int height, int inner, int *widthPtr, int *heightPtr); /* 261 */
jpayne@69 1159 void (*tk_GetElementBox) (Tk_Style style, Tk_StyledElement element, char *recordPtr, Tk_Window tkwin, int x, int y, int width, int height, int inner, int *xPtr, int *yPtr, int *widthPtr, int *heightPtr); /* 262 */
jpayne@69 1160 int (*tk_GetElementBorderWidth) (Tk_Style style, Tk_StyledElement element, char *recordPtr, Tk_Window tkwin); /* 263 */
jpayne@69 1161 void (*tk_DrawElement) (Tk_Style style, Tk_StyledElement element, char *recordPtr, Tk_Window tkwin, Drawable d, int x, int y, int width, int height, int state); /* 264 */
jpayne@69 1162 int (*tk_PhotoExpand) (Tcl_Interp *interp, Tk_PhotoHandle handle, int width, int height); /* 265 */
jpayne@69 1163 int (*tk_PhotoPutBlock) (Tcl_Interp *interp, Tk_PhotoHandle handle, Tk_PhotoImageBlock *blockPtr, int x, int y, int width, int height, int compRule); /* 266 */
jpayne@69 1164 int (*tk_PhotoPutZoomedBlock) (Tcl_Interp *interp, Tk_PhotoHandle handle, Tk_PhotoImageBlock *blockPtr, int x, int y, int width, int height, int zoomX, int zoomY, int subsampleX, int subsampleY, int compRule); /* 267 */
jpayne@69 1165 int (*tk_PhotoSetSize) (Tcl_Interp *interp, Tk_PhotoHandle handle, int width, int height); /* 268 */
jpayne@69 1166 long (*tk_GetUserInactiveTime) (Display *dpy); /* 269 */
jpayne@69 1167 void (*tk_ResetUserInactiveTime) (Display *dpy); /* 270 */
jpayne@69 1168 Tcl_Interp * (*tk_Interp) (Tk_Window tkwin); /* 271 */
jpayne@69 1169 void (*tk_CreateOldImageType) (const Tk_ImageType *typePtr); /* 272 */
jpayne@69 1170 void (*tk_CreateOldPhotoImageFormat) (const Tk_PhotoImageFormat *formatPtr); /* 273 */
jpayne@69 1171 void (*reserved274)(void);
jpayne@69 1172 void (*reserved275)(void);
jpayne@69 1173 void (*reserved276)(void);
jpayne@69 1174 void (*reserved277)(void);
jpayne@69 1175 void (*reserved278)(void);
jpayne@69 1176 void (*reserved279)(void);
jpayne@69 1177 void (*reserved280)(void);
jpayne@69 1178 void (*reserved281)(void);
jpayne@69 1179 void (*reserved282)(void);
jpayne@69 1180 void (*reserved283)(void);
jpayne@69 1181 void (*reserved284)(void);
jpayne@69 1182 void (*reserved285)(void);
jpayne@69 1183 void (*reserved286)(void);
jpayne@69 1184 void (*reserved287)(void);
jpayne@69 1185 void (*reserved288)(void);
jpayne@69 1186 void (*reserved289)(void);
jpayne@69 1187 void (*tkUnusedStubEntry) (void); /* 290 */
jpayne@69 1188 } TkStubs;
jpayne@69 1189
jpayne@69 1190 extern const TkStubs *tkStubsPtr;
jpayne@69 1191
jpayne@69 1192 #ifdef __cplusplus
jpayne@69 1193 }
jpayne@69 1194 #endif
jpayne@69 1195
jpayne@69 1196 #if defined(USE_TK_STUBS)
jpayne@69 1197
jpayne@69 1198 /*
jpayne@69 1199 * Inline function declarations:
jpayne@69 1200 */
jpayne@69 1201
jpayne@69 1202 #define Tk_MainLoop \
jpayne@69 1203 (tkStubsPtr->tk_MainLoop) /* 0 */
jpayne@69 1204 #define Tk_3DBorderColor \
jpayne@69 1205 (tkStubsPtr->tk_3DBorderColor) /* 1 */
jpayne@69 1206 #define Tk_3DBorderGC \
jpayne@69 1207 (tkStubsPtr->tk_3DBorderGC) /* 2 */
jpayne@69 1208 #define Tk_3DHorizontalBevel \
jpayne@69 1209 (tkStubsPtr->tk_3DHorizontalBevel) /* 3 */
jpayne@69 1210 #define Tk_3DVerticalBevel \
jpayne@69 1211 (tkStubsPtr->tk_3DVerticalBevel) /* 4 */
jpayne@69 1212 #define Tk_AddOption \
jpayne@69 1213 (tkStubsPtr->tk_AddOption) /* 5 */
jpayne@69 1214 #define Tk_BindEvent \
jpayne@69 1215 (tkStubsPtr->tk_BindEvent) /* 6 */
jpayne@69 1216 #define Tk_CanvasDrawableCoords \
jpayne@69 1217 (tkStubsPtr->tk_CanvasDrawableCoords) /* 7 */
jpayne@69 1218 #define Tk_CanvasEventuallyRedraw \
jpayne@69 1219 (tkStubsPtr->tk_CanvasEventuallyRedraw) /* 8 */
jpayne@69 1220 #define Tk_CanvasGetCoord \
jpayne@69 1221 (tkStubsPtr->tk_CanvasGetCoord) /* 9 */
jpayne@69 1222 #define Tk_CanvasGetTextInfo \
jpayne@69 1223 (tkStubsPtr->tk_CanvasGetTextInfo) /* 10 */
jpayne@69 1224 #define Tk_CanvasPsBitmap \
jpayne@69 1225 (tkStubsPtr->tk_CanvasPsBitmap) /* 11 */
jpayne@69 1226 #define Tk_CanvasPsColor \
jpayne@69 1227 (tkStubsPtr->tk_CanvasPsColor) /* 12 */
jpayne@69 1228 #define Tk_CanvasPsFont \
jpayne@69 1229 (tkStubsPtr->tk_CanvasPsFont) /* 13 */
jpayne@69 1230 #define Tk_CanvasPsPath \
jpayne@69 1231 (tkStubsPtr->tk_CanvasPsPath) /* 14 */
jpayne@69 1232 #define Tk_CanvasPsStipple \
jpayne@69 1233 (tkStubsPtr->tk_CanvasPsStipple) /* 15 */
jpayne@69 1234 #define Tk_CanvasPsY \
jpayne@69 1235 (tkStubsPtr->tk_CanvasPsY) /* 16 */
jpayne@69 1236 #define Tk_CanvasSetStippleOrigin \
jpayne@69 1237 (tkStubsPtr->tk_CanvasSetStippleOrigin) /* 17 */
jpayne@69 1238 #define Tk_CanvasTagsParseProc \
jpayne@69 1239 (tkStubsPtr->tk_CanvasTagsParseProc) /* 18 */
jpayne@69 1240 #define Tk_CanvasTagsPrintProc \
jpayne@69 1241 (tkStubsPtr->tk_CanvasTagsPrintProc) /* 19 */
jpayne@69 1242 #define Tk_CanvasTkwin \
jpayne@69 1243 (tkStubsPtr->tk_CanvasTkwin) /* 20 */
jpayne@69 1244 #define Tk_CanvasWindowCoords \
jpayne@69 1245 (tkStubsPtr->tk_CanvasWindowCoords) /* 21 */
jpayne@69 1246 #define Tk_ChangeWindowAttributes \
jpayne@69 1247 (tkStubsPtr->tk_ChangeWindowAttributes) /* 22 */
jpayne@69 1248 #define Tk_CharBbox \
jpayne@69 1249 (tkStubsPtr->tk_CharBbox) /* 23 */
jpayne@69 1250 #define Tk_ClearSelection \
jpayne@69 1251 (tkStubsPtr->tk_ClearSelection) /* 24 */
jpayne@69 1252 #define Tk_ClipboardAppend \
jpayne@69 1253 (tkStubsPtr->tk_ClipboardAppend) /* 25 */
jpayne@69 1254 #define Tk_ClipboardClear \
jpayne@69 1255 (tkStubsPtr->tk_ClipboardClear) /* 26 */
jpayne@69 1256 #define Tk_ConfigureInfo \
jpayne@69 1257 (tkStubsPtr->tk_ConfigureInfo) /* 27 */
jpayne@69 1258 #define Tk_ConfigureValue \
jpayne@69 1259 (tkStubsPtr->tk_ConfigureValue) /* 28 */
jpayne@69 1260 #define Tk_ConfigureWidget \
jpayne@69 1261 (tkStubsPtr->tk_ConfigureWidget) /* 29 */
jpayne@69 1262 #define Tk_ConfigureWindow \
jpayne@69 1263 (tkStubsPtr->tk_ConfigureWindow) /* 30 */
jpayne@69 1264 #define Tk_ComputeTextLayout \
jpayne@69 1265 (tkStubsPtr->tk_ComputeTextLayout) /* 31 */
jpayne@69 1266 #define Tk_CoordsToWindow \
jpayne@69 1267 (tkStubsPtr->tk_CoordsToWindow) /* 32 */
jpayne@69 1268 #define Tk_CreateBinding \
jpayne@69 1269 (tkStubsPtr->tk_CreateBinding) /* 33 */
jpayne@69 1270 #define Tk_CreateBindingTable \
jpayne@69 1271 (tkStubsPtr->tk_CreateBindingTable) /* 34 */
jpayne@69 1272 #define Tk_CreateErrorHandler \
jpayne@69 1273 (tkStubsPtr->tk_CreateErrorHandler) /* 35 */
jpayne@69 1274 #define Tk_CreateEventHandler \
jpayne@69 1275 (tkStubsPtr->tk_CreateEventHandler) /* 36 */
jpayne@69 1276 #define Tk_CreateGenericHandler \
jpayne@69 1277 (tkStubsPtr->tk_CreateGenericHandler) /* 37 */
jpayne@69 1278 #define Tk_CreateImageType \
jpayne@69 1279 (tkStubsPtr->tk_CreateImageType) /* 38 */
jpayne@69 1280 #define Tk_CreateItemType \
jpayne@69 1281 (tkStubsPtr->tk_CreateItemType) /* 39 */
jpayne@69 1282 #define Tk_CreatePhotoImageFormat \
jpayne@69 1283 (tkStubsPtr->tk_CreatePhotoImageFormat) /* 40 */
jpayne@69 1284 #define Tk_CreateSelHandler \
jpayne@69 1285 (tkStubsPtr->tk_CreateSelHandler) /* 41 */
jpayne@69 1286 #define Tk_CreateWindow \
jpayne@69 1287 (tkStubsPtr->tk_CreateWindow) /* 42 */
jpayne@69 1288 #define Tk_CreateWindowFromPath \
jpayne@69 1289 (tkStubsPtr->tk_CreateWindowFromPath) /* 43 */
jpayne@69 1290 #define Tk_DefineBitmap \
jpayne@69 1291 (tkStubsPtr->tk_DefineBitmap) /* 44 */
jpayne@69 1292 #define Tk_DefineCursor \
jpayne@69 1293 (tkStubsPtr->tk_DefineCursor) /* 45 */
jpayne@69 1294 #define Tk_DeleteAllBindings \
jpayne@69 1295 (tkStubsPtr->tk_DeleteAllBindings) /* 46 */
jpayne@69 1296 #define Tk_DeleteBinding \
jpayne@69 1297 (tkStubsPtr->tk_DeleteBinding) /* 47 */
jpayne@69 1298 #define Tk_DeleteBindingTable \
jpayne@69 1299 (tkStubsPtr->tk_DeleteBindingTable) /* 48 */
jpayne@69 1300 #define Tk_DeleteErrorHandler \
jpayne@69 1301 (tkStubsPtr->tk_DeleteErrorHandler) /* 49 */
jpayne@69 1302 #define Tk_DeleteEventHandler \
jpayne@69 1303 (tkStubsPtr->tk_DeleteEventHandler) /* 50 */
jpayne@69 1304 #define Tk_DeleteGenericHandler \
jpayne@69 1305 (tkStubsPtr->tk_DeleteGenericHandler) /* 51 */
jpayne@69 1306 #define Tk_DeleteImage \
jpayne@69 1307 (tkStubsPtr->tk_DeleteImage) /* 52 */
jpayne@69 1308 #define Tk_DeleteSelHandler \
jpayne@69 1309 (tkStubsPtr->tk_DeleteSelHandler) /* 53 */
jpayne@69 1310 #define Tk_DestroyWindow \
jpayne@69 1311 (tkStubsPtr->tk_DestroyWindow) /* 54 */
jpayne@69 1312 #define Tk_DisplayName \
jpayne@69 1313 (tkStubsPtr->tk_DisplayName) /* 55 */
jpayne@69 1314 #define Tk_DistanceToTextLayout \
jpayne@69 1315 (tkStubsPtr->tk_DistanceToTextLayout) /* 56 */
jpayne@69 1316 #define Tk_Draw3DPolygon \
jpayne@69 1317 (tkStubsPtr->tk_Draw3DPolygon) /* 57 */
jpayne@69 1318 #define Tk_Draw3DRectangle \
jpayne@69 1319 (tkStubsPtr->tk_Draw3DRectangle) /* 58 */
jpayne@69 1320 #define Tk_DrawChars \
jpayne@69 1321 (tkStubsPtr->tk_DrawChars) /* 59 */
jpayne@69 1322 #define Tk_DrawFocusHighlight \
jpayne@69 1323 (tkStubsPtr->tk_DrawFocusHighlight) /* 60 */
jpayne@69 1324 #define Tk_DrawTextLayout \
jpayne@69 1325 (tkStubsPtr->tk_DrawTextLayout) /* 61 */
jpayne@69 1326 #define Tk_Fill3DPolygon \
jpayne@69 1327 (tkStubsPtr->tk_Fill3DPolygon) /* 62 */
jpayne@69 1328 #define Tk_Fill3DRectangle \
jpayne@69 1329 (tkStubsPtr->tk_Fill3DRectangle) /* 63 */
jpayne@69 1330 #define Tk_FindPhoto \
jpayne@69 1331 (tkStubsPtr->tk_FindPhoto) /* 64 */
jpayne@69 1332 #define Tk_FontId \
jpayne@69 1333 (tkStubsPtr->tk_FontId) /* 65 */
jpayne@69 1334 #define Tk_Free3DBorder \
jpayne@69 1335 (tkStubsPtr->tk_Free3DBorder) /* 66 */
jpayne@69 1336 #define Tk_FreeBitmap \
jpayne@69 1337 (tkStubsPtr->tk_FreeBitmap) /* 67 */
jpayne@69 1338 #define Tk_FreeColor \
jpayne@69 1339 (tkStubsPtr->tk_FreeColor) /* 68 */
jpayne@69 1340 #define Tk_FreeColormap \
jpayne@69 1341 (tkStubsPtr->tk_FreeColormap) /* 69 */
jpayne@69 1342 #define Tk_FreeCursor \
jpayne@69 1343 (tkStubsPtr->tk_FreeCursor) /* 70 */
jpayne@69 1344 #define Tk_FreeFont \
jpayne@69 1345 (tkStubsPtr->tk_FreeFont) /* 71 */
jpayne@69 1346 #define Tk_FreeGC \
jpayne@69 1347 (tkStubsPtr->tk_FreeGC) /* 72 */
jpayne@69 1348 #define Tk_FreeImage \
jpayne@69 1349 (tkStubsPtr->tk_FreeImage) /* 73 */
jpayne@69 1350 #define Tk_FreeOptions \
jpayne@69 1351 (tkStubsPtr->tk_FreeOptions) /* 74 */
jpayne@69 1352 #define Tk_FreePixmap \
jpayne@69 1353 (tkStubsPtr->tk_FreePixmap) /* 75 */
jpayne@69 1354 #define Tk_FreeTextLayout \
jpayne@69 1355 (tkStubsPtr->tk_FreeTextLayout) /* 76 */
jpayne@69 1356 #define Tk_FreeXId \
jpayne@69 1357 (tkStubsPtr->tk_FreeXId) /* 77 */
jpayne@69 1358 #define Tk_GCForColor \
jpayne@69 1359 (tkStubsPtr->tk_GCForColor) /* 78 */
jpayne@69 1360 #define Tk_GeometryRequest \
jpayne@69 1361 (tkStubsPtr->tk_GeometryRequest) /* 79 */
jpayne@69 1362 #define Tk_Get3DBorder \
jpayne@69 1363 (tkStubsPtr->tk_Get3DBorder) /* 80 */
jpayne@69 1364 #define Tk_GetAllBindings \
jpayne@69 1365 (tkStubsPtr->tk_GetAllBindings) /* 81 */
jpayne@69 1366 #define Tk_GetAnchor \
jpayne@69 1367 (tkStubsPtr->tk_GetAnchor) /* 82 */
jpayne@69 1368 #define Tk_GetAtomName \
jpayne@69 1369 (tkStubsPtr->tk_GetAtomName) /* 83 */
jpayne@69 1370 #define Tk_GetBinding \
jpayne@69 1371 (tkStubsPtr->tk_GetBinding) /* 84 */
jpayne@69 1372 #define Tk_GetBitmap \
jpayne@69 1373 (tkStubsPtr->tk_GetBitmap) /* 85 */
jpayne@69 1374 #define Tk_GetBitmapFromData \
jpayne@69 1375 (tkStubsPtr->tk_GetBitmapFromData) /* 86 */
jpayne@69 1376 #define Tk_GetCapStyle \
jpayne@69 1377 (tkStubsPtr->tk_GetCapStyle) /* 87 */
jpayne@69 1378 #define Tk_GetColor \
jpayne@69 1379 (tkStubsPtr->tk_GetColor) /* 88 */
jpayne@69 1380 #define Tk_GetColorByValue \
jpayne@69 1381 (tkStubsPtr->tk_GetColorByValue) /* 89 */
jpayne@69 1382 #define Tk_GetColormap \
jpayne@69 1383 (tkStubsPtr->tk_GetColormap) /* 90 */
jpayne@69 1384 #define Tk_GetCursor \
jpayne@69 1385 (tkStubsPtr->tk_GetCursor) /* 91 */
jpayne@69 1386 #define Tk_GetCursorFromData \
jpayne@69 1387 (tkStubsPtr->tk_GetCursorFromData) /* 92 */
jpayne@69 1388 #define Tk_GetFont \
jpayne@69 1389 (tkStubsPtr->tk_GetFont) /* 93 */
jpayne@69 1390 #define Tk_GetFontFromObj \
jpayne@69 1391 (tkStubsPtr->tk_GetFontFromObj) /* 94 */
jpayne@69 1392 #define Tk_GetFontMetrics \
jpayne@69 1393 (tkStubsPtr->tk_GetFontMetrics) /* 95 */
jpayne@69 1394 #define Tk_GetGC \
jpayne@69 1395 (tkStubsPtr->tk_GetGC) /* 96 */
jpayne@69 1396 #define Tk_GetImage \
jpayne@69 1397 (tkStubsPtr->tk_GetImage) /* 97 */
jpayne@69 1398 #define Tk_GetImageMasterData \
jpayne@69 1399 (tkStubsPtr->tk_GetImageMasterData) /* 98 */
jpayne@69 1400 #define Tk_GetItemTypes \
jpayne@69 1401 (tkStubsPtr->tk_GetItemTypes) /* 99 */
jpayne@69 1402 #define Tk_GetJoinStyle \
jpayne@69 1403 (tkStubsPtr->tk_GetJoinStyle) /* 100 */
jpayne@69 1404 #define Tk_GetJustify \
jpayne@69 1405 (tkStubsPtr->tk_GetJustify) /* 101 */
jpayne@69 1406 #define Tk_GetNumMainWindows \
jpayne@69 1407 (tkStubsPtr->tk_GetNumMainWindows) /* 102 */
jpayne@69 1408 #define Tk_GetOption \
jpayne@69 1409 (tkStubsPtr->tk_GetOption) /* 103 */
jpayne@69 1410 #define Tk_GetPixels \
jpayne@69 1411 (tkStubsPtr->tk_GetPixels) /* 104 */
jpayne@69 1412 #define Tk_GetPixmap \
jpayne@69 1413 (tkStubsPtr->tk_GetPixmap) /* 105 */
jpayne@69 1414 #define Tk_GetRelief \
jpayne@69 1415 (tkStubsPtr->tk_GetRelief) /* 106 */
jpayne@69 1416 #define Tk_GetRootCoords \
jpayne@69 1417 (tkStubsPtr->tk_GetRootCoords) /* 107 */
jpayne@69 1418 #define Tk_GetScrollInfo \
jpayne@69 1419 (tkStubsPtr->tk_GetScrollInfo) /* 108 */
jpayne@69 1420 #define Tk_GetScreenMM \
jpayne@69 1421 (tkStubsPtr->tk_GetScreenMM) /* 109 */
jpayne@69 1422 #define Tk_GetSelection \
jpayne@69 1423 (tkStubsPtr->tk_GetSelection) /* 110 */
jpayne@69 1424 #define Tk_GetUid \
jpayne@69 1425 (tkStubsPtr->tk_GetUid) /* 111 */
jpayne@69 1426 #define Tk_GetVisual \
jpayne@69 1427 (tkStubsPtr->tk_GetVisual) /* 112 */
jpayne@69 1428 #define Tk_GetVRootGeometry \
jpayne@69 1429 (tkStubsPtr->tk_GetVRootGeometry) /* 113 */
jpayne@69 1430 #define Tk_Grab \
jpayne@69 1431 (tkStubsPtr->tk_Grab) /* 114 */
jpayne@69 1432 #define Tk_HandleEvent \
jpayne@69 1433 (tkStubsPtr->tk_HandleEvent) /* 115 */
jpayne@69 1434 #define Tk_IdToWindow \
jpayne@69 1435 (tkStubsPtr->tk_IdToWindow) /* 116 */
jpayne@69 1436 #define Tk_ImageChanged \
jpayne@69 1437 (tkStubsPtr->tk_ImageChanged) /* 117 */
jpayne@69 1438 #define Tk_Init \
jpayne@69 1439 (tkStubsPtr->tk_Init) /* 118 */
jpayne@69 1440 #define Tk_InternAtom \
jpayne@69 1441 (tkStubsPtr->tk_InternAtom) /* 119 */
jpayne@69 1442 #define Tk_IntersectTextLayout \
jpayne@69 1443 (tkStubsPtr->tk_IntersectTextLayout) /* 120 */
jpayne@69 1444 #define Tk_MaintainGeometry \
jpayne@69 1445 (tkStubsPtr->tk_MaintainGeometry) /* 121 */
jpayne@69 1446 #define Tk_MainWindow \
jpayne@69 1447 (tkStubsPtr->tk_MainWindow) /* 122 */
jpayne@69 1448 #define Tk_MakeWindowExist \
jpayne@69 1449 (tkStubsPtr->tk_MakeWindowExist) /* 123 */
jpayne@69 1450 #define Tk_ManageGeometry \
jpayne@69 1451 (tkStubsPtr->tk_ManageGeometry) /* 124 */
jpayne@69 1452 #define Tk_MapWindow \
jpayne@69 1453 (tkStubsPtr->tk_MapWindow) /* 125 */
jpayne@69 1454 #define Tk_MeasureChars \
jpayne@69 1455 (tkStubsPtr->tk_MeasureChars) /* 126 */
jpayne@69 1456 #define Tk_MoveResizeWindow \
jpayne@69 1457 (tkStubsPtr->tk_MoveResizeWindow) /* 127 */
jpayne@69 1458 #define Tk_MoveWindow \
jpayne@69 1459 (tkStubsPtr->tk_MoveWindow) /* 128 */
jpayne@69 1460 #define Tk_MoveToplevelWindow \
jpayne@69 1461 (tkStubsPtr->tk_MoveToplevelWindow) /* 129 */
jpayne@69 1462 #define Tk_NameOf3DBorder \
jpayne@69 1463 (tkStubsPtr->tk_NameOf3DBorder) /* 130 */
jpayne@69 1464 #define Tk_NameOfAnchor \
jpayne@69 1465 (tkStubsPtr->tk_NameOfAnchor) /* 131 */
jpayne@69 1466 #define Tk_NameOfBitmap \
jpayne@69 1467 (tkStubsPtr->tk_NameOfBitmap) /* 132 */
jpayne@69 1468 #define Tk_NameOfCapStyle \
jpayne@69 1469 (tkStubsPtr->tk_NameOfCapStyle) /* 133 */
jpayne@69 1470 #define Tk_NameOfColor \
jpayne@69 1471 (tkStubsPtr->tk_NameOfColor) /* 134 */
jpayne@69 1472 #define Tk_NameOfCursor \
jpayne@69 1473 (tkStubsPtr->tk_NameOfCursor) /* 135 */
jpayne@69 1474 #define Tk_NameOfFont \
jpayne@69 1475 (tkStubsPtr->tk_NameOfFont) /* 136 */
jpayne@69 1476 #define Tk_NameOfImage \
jpayne@69 1477 (tkStubsPtr->tk_NameOfImage) /* 137 */
jpayne@69 1478 #define Tk_NameOfJoinStyle \
jpayne@69 1479 (tkStubsPtr->tk_NameOfJoinStyle) /* 138 */
jpayne@69 1480 #define Tk_NameOfJustify \
jpayne@69 1481 (tkStubsPtr->tk_NameOfJustify) /* 139 */
jpayne@69 1482 #define Tk_NameOfRelief \
jpayne@69 1483 (tkStubsPtr->tk_NameOfRelief) /* 140 */
jpayne@69 1484 #define Tk_NameToWindow \
jpayne@69 1485 (tkStubsPtr->tk_NameToWindow) /* 141 */
jpayne@69 1486 #define Tk_OwnSelection \
jpayne@69 1487 (tkStubsPtr->tk_OwnSelection) /* 142 */
jpayne@69 1488 #define Tk_ParseArgv \
jpayne@69 1489 (tkStubsPtr->tk_ParseArgv) /* 143 */
jpayne@69 1490 #define Tk_PhotoPutBlock_NoComposite \
jpayne@69 1491 (tkStubsPtr->tk_PhotoPutBlock_NoComposite) /* 144 */
jpayne@69 1492 #define Tk_PhotoPutZoomedBlock_NoComposite \
jpayne@69 1493 (tkStubsPtr->tk_PhotoPutZoomedBlock_NoComposite) /* 145 */
jpayne@69 1494 #define Tk_PhotoGetImage \
jpayne@69 1495 (tkStubsPtr->tk_PhotoGetImage) /* 146 */
jpayne@69 1496 #define Tk_PhotoBlank \
jpayne@69 1497 (tkStubsPtr->tk_PhotoBlank) /* 147 */
jpayne@69 1498 #define Tk_PhotoExpand_Panic \
jpayne@69 1499 (tkStubsPtr->tk_PhotoExpand_Panic) /* 148 */
jpayne@69 1500 #define Tk_PhotoGetSize \
jpayne@69 1501 (tkStubsPtr->tk_PhotoGetSize) /* 149 */
jpayne@69 1502 #define Tk_PhotoSetSize_Panic \
jpayne@69 1503 (tkStubsPtr->tk_PhotoSetSize_Panic) /* 150 */
jpayne@69 1504 #define Tk_PointToChar \
jpayne@69 1505 (tkStubsPtr->tk_PointToChar) /* 151 */
jpayne@69 1506 #define Tk_PostscriptFontName \
jpayne@69 1507 (tkStubsPtr->tk_PostscriptFontName) /* 152 */
jpayne@69 1508 #define Tk_PreserveColormap \
jpayne@69 1509 (tkStubsPtr->tk_PreserveColormap) /* 153 */
jpayne@69 1510 #define Tk_QueueWindowEvent \
jpayne@69 1511 (tkStubsPtr->tk_QueueWindowEvent) /* 154 */
jpayne@69 1512 #define Tk_RedrawImage \
jpayne@69 1513 (tkStubsPtr->tk_RedrawImage) /* 155 */
jpayne@69 1514 #define Tk_ResizeWindow \
jpayne@69 1515 (tkStubsPtr->tk_ResizeWindow) /* 156 */
jpayne@69 1516 #define Tk_RestackWindow \
jpayne@69 1517 (tkStubsPtr->tk_RestackWindow) /* 157 */
jpayne@69 1518 #define Tk_RestrictEvents \
jpayne@69 1519 (tkStubsPtr->tk_RestrictEvents) /* 158 */
jpayne@69 1520 #define Tk_SafeInit \
jpayne@69 1521 (tkStubsPtr->tk_SafeInit) /* 159 */
jpayne@69 1522 #define Tk_SetAppName \
jpayne@69 1523 (tkStubsPtr->tk_SetAppName) /* 160 */
jpayne@69 1524 #define Tk_SetBackgroundFromBorder \
jpayne@69 1525 (tkStubsPtr->tk_SetBackgroundFromBorder) /* 161 */
jpayne@69 1526 #define Tk_SetClass \
jpayne@69 1527 (tkStubsPtr->tk_SetClass) /* 162 */
jpayne@69 1528 #define Tk_SetGrid \
jpayne@69 1529 (tkStubsPtr->tk_SetGrid) /* 163 */
jpayne@69 1530 #define Tk_SetInternalBorder \
jpayne@69 1531 (tkStubsPtr->tk_SetInternalBorder) /* 164 */
jpayne@69 1532 #define Tk_SetWindowBackground \
jpayne@69 1533 (tkStubsPtr->tk_SetWindowBackground) /* 165 */
jpayne@69 1534 #define Tk_SetWindowBackgroundPixmap \
jpayne@69 1535 (tkStubsPtr->tk_SetWindowBackgroundPixmap) /* 166 */
jpayne@69 1536 #define Tk_SetWindowBorder \
jpayne@69 1537 (tkStubsPtr->tk_SetWindowBorder) /* 167 */
jpayne@69 1538 #define Tk_SetWindowBorderWidth \
jpayne@69 1539 (tkStubsPtr->tk_SetWindowBorderWidth) /* 168 */
jpayne@69 1540 #define Tk_SetWindowBorderPixmap \
jpayne@69 1541 (tkStubsPtr->tk_SetWindowBorderPixmap) /* 169 */
jpayne@69 1542 #define Tk_SetWindowColormap \
jpayne@69 1543 (tkStubsPtr->tk_SetWindowColormap) /* 170 */
jpayne@69 1544 #define Tk_SetWindowVisual \
jpayne@69 1545 (tkStubsPtr->tk_SetWindowVisual) /* 171 */
jpayne@69 1546 #define Tk_SizeOfBitmap \
jpayne@69 1547 (tkStubsPtr->tk_SizeOfBitmap) /* 172 */
jpayne@69 1548 #define Tk_SizeOfImage \
jpayne@69 1549 (tkStubsPtr->tk_SizeOfImage) /* 173 */
jpayne@69 1550 #define Tk_StrictMotif \
jpayne@69 1551 (tkStubsPtr->tk_StrictMotif) /* 174 */
jpayne@69 1552 #define Tk_TextLayoutToPostscript \
jpayne@69 1553 (tkStubsPtr->tk_TextLayoutToPostscript) /* 175 */
jpayne@69 1554 #define Tk_TextWidth \
jpayne@69 1555 (tkStubsPtr->tk_TextWidth) /* 176 */
jpayne@69 1556 #define Tk_UndefineCursor \
jpayne@69 1557 (tkStubsPtr->tk_UndefineCursor) /* 177 */
jpayne@69 1558 #define Tk_UnderlineChars \
jpayne@69 1559 (tkStubsPtr->tk_UnderlineChars) /* 178 */
jpayne@69 1560 #define Tk_UnderlineTextLayout \
jpayne@69 1561 (tkStubsPtr->tk_UnderlineTextLayout) /* 179 */
jpayne@69 1562 #define Tk_Ungrab \
jpayne@69 1563 (tkStubsPtr->tk_Ungrab) /* 180 */
jpayne@69 1564 #define Tk_UnmaintainGeometry \
jpayne@69 1565 (tkStubsPtr->tk_UnmaintainGeometry) /* 181 */
jpayne@69 1566 #define Tk_UnmapWindow \
jpayne@69 1567 (tkStubsPtr->tk_UnmapWindow) /* 182 */
jpayne@69 1568 #define Tk_UnsetGrid \
jpayne@69 1569 (tkStubsPtr->tk_UnsetGrid) /* 183 */
jpayne@69 1570 #define Tk_UpdatePointer \
jpayne@69 1571 (tkStubsPtr->tk_UpdatePointer) /* 184 */
jpayne@69 1572 #define Tk_AllocBitmapFromObj \
jpayne@69 1573 (tkStubsPtr->tk_AllocBitmapFromObj) /* 185 */
jpayne@69 1574 #define Tk_Alloc3DBorderFromObj \
jpayne@69 1575 (tkStubsPtr->tk_Alloc3DBorderFromObj) /* 186 */
jpayne@69 1576 #define Tk_AllocColorFromObj \
jpayne@69 1577 (tkStubsPtr->tk_AllocColorFromObj) /* 187 */
jpayne@69 1578 #define Tk_AllocCursorFromObj \
jpayne@69 1579 (tkStubsPtr->tk_AllocCursorFromObj) /* 188 */
jpayne@69 1580 #define Tk_AllocFontFromObj \
jpayne@69 1581 (tkStubsPtr->tk_AllocFontFromObj) /* 189 */
jpayne@69 1582 #define Tk_CreateOptionTable \
jpayne@69 1583 (tkStubsPtr->tk_CreateOptionTable) /* 190 */
jpayne@69 1584 #define Tk_DeleteOptionTable \
jpayne@69 1585 (tkStubsPtr->tk_DeleteOptionTable) /* 191 */
jpayne@69 1586 #define Tk_Free3DBorderFromObj \
jpayne@69 1587 (tkStubsPtr->tk_Free3DBorderFromObj) /* 192 */
jpayne@69 1588 #define Tk_FreeBitmapFromObj \
jpayne@69 1589 (tkStubsPtr->tk_FreeBitmapFromObj) /* 193 */
jpayne@69 1590 #define Tk_FreeColorFromObj \
jpayne@69 1591 (tkStubsPtr->tk_FreeColorFromObj) /* 194 */
jpayne@69 1592 #define Tk_FreeConfigOptions \
jpayne@69 1593 (tkStubsPtr->tk_FreeConfigOptions) /* 195 */
jpayne@69 1594 #define Tk_FreeSavedOptions \
jpayne@69 1595 (tkStubsPtr->tk_FreeSavedOptions) /* 196 */
jpayne@69 1596 #define Tk_FreeCursorFromObj \
jpayne@69 1597 (tkStubsPtr->tk_FreeCursorFromObj) /* 197 */
jpayne@69 1598 #define Tk_FreeFontFromObj \
jpayne@69 1599 (tkStubsPtr->tk_FreeFontFromObj) /* 198 */
jpayne@69 1600 #define Tk_Get3DBorderFromObj \
jpayne@69 1601 (tkStubsPtr->tk_Get3DBorderFromObj) /* 199 */
jpayne@69 1602 #define Tk_GetAnchorFromObj \
jpayne@69 1603 (tkStubsPtr->tk_GetAnchorFromObj) /* 200 */
jpayne@69 1604 #define Tk_GetBitmapFromObj \
jpayne@69 1605 (tkStubsPtr->tk_GetBitmapFromObj) /* 201 */
jpayne@69 1606 #define Tk_GetColorFromObj \
jpayne@69 1607 (tkStubsPtr->tk_GetColorFromObj) /* 202 */
jpayne@69 1608 #define Tk_GetCursorFromObj \
jpayne@69 1609 (tkStubsPtr->tk_GetCursorFromObj) /* 203 */
jpayne@69 1610 #define Tk_GetOptionInfo \
jpayne@69 1611 (tkStubsPtr->tk_GetOptionInfo) /* 204 */
jpayne@69 1612 #define Tk_GetOptionValue \
jpayne@69 1613 (tkStubsPtr->tk_GetOptionValue) /* 205 */
jpayne@69 1614 #define Tk_GetJustifyFromObj \
jpayne@69 1615 (tkStubsPtr->tk_GetJustifyFromObj) /* 206 */
jpayne@69 1616 #define Tk_GetMMFromObj \
jpayne@69 1617 (tkStubsPtr->tk_GetMMFromObj) /* 207 */
jpayne@69 1618 #define Tk_GetPixelsFromObj \
jpayne@69 1619 (tkStubsPtr->tk_GetPixelsFromObj) /* 208 */
jpayne@69 1620 #define Tk_GetReliefFromObj \
jpayne@69 1621 (tkStubsPtr->tk_GetReliefFromObj) /* 209 */
jpayne@69 1622 #define Tk_GetScrollInfoObj \
jpayne@69 1623 (tkStubsPtr->tk_GetScrollInfoObj) /* 210 */
jpayne@69 1624 #define Tk_InitOptions \
jpayne@69 1625 (tkStubsPtr->tk_InitOptions) /* 211 */
jpayne@69 1626 #define Tk_MainEx \
jpayne@69 1627 (tkStubsPtr->tk_MainEx) /* 212 */
jpayne@69 1628 #define Tk_RestoreSavedOptions \
jpayne@69 1629 (tkStubsPtr->tk_RestoreSavedOptions) /* 213 */
jpayne@69 1630 #define Tk_SetOptions \
jpayne@69 1631 (tkStubsPtr->tk_SetOptions) /* 214 */
jpayne@69 1632 #define Tk_InitConsoleChannels \
jpayne@69 1633 (tkStubsPtr->tk_InitConsoleChannels) /* 215 */
jpayne@69 1634 #define Tk_CreateConsoleWindow \
jpayne@69 1635 (tkStubsPtr->tk_CreateConsoleWindow) /* 216 */
jpayne@69 1636 #define Tk_CreateSmoothMethod \
jpayne@69 1637 (tkStubsPtr->tk_CreateSmoothMethod) /* 217 */
jpayne@69 1638 /* Slot 218 is reserved */
jpayne@69 1639 /* Slot 219 is reserved */
jpayne@69 1640 #define Tk_GetDash \
jpayne@69 1641 (tkStubsPtr->tk_GetDash) /* 220 */
jpayne@69 1642 #define Tk_CreateOutline \
jpayne@69 1643 (tkStubsPtr->tk_CreateOutline) /* 221 */
jpayne@69 1644 #define Tk_DeleteOutline \
jpayne@69 1645 (tkStubsPtr->tk_DeleteOutline) /* 222 */
jpayne@69 1646 #define Tk_ConfigOutlineGC \
jpayne@69 1647 (tkStubsPtr->tk_ConfigOutlineGC) /* 223 */
jpayne@69 1648 #define Tk_ChangeOutlineGC \
jpayne@69 1649 (tkStubsPtr->tk_ChangeOutlineGC) /* 224 */
jpayne@69 1650 #define Tk_ResetOutlineGC \
jpayne@69 1651 (tkStubsPtr->tk_ResetOutlineGC) /* 225 */
jpayne@69 1652 #define Tk_CanvasPsOutline \
jpayne@69 1653 (tkStubsPtr->tk_CanvasPsOutline) /* 226 */
jpayne@69 1654 #define Tk_SetTSOrigin \
jpayne@69 1655 (tkStubsPtr->tk_SetTSOrigin) /* 227 */
jpayne@69 1656 #define Tk_CanvasGetCoordFromObj \
jpayne@69 1657 (tkStubsPtr->tk_CanvasGetCoordFromObj) /* 228 */
jpayne@69 1658 #define Tk_CanvasSetOffset \
jpayne@69 1659 (tkStubsPtr->tk_CanvasSetOffset) /* 229 */
jpayne@69 1660 #define Tk_DitherPhoto \
jpayne@69 1661 (tkStubsPtr->tk_DitherPhoto) /* 230 */
jpayne@69 1662 #define Tk_PostscriptBitmap \
jpayne@69 1663 (tkStubsPtr->tk_PostscriptBitmap) /* 231 */
jpayne@69 1664 #define Tk_PostscriptColor \
jpayne@69 1665 (tkStubsPtr->tk_PostscriptColor) /* 232 */
jpayne@69 1666 #define Tk_PostscriptFont \
jpayne@69 1667 (tkStubsPtr->tk_PostscriptFont) /* 233 */
jpayne@69 1668 #define Tk_PostscriptImage \
jpayne@69 1669 (tkStubsPtr->tk_PostscriptImage) /* 234 */
jpayne@69 1670 #define Tk_PostscriptPath \
jpayne@69 1671 (tkStubsPtr->tk_PostscriptPath) /* 235 */
jpayne@69 1672 #define Tk_PostscriptStipple \
jpayne@69 1673 (tkStubsPtr->tk_PostscriptStipple) /* 236 */
jpayne@69 1674 #define Tk_PostscriptY \
jpayne@69 1675 (tkStubsPtr->tk_PostscriptY) /* 237 */
jpayne@69 1676 #define Tk_PostscriptPhoto \
jpayne@69 1677 (tkStubsPtr->tk_PostscriptPhoto) /* 238 */
jpayne@69 1678 #define Tk_CreateClientMessageHandler \
jpayne@69 1679 (tkStubsPtr->tk_CreateClientMessageHandler) /* 239 */
jpayne@69 1680 #define Tk_DeleteClientMessageHandler \
jpayne@69 1681 (tkStubsPtr->tk_DeleteClientMessageHandler) /* 240 */
jpayne@69 1682 #define Tk_CreateAnonymousWindow \
jpayne@69 1683 (tkStubsPtr->tk_CreateAnonymousWindow) /* 241 */
jpayne@69 1684 #define Tk_SetClassProcs \
jpayne@69 1685 (tkStubsPtr->tk_SetClassProcs) /* 242 */
jpayne@69 1686 #define Tk_SetInternalBorderEx \
jpayne@69 1687 (tkStubsPtr->tk_SetInternalBorderEx) /* 243 */
jpayne@69 1688 #define Tk_SetMinimumRequestSize \
jpayne@69 1689 (tkStubsPtr->tk_SetMinimumRequestSize) /* 244 */
jpayne@69 1690 #define Tk_SetCaretPos \
jpayne@69 1691 (tkStubsPtr->tk_SetCaretPos) /* 245 */
jpayne@69 1692 #define Tk_PhotoPutBlock_Panic \
jpayne@69 1693 (tkStubsPtr->tk_PhotoPutBlock_Panic) /* 246 */
jpayne@69 1694 #define Tk_PhotoPutZoomedBlock_Panic \
jpayne@69 1695 (tkStubsPtr->tk_PhotoPutZoomedBlock_Panic) /* 247 */
jpayne@69 1696 #define Tk_CollapseMotionEvents \
jpayne@69 1697 (tkStubsPtr->tk_CollapseMotionEvents) /* 248 */
jpayne@69 1698 #define Tk_RegisterStyleEngine \
jpayne@69 1699 (tkStubsPtr->tk_RegisterStyleEngine) /* 249 */
jpayne@69 1700 #define Tk_GetStyleEngine \
jpayne@69 1701 (tkStubsPtr->tk_GetStyleEngine) /* 250 */
jpayne@69 1702 #define Tk_RegisterStyledElement \
jpayne@69 1703 (tkStubsPtr->tk_RegisterStyledElement) /* 251 */
jpayne@69 1704 #define Tk_GetElementId \
jpayne@69 1705 (tkStubsPtr->tk_GetElementId) /* 252 */
jpayne@69 1706 #define Tk_CreateStyle \
jpayne@69 1707 (tkStubsPtr->tk_CreateStyle) /* 253 */
jpayne@69 1708 #define Tk_GetStyle \
jpayne@69 1709 (tkStubsPtr->tk_GetStyle) /* 254 */
jpayne@69 1710 #define Tk_FreeStyle \
jpayne@69 1711 (tkStubsPtr->tk_FreeStyle) /* 255 */
jpayne@69 1712 #define Tk_NameOfStyle \
jpayne@69 1713 (tkStubsPtr->tk_NameOfStyle) /* 256 */
jpayne@69 1714 #define Tk_AllocStyleFromObj \
jpayne@69 1715 (tkStubsPtr->tk_AllocStyleFromObj) /* 257 */
jpayne@69 1716 #define Tk_GetStyleFromObj \
jpayne@69 1717 (tkStubsPtr->tk_GetStyleFromObj) /* 258 */
jpayne@69 1718 #define Tk_FreeStyleFromObj \
jpayne@69 1719 (tkStubsPtr->tk_FreeStyleFromObj) /* 259 */
jpayne@69 1720 #define Tk_GetStyledElement \
jpayne@69 1721 (tkStubsPtr->tk_GetStyledElement) /* 260 */
jpayne@69 1722 #define Tk_GetElementSize \
jpayne@69 1723 (tkStubsPtr->tk_GetElementSize) /* 261 */
jpayne@69 1724 #define Tk_GetElementBox \
jpayne@69 1725 (tkStubsPtr->tk_GetElementBox) /* 262 */
jpayne@69 1726 #define Tk_GetElementBorderWidth \
jpayne@69 1727 (tkStubsPtr->tk_GetElementBorderWidth) /* 263 */
jpayne@69 1728 #define Tk_DrawElement \
jpayne@69 1729 (tkStubsPtr->tk_DrawElement) /* 264 */
jpayne@69 1730 #define Tk_PhotoExpand \
jpayne@69 1731 (tkStubsPtr->tk_PhotoExpand) /* 265 */
jpayne@69 1732 #define Tk_PhotoPutBlock \
jpayne@69 1733 (tkStubsPtr->tk_PhotoPutBlock) /* 266 */
jpayne@69 1734 #define Tk_PhotoPutZoomedBlock \
jpayne@69 1735 (tkStubsPtr->tk_PhotoPutZoomedBlock) /* 267 */
jpayne@69 1736 #define Tk_PhotoSetSize \
jpayne@69 1737 (tkStubsPtr->tk_PhotoSetSize) /* 268 */
jpayne@69 1738 #define Tk_GetUserInactiveTime \
jpayne@69 1739 (tkStubsPtr->tk_GetUserInactiveTime) /* 269 */
jpayne@69 1740 #define Tk_ResetUserInactiveTime \
jpayne@69 1741 (tkStubsPtr->tk_ResetUserInactiveTime) /* 270 */
jpayne@69 1742 #define Tk_Interp \
jpayne@69 1743 (tkStubsPtr->tk_Interp) /* 271 */
jpayne@69 1744 #define Tk_CreateOldImageType \
jpayne@69 1745 (tkStubsPtr->tk_CreateOldImageType) /* 272 */
jpayne@69 1746 #define Tk_CreateOldPhotoImageFormat \
jpayne@69 1747 (tkStubsPtr->tk_CreateOldPhotoImageFormat) /* 273 */
jpayne@69 1748 /* Slot 274 is reserved */
jpayne@69 1749 /* Slot 275 is reserved */
jpayne@69 1750 /* Slot 276 is reserved */
jpayne@69 1751 /* Slot 277 is reserved */
jpayne@69 1752 /* Slot 278 is reserved */
jpayne@69 1753 /* Slot 279 is reserved */
jpayne@69 1754 /* Slot 280 is reserved */
jpayne@69 1755 /* Slot 281 is reserved */
jpayne@69 1756 /* Slot 282 is reserved */
jpayne@69 1757 /* Slot 283 is reserved */
jpayne@69 1758 /* Slot 284 is reserved */
jpayne@69 1759 /* Slot 285 is reserved */
jpayne@69 1760 /* Slot 286 is reserved */
jpayne@69 1761 /* Slot 287 is reserved */
jpayne@69 1762 /* Slot 288 is reserved */
jpayne@69 1763 /* Slot 289 is reserved */
jpayne@69 1764 #define TkUnusedStubEntry \
jpayne@69 1765 (tkStubsPtr->tkUnusedStubEntry) /* 290 */
jpayne@69 1766
jpayne@69 1767 #endif /* defined(USE_TK_STUBS) */
jpayne@69 1768
jpayne@69 1769 /* !END!: Do not edit above this line. */
jpayne@69 1770
jpayne@69 1771 /* Functions that don't belong in the stub table */
jpayne@69 1772 #undef Tk_MainEx
jpayne@69 1773 #undef Tk_Init
jpayne@69 1774 #undef Tk_SafeInit
jpayne@69 1775 #undef Tk_CreateConsoleWindow
jpayne@69 1776 #define Tk_GetImageModelData Tk_GetImageMasterData
jpayne@69 1777
jpayne@69 1778 #if defined(_WIN32) && defined(UNICODE)
jpayne@69 1779 # define Tk_MainEx Tk_MainExW
jpayne@69 1780 EXTERN void Tk_MainExW(int argc, wchar_t **argv,
jpayne@69 1781 Tcl_AppInitProc *appInitProc, Tcl_Interp *interp);
jpayne@69 1782 #endif
jpayne@69 1783 #undef Tk_FreeStyleFromObj
jpayne@69 1784 #define Tk_FreeStyleFromObj(objPtr) ((void)(objPtr))
jpayne@69 1785
jpayne@69 1786 #undef TCL_STORAGE_CLASS
jpayne@69 1787 #define TCL_STORAGE_CLASS DLLIMPORT
jpayne@69 1788
jpayne@69 1789 #undef TkUnusedStubEntry
jpayne@69 1790
jpayne@69 1791 #endif /* _TKDECLS */