tkDecls.h 75 KB

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