tk.h   tk.h 
skipping to change at line 20 skipping to change at line 20
* Copyright (c) 1998-2000 Ajuba Solutions. * Copyright (c) 1998-2000 Ajuba Solutions.
* *
* See the file "license.terms" for information on usage and redistribution of * See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES. * this file, and for a DISCLAIMER OF ALL WARRANTIES.
*/ */
#ifndef _TK #ifndef _TK
#define _TK #define _TK
#include <tcl.h> #include <tcl.h>
#if (TCL_MAJOR_VERSION != 8) || (TCL_MINOR_VERSION != 5) #if (TCL_MAJOR_VERSION != 8) || (TCL_MINOR_VERSION < 6)
# error Tk 8.5 must be compiled with tcl.h from Tcl 8.5 # error Tk 8.6 must be compiled with tcl.h from Tcl 8.6 or better
#endif #endif
/* /*
* For C++ compilers, use extern "C" * For C++ compilers, use extern "C"
*/ */
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
/* /*
* When version numbers change here, you must also go into the following fi les * When version numbers change here, you must also go into the following fi les
* and update the version numbers: * and update the version numbers:
* *
* library/tk.tcl (2 LOC patch) * library/tk.tcl (1 LOC patch)
* unix/configure.in (2 LOC Major, 2 LOC minor, 1 LOC patch) * unix/configure.in (2 LOC Major, 2 LOC minor, 1 LOC patch)
* win/configure.in (as above) * win/configure.in (as above)
* README (sections 0 and 1) * README (sections 0 and 1)
* macosx/Wish.xcode/project.pbxproj (not patchlevel) 1 LOC * macosx/Tk-Common.xcconfig (not patchlevel) 1 LOC
* macosx/Wish-Common.xcconfig (not patchlevel) 1 LOC
* win/README (not patchlevel) * win/README (not patchlevel)
* unix/README (not patchlevel) * unix/README (not patchlevel)
* unix/tk.spec (1 LOC patch) * unix/tk.spec (1 LOC patch)
* win/tcl.m4 (not patchlevel) * win/tcl.m4 (not patchlevel)
* *
* You may also need to update some of these files when the numbers change for * You may also need to update some of these files when the numbers change for
* the version of Tcl that this release of Tk is compiled against. * the version of Tcl that this release of Tk is compiled against.
*/ */
#define TK_MAJOR_VERSION 8 #define TK_MAJOR_VERSION 8
#define TK_MINOR_VERSION 5 #define TK_MINOR_VERSION 6
#define TK_RELEASE_LEVEL TCL_FINAL_RELEASE #define TK_RELEASE_LEVEL TCL_FINAL_RELEASE
#define TK_RELEASE_SERIAL 10 #define TK_RELEASE_SERIAL 0
#define TK_VERSION "8.5"
#define TK_PATCH_LEVEL "8.5.10"
#define TK_VERSION "8.6"
#define TK_PATCH_LEVEL "8.6.0"
/* /*
* A special definition used to allow this header file to be included from * A special definition used to allow this header file to be included from
* windows or mac resource files so that they can obtain version informatio n. * windows or mac resource files so that they can obtain version informatio n.
* RC_INVOKED is defined by default by the windows RC tool and manually set * RC_INVOKED is defined by default by the windows RC tool and manually set
* for macintosh. * for macintosh.
* *
* Resource compilers don't like all the C stuff, like typedefs and procedu re * Resource compilers don't like all the C stuff, like typedefs and procedu re
* declarations, that occur below, so block them out. * declarations, that occur below, so block them out.
*/ */
#ifndef RC_INVOKED #ifndef RC_INVOKED
#ifndef _XLIB_H #ifndef _XLIB_H
# if defined(MAC_OSX_TK) # include <X11/Xlib.h>
# include <X11/Xlib.h> # ifdef MAC_OSX_TK
# include <X11/X.h> # include <X11/X.h>
# else
# include <X11/Xlib.h>
# endif # endif
#endif #endif
#ifdef __STDC__ #ifdef __STDC__
# include <stddef.h> # include <stddef.h>
#endif #endif
#ifdef BUILD_tk #ifdef BUILD_tk
# undef TCL_STORAGE_CLASS #undef TCL_STORAGE_CLASS
# define TCL_STORAGE_CLASS DLLEXPORT #define TCL_STORAGE_CLASS DLLEXPORT
#endif #endif
/* /*
*----------------------------------------------------------------------
*
* Decide whether or not to use input methods. * Decide whether or not to use input methods.
*/ */
#ifdef XNQueryInputStyle #ifdef XNQueryInputStyle
#define TK_USE_INPUT_METHODS #define TK_USE_INPUT_METHODS
#endif #endif
/* /*
* Dummy types that are used by clients: * Dummy types that are used by clients:
*/ */
typedef struct Tk_BindingTable_ *Tk_BindingTable; typedef struct Tk_BindingTable_ *Tk_BindingTable;
typedef struct Tk_Canvas_ *Tk_Canvas; typedef struct Tk_Canvas_ *Tk_Canvas;
typedef struct Tk_Cursor_ *Tk_Cursor; typedef struct Tk_Cursor_ *Tk_Cursor;
typedef struct Tk_ErrorHandler_ *Tk_ErrorHandler; typedef struct Tk_ErrorHandler_ *Tk_ErrorHandler;
typedef struct Tk_Font_ *Tk_Font; typedef struct Tk_Font_ *Tk_Font;
typedef struct Tk_Image__ *Tk_Image; typedef struct Tk_Image__ *Tk_Image;
skipping to change at line 120 skipping to change at line 117
typedef struct Tk_3DBorder_ *Tk_3DBorder; typedef struct Tk_3DBorder_ *Tk_3DBorder;
typedef struct Tk_Style_ *Tk_Style; typedef struct Tk_Style_ *Tk_Style;
typedef struct Tk_StyleEngine_ *Tk_StyleEngine; typedef struct Tk_StyleEngine_ *Tk_StyleEngine;
typedef struct Tk_StyledElement_ *Tk_StyledElement; typedef struct Tk_StyledElement_ *Tk_StyledElement;
/* /*
* Additional types exported to clients. * Additional types exported to clients.
*/ */
typedef const char *Tk_Uid; typedef const char *Tk_Uid;
/* /*
*----------------------------------------------------------------------
*
* The enum below defines the valid types for Tk configuration options as * The enum below defines the valid types for Tk configuration options as
* implemented by Tk_InitOptions, Tk_SetOptions, etc. * implemented by Tk_InitOptions, Tk_SetOptions, etc.
*/ */
typedef enum { typedef enum {
TK_OPTION_BOOLEAN, TK_OPTION_BOOLEAN,
TK_OPTION_INT, TK_OPTION_INT,
TK_OPTION_DOUBLE, TK_OPTION_DOUBLE,
TK_OPTION_STRING, TK_OPTION_STRING,
TK_OPTION_STRING_TABLE, TK_OPTION_STRING_TABLE,
skipping to change at line 182 skipping to change at line 180
int internalOffset; /* Where in record to store the inte rnal int internalOffset; /* Where in record to store the inte rnal
* representation of the value of this optio n, * representation of the value of this optio n,
* such as an int or XColor *. This field is * such as an int or XColor *. This field is
* specified as an offset in bytes from the * specified as an offset in bytes from the
* start of the record. Use the Tk_Offset * start of the record. Use the Tk_Offset
* macro to generate values for it. -1 means * macro to generate values for it. -1 means
* don't store the internal representation i n * don't store the internal representation i n
* the record. */ * the record. */
int flags; /* Any combination of the values defined int flags; /* Any combination of the values defined
* below. */ * below. */
ClientData clientData; /* An alternate place to put option-specific const void *clientData; /* An alternate place to put option-specific
* data. Used for the monochrome default val ue * data. Used for the monochrome default val ue
* for colors, etc. */ * for colors, etc. */
int typeMask; /* An arbitrary bit mask defined by the clas s int typeMask; /* An arbitrary bit mask defined by the clas s
* manager; typically bits correspond to * manager; typically bits correspond to
* certain kinds of options such as all thos e * certain kinds of options such as all thos e
* that require a redisplay when they change . * that require a redisplay when they change .
* Tk_SetOptions returns the bit-wise OR of * Tk_SetOptions returns the bit-wise OR of
* the typeMasks of all options that were * the typeMasks of all options that were
* changed. */ * changed. */
} Tk_OptionSpec; } Tk_OptionSpec;
skipping to change at line 208 skipping to change at line 206
#define TK_OPTION_NULL_OK (1 << 0) #define TK_OPTION_NULL_OK (1 << 0)
#define TK_OPTION_DONT_SET_DEFAULT (1 << 3) #define TK_OPTION_DONT_SET_DEFAULT (1 << 3)
/* /*
* The following structure and function types are used by TK_OPTION_CUSTOM * The following structure and function types are used by TK_OPTION_CUSTOM
* options; the structure holds pointers to the functions needed by the Tk * options; the structure holds pointers to the functions needed by the Tk
* option config code to handle a custom option. * option config code to handle a custom option.
*/ */
typedef int (Tk_CustomOptionSetProc) _ANSI_ARGS_((ClientData clientData, typedef int (Tk_CustomOptionSetProc) (ClientData clientData,
Tcl_Interp *interp, Tk_Window tkwin, Tcl_Obj **value, char *widgRec, Tcl_Interp *interp, Tk_Window tkwin, Tcl_Obj **value, char *widgRec,
int offset, char *saveInternalPtr, int flags)); int offset, char *saveInternalPtr, int flags);
typedef Tcl_Obj *(Tk_CustomOptionGetProc) _ANSI_ARGS_((ClientData clientDat typedef Tcl_Obj *(Tk_CustomOptionGetProc) (ClientData clientData,
a, Tk_Window tkwin, char *widgRec, int offset);
Tk_Window tkwin, char *widgRec, int offset)); typedef void (Tk_CustomOptionRestoreProc) (ClientData clientData,
typedef void (Tk_CustomOptionRestoreProc) _ANSI_ARGS_((ClientData clientDat Tk_Window tkwin, char *internalPtr, char *saveInternalPtr);
a, typedef void (Tk_CustomOptionFreeProc) (ClientData clientData, Tk_Window tk
Tk_Window tkwin, char *internalPtr, char *saveInternalPtr)); win,
typedef void (Tk_CustomOptionFreeProc) _ANSI_ARGS_((ClientData clientData, char *internalPtr);
Tk_Window tkwin, char *internalPtr));
typedef struct Tk_ObjCustomOption { typedef struct Tk_ObjCustomOption {
const char *name; /* Name of the custom option. */ const char *name; /* Name of the custom option. */
Tk_CustomOptionSetProc *setProc; Tk_CustomOptionSetProc *setProc;
/* Function to use to set a record's option /* Function to use to set a record's option
* value from a Tcl_Obj */ * value from a Tcl_Obj */
Tk_CustomOptionGetProc *getProc; Tk_CustomOptionGetProc *getProc;
/* Function to use to get a Tcl_Obj /* Function to use to get a Tcl_Obj
* representation from an internal * representation from an internal
* representation of an option. */ * representation of an option. */
Tk_CustomOptionRestoreProc *restoreProc; Tk_CustomOptionRestoreProc *restoreProc;
/* Function to use to restore a saved value /* Function to use to restore a saved value
* for the internal representation. */ * for the internal representation. */
skipping to change at line 295 skipping to change at line 293
* restore certain options. */ * restore certain options. */
int numItems; /* The number of valid items in items field. */ int numItems; /* The number of valid items in items field. */
Tk_SavedOption items[TK_NUM_SAVED_OPTIONS]; Tk_SavedOption items[TK_NUM_SAVED_OPTIONS];
/* Items used to hold old values. */ /* Items used to hold old values. */
struct Tk_SavedOptions *nextPtr; struct Tk_SavedOptions *nextPtr;
/* Points to next structure in list; needed if /* Points to next structure in list; needed if
* too many options changed to hold all the * too many options changed to hold all the
* old values in a single structure. NULL * old values in a single structure. NULL
* means no more structures. */ * means no more structures. */
} Tk_SavedOptions; } Tk_SavedOptions;
/* /*
* Structure used to describe application-specific configuration options: * Structure used to describe application-specific configuration options:
* indicates procedures to call to parse an option and to return a text str ing * indicates procedures to call to parse an option and to return a text str ing
* describing an option. THESE ARE DEPRECATED; PLEASE USE THE NEW STRUCTURE S * describing an option. THESE ARE DEPRECATED; PLEASE USE THE NEW STRUCTURE S
* LISTED ABOVE. * LISTED ABOVE.
*/ */
/* /*
* This is a temporary flag used while tkObjConfig and new widgets are in * This is a temporary flag used while tkObjConfig and new widgets are in
* development. * development.
*/ */
#ifndef __NO_OLD_CONFIG #ifndef __NO_OLD_CONFIG
typedef int (Tk_OptionParseProc) _ANSI_ARGS_((ClientData clientData, typedef int (Tk_OptionParseProc) (ClientData clientData, Tcl_Interp *interp
Tcl_Interp *interp, Tk_Window tkwin, CONST84 char *value, char *widg ,
Rec, Tk_Window tkwin, CONST84 char *value, char *widgRec, int offset);
int offset)); typedef CONST86 char *(Tk_OptionPrintProc) (ClientData clientData,
typedef char *(Tk_OptionPrintProc) _ANSI_ARGS_((ClientData clientData, Tk_Window tkwin, char *widgRec, int offset, Tcl_FreeProc **freeProcP
Tk_Window tkwin, char *widgRec, int offset, tr);
Tcl_FreeProc **freeProcPtr));
typedef struct Tk_CustomOption { typedef struct Tk_CustomOption {
Tk_OptionParseProc *parseProc; Tk_OptionParseProc *parseProc;
/* Procedure to call to parse an option and /* Procedure to call to parse an option and
* store it in converted form. */ * store it in converted form. */
Tk_OptionPrintProc *printProc; Tk_OptionPrintProc *printProc;
/* Procedure to return a printable string /* Procedure to return a printable string
* describing an existing option. */ * describing an existing option. */
ClientData clientData; /* Arbitrary one-word value used by option ClientData clientData; /* Arbitrary one-word value used by option
* parser: passed to parseProc and * parser: passed to parseProc and
skipping to change at line 340 skipping to change at line 335
* Structure used to specify information for Tk_ConfigureWidget. Each * Structure used to specify information for Tk_ConfigureWidget. Each
* structure gives complete information for one option, including how the * structure gives complete information for one option, including how the
* option is specified on the command line, where it appears in the option * option is specified on the command line, where it appears in the option
* database, etc. * database, etc.
*/ */
typedef struct Tk_ConfigSpec { typedef struct Tk_ConfigSpec {
int type; /* Type of option, such as TK_CONFIG_COLOR; int type; /* Type of option, such as TK_CONFIG_COLOR;
* see definitions below. Last option in tab le * see definitions below. Last option in tab le
* must have type TK_CONFIG_END. */ * must have type TK_CONFIG_END. */
char *argvName; /* Switch used to specify option in argv. NU LL CONST86 char *argvName; /* Switch used to specify option in argv. NU LL
* means this spec is part of a group. */ * means this spec is part of a group. */
Tk_Uid dbName; /* Name for option in option database. */ Tk_Uid dbName; /* Name for option in option database. */
Tk_Uid dbClass; /* Class for option in database. */ Tk_Uid dbClass; /* Class for option in database. */
Tk_Uid defValue; /* Default value for option if not specified Tk_Uid defValue; /* Default value for option if not specified
* in command line or database. */ * in command line or database. */
int offset; /* Where in widget record to store v alue; use int offset; /* Where in widget record to store v alue; use
* Tk_Offset macro to generate values for * Tk_Offset macro to generate values for
* this. */ * this. */
int specFlags; /* Any combination of the values defined int specFlags; /* Any combination of the values defined
* below; other bits are used internally by * below; other bits are used internally by
* tkConfig.c. */ * tkConfig.c. */
Tk_CustomOption *customPtr; /* If type is TK_CONFIG_CUSTOM then CONST86 Tk_CustomOption *customPtr;
this is a /* If type is TK_CONFIG_CUSTOM then this is
a
* pointer to info about how to parse and * pointer to info about how to parse and
* print the option. Otherwise it is * print the option. Otherwise it is
* irrelevant. */ * irrelevant. */
} Tk_ConfigSpec; } Tk_ConfigSpec;
/* /*
* Type values for Tk_ConfigSpec structures. See the user documentation for * Type values for Tk_ConfigSpec structures. See the user documentation for
* details. * details.
*/ */
skipping to change at line 394 skipping to change at line 390
* (internal-use-only flags are defined there). * (internal-use-only flags are defined there).
*/ */
#define TK_CONFIG_NULL_OK (1 << 0) #define TK_CONFIG_NULL_OK (1 << 0)
#define TK_CONFIG_COLOR_ONLY (1 << 1) #define TK_CONFIG_COLOR_ONLY (1 << 1)
#define TK_CONFIG_MONO_ONLY (1 << 2) #define TK_CONFIG_MONO_ONLY (1 << 2)
#define TK_CONFIG_DONT_SET_DEFAULT (1 << 3) #define TK_CONFIG_DONT_SET_DEFAULT (1 << 3)
#define TK_CONFIG_OPTION_SPECIFIED (1 << 4) #define TK_CONFIG_OPTION_SPECIFIED (1 << 4)
#define TK_CONFIG_USER_BIT 0x100 #define TK_CONFIG_USER_BIT 0x100
#endif /* __NO_OLD_CONFIG */ #endif /* __NO_OLD_CONFIG */
/* /*
* Structure used to specify how to handle argv options. * Structure used to specify how to handle argv options.
*/ */
typedef struct { typedef struct {
char *key; /* The key string that flags the option in t he CONST86 char *key; /* The key string that flags the option in t he
* argv array. */ * argv array. */
int type; /* Indicates option type; see below. */ int type; /* Indicates option type; see below. */
char *src; /* Value to be used in setting dst; usage char *src; /* Value to be used in setting dst; usage
* depends on type. */ * depends on type. */
char *dst; /* Address of value to be modified; usage char *dst; /* Address of value to be modified; usage
* depends on type. */ * depends on type. */
char *help; /* Documentation message describing this CONST86 char *help; /* Documentation message describing this
* option. */ * option. */
} Tk_ArgvInfo; } Tk_ArgvInfo;
/* /*
* Legal values for the type field of a Tk_ArgvInfo: see the user * Legal values for the type field of a Tk_ArgvInfo: see the user
* documentation for details. * documentation for details.
*/ */
#define TK_ARGV_CONSTANT 15 #define TK_ARGV_CONSTANT 15
#define TK_ARGV_INT 16 #define TK_ARGV_INT 16
skipping to change at line 438 skipping to change at line 433
#define TK_ARGV_END 27 #define TK_ARGV_END 27
/* /*
* Flag bits for passing to Tk_ParseArgv: * Flag bits for passing to Tk_ParseArgv:
*/ */
#define TK_ARGV_NO_DEFAULTS 0x1 #define TK_ARGV_NO_DEFAULTS 0x1
#define TK_ARGV_NO_LEFTOVERS 0x2 #define TK_ARGV_NO_LEFTOVERS 0x2
#define TK_ARGV_NO_ABBREV 0x4 #define TK_ARGV_NO_ABBREV 0x4
#define TK_ARGV_DONT_SKIP_FIRST_ARG 0x8 #define TK_ARGV_DONT_SKIP_FIRST_ARG 0x8
/* /*
* Enumerated type for describing actions to be taken in response to a * Enumerated type for describing actions to be taken in response to a
* restrictProc established by Tk_RestrictEvents. * restrictProc established by Tk_RestrictEvents.
*/ */
typedef enum { typedef enum {
TK_DEFER_EVENT, TK_PROCESS_EVENT, TK_DISCARD_EVENT TK_DEFER_EVENT, TK_PROCESS_EVENT, TK_DISCARD_EVENT
} Tk_RestrictAction; } Tk_RestrictAction;
/* /*
skipping to change at line 496 skipping to change at line 490
/* /*
* Enumerated type for describing a point by which to anchor something: * Enumerated type for describing a point by which to anchor something:
*/ */
typedef enum { typedef enum {
TK_ANCHOR_N, TK_ANCHOR_NE, TK_ANCHOR_E, TK_ANCHOR_SE, TK_ANCHOR_N, TK_ANCHOR_NE, TK_ANCHOR_E, TK_ANCHOR_SE,
TK_ANCHOR_S, TK_ANCHOR_SW, TK_ANCHOR_W, TK_ANCHOR_NW, TK_ANCHOR_S, TK_ANCHOR_SW, TK_ANCHOR_W, TK_ANCHOR_NW,
TK_ANCHOR_CENTER TK_ANCHOR_CENTER
} Tk_Anchor; } Tk_Anchor;
/* /*
* Enumerated type for describing a style of justification: * Enumerated type for describing a style of justification:
*/ */
typedef enum { typedef enum {
TK_JUSTIFY_LEFT, TK_JUSTIFY_RIGHT, TK_JUSTIFY_CENTER TK_JUSTIFY_LEFT, TK_JUSTIFY_RIGHT, TK_JUSTIFY_CENTER
} Tk_Justify; } Tk_Justify;
/* /*
* The following structure is used by Tk_GetFontMetrics() to return * The following structure is used by Tk_GetFontMetrics() to return
skipping to change at line 540 skipping to change at line 533
#define TK_WHOLE_WORDS 1 #define TK_WHOLE_WORDS 1
#define TK_AT_LEAST_ONE 2 #define TK_AT_LEAST_ONE 2
#define TK_PARTIAL_OK 4 #define TK_PARTIAL_OK 4
/* /*
* Flags passed to Tk_ComputeTextLayout: * Flags passed to Tk_ComputeTextLayout:
*/ */
#define TK_IGNORE_TABS 8 #define TK_IGNORE_TABS 8
#define TK_IGNORE_NEWLINES 16 #define TK_IGNORE_NEWLINES 16
/* /*
* Widget class procedures used to implement platform specific widget * Widget class procedures used to implement platform specific widget
* behavior. * behavior.
*/ */
typedef Window (Tk_ClassCreateProc) _ANSI_ARGS_((Tk_Window tkwin, typedef Window (Tk_ClassCreateProc) (Tk_Window tkwin, Window parent,
Window parent, ClientData instanceData)); ClientData instanceData);
typedef void (Tk_ClassWorldChangedProc) _ANSI_ARGS_((ClientData instanceDat typedef void (Tk_ClassWorldChangedProc) (ClientData instanceData);
a)); typedef void (Tk_ClassModalProc) (Tk_Window tkwin, XEvent *eventPtr);
typedef void (Tk_ClassModalProc) _ANSI_ARGS_((Tk_Window tkwin,
XEvent *eventPtr));
typedef struct Tk_ClassProcs { typedef struct Tk_ClassProcs {
unsigned int size; unsigned int size;
Tk_ClassWorldChangedProc *worldChangedProc; Tk_ClassWorldChangedProc *worldChangedProc;
/* Procedure to invoke when the widget needs /* Procedure to invoke when the widget needs
* to respond in some way to a change in the * to respond in some way to a change in the
* world (font changes, etc.) */ * world (font changes, etc.) */
Tk_ClassCreateProc *createProc; Tk_ClassCreateProc *createProc;
/* Procedure to invoke when the platform- /* Procedure to invoke when the platform-
* dependent window needs to be created. */ * dependent window needs to be created. */
skipping to change at line 584 skipping to change at line 575
* size-versioned structure pop up in the future: * size-versioned structure pop up in the future:
* *
* #define Tk_GetField(name, who, which) \ * #define Tk_GetField(name, who, which) \
* (((who) == NULL) ? NULL : * (((who) == NULL) ? NULL :
* (((who)->size <= Tk_Offset(name, which)) ? NULL :(name)->which)) * (((who)->size <= Tk_Offset(name, which)) ? NULL :(name)->which))
*/ */
#define Tk_GetClassProc(procs, which) \ #define Tk_GetClassProc(procs, which) \
(((procs) == NULL) ? NULL : \ (((procs) == NULL) ? NULL : \
(((procs)->size <= Tk_Offset(Tk_ClassProcs, which)) ? NULL:(procs)->whi ch)) (((procs)->size <= Tk_Offset(Tk_ClassProcs, which)) ? NULL:(procs)->whi ch))
/* /*
* Each geometry manager (the packer, the placer, etc.) is represented by a * Each geometry manager (the packer, the placer, etc.) is represented by a
* structure of the following form, which indicates procedures to invoke in * structure of the following form, which indicates procedures to invoke in
* the geometry manager to carry out certain functions. * the geometry manager to carry out certain functions.
*/ */
typedef void (Tk_GeomRequestProc) _ANSI_ARGS_((ClientData clientData, typedef void (Tk_GeomRequestProc) (ClientData clientData, Tk_Window tkwin);
Tk_Window tkwin)); typedef void (Tk_GeomLostSlaveProc) (ClientData clientData, Tk_Window tkwin
typedef void (Tk_GeomLostSlaveProc) _ANSI_ARGS_((ClientData clientData, );
Tk_Window tkwin));
typedef struct Tk_GeomMgr { typedef struct Tk_GeomMgr {
const char *name; /* Name of the geometry manager (command use d const char *name; /* Name of the geometry manager (command use d
* to invoke it, or name of widget class tha t * to invoke it, or name of widget class tha t
* allows embedded widgets). */ * allows embedded widgets). */
Tk_GeomRequestProc *requestProc; Tk_GeomRequestProc *requestProc;
/* Procedure to invoke when a slave's /* Procedure to invoke when a slave's
* requested geometry changes. */ * requested geometry changes. */
Tk_GeomLostSlaveProc *lostSlaveProc; Tk_GeomLostSlaveProc *lostSlaveProc;
/* Procedure to invoke when a slave is taken /* Procedure to invoke when a slave is taken
skipping to change at line 618 skipping to change at line 606
} Tk_GeomMgr; } Tk_GeomMgr;
/* /*
* Result values returned by Tk_GetScrollInfo: * Result values returned by Tk_GetScrollInfo:
*/ */
#define TK_SCROLL_MOVETO 1 #define TK_SCROLL_MOVETO 1
#define TK_SCROLL_PAGES 2 #define TK_SCROLL_PAGES 2
#define TK_SCROLL_UNITS 3 #define TK_SCROLL_UNITS 3
#define TK_SCROLL_ERROR 4 #define TK_SCROLL_ERROR 4
/* /*
*------------------------------------------------------------------------- -- *----------------------------------------------------------------------
* *
* Extensions to the X event set * Extensions to the X event set
* *
*------------------------------------------------------------------------- -- *----------------------------------------------------------------------
*/ */
#define VirtualEvent (MappingNotify + 1) #define VirtualEvent (MappingNotify + 1)
#define ActivateNotify (MappingNotify + 2) #define ActivateNotify (MappingNotify + 2)
#define DeactivateNotify (MappingNotify + 3) #define DeactivateNotify (MappingNotify + 3)
#define MouseWheelEvent (MappingNotify + 4) #define MouseWheelEvent (MappingNotify + 4)
#define TK_LASTEVENT (MappingNotify + 5) #define TK_LASTEVENT (MappingNotify + 5)
#define MouseWheelMask (1L << 28) #define MouseWheelMask (1L << 28)
#define ActivateMask (1L << 29) #define ActivateMask (1L << 29)
skipping to change at line 682 skipping to change at line 669
int type; int type;
unsigned long serial; /* # of last request processed by server. */ unsigned long serial; /* # of last request processed by server. */
Bool send_event; /* True if this came from a SendEvent Bool send_event; /* True if this came from a SendEvent
* request. */ * request. */
Display *display; /* Display the event was read from. */ Display *display; /* Display the event was read from. */
Window window; /* Window in which event occurred. */ Window window; /* Window in which event occurred. */
} XActivateDeactivateEvent; } XActivateDeactivateEvent;
typedef XActivateDeactivateEvent XActivateEvent; typedef XActivateDeactivateEvent XActivateEvent;
typedef XActivateDeactivateEvent XDeactivateEvent; typedef XActivateDeactivateEvent XDeactivateEvent;
/* /*
*-------------------------------------------------------------- *----------------------------------------------------------------------
* *
* Macros for querying Tk_Window structures. See the manual entries for * Macros for querying Tk_Window structures. See the manual entries for
* documentation. * documentation.
* *
*-------------------------------------------------------------- *----------------------------------------------------------------------
*/ */
#define Tk_Display(tkwin) (((Tk_FakeWin *) (tkwin))->display) #define Tk_Display(tkwin) (((Tk_FakeWin *) (tkwin))->display)
#define Tk_ScreenNumber(tkwin) (((Tk_FakeWin *) (tkwin))->screenNum) #define Tk_ScreenNumber(tkwin) (((Tk_FakeWin *) (tkwin))->screenNum)
#define Tk_Screen(tkwin) \ #define Tk_Screen(tkwin) \
(ScreenOfDisplay(Tk_Display(tkwin), Tk_ScreenNumber(tkwin))) (ScreenOfDisplay(Tk_Display(tkwin), Tk_ScreenNumber(tkwin)))
#define Tk_Depth(tkwin) (((Tk_FakeWin *) (tkwin))->depth) #define Tk_Depth(tkwin) (((Tk_FakeWin *) (tkwin))->depth)
#define Tk_Visual(tkwin) (((Tk_FakeWin *) (tkwin))->visual) #define Tk_Visual(tkwin) (((Tk_FakeWin *) (tkwin))->visual)
#define Tk_WindowId(tkwin) (((Tk_FakeWin *) (tkwin))->window) #define Tk_WindowId(tkwin) (((Tk_FakeWin *) (tkwin))->window)
#define Tk_PathName(tkwin) (((Tk_FakeWin *) (tkwin))->pathName) #define Tk_PathName(tkwin) (((Tk_FakeWin *) (tkwin))->pathName)
skipping to change at line 792 skipping to change at line 779
int internalBorderLeft; int internalBorderLeft;
char *dummy16; /* wmInfoPtr */ char *dummy16; /* wmInfoPtr */
char *dummy17; /* classProcPtr */ char *dummy17; /* classProcPtr */
ClientData dummy18; /* instanceData */ ClientData dummy18; /* instanceData */
char *dummy19; /* privatePtr */ char *dummy19; /* privatePtr */
int internalBorderRight; int internalBorderRight;
int internalBorderTop; int internalBorderTop;
int internalBorderBottom; int internalBorderBottom;
int minReqWidth; int minReqWidth;
int minReqHeight; int minReqHeight;
char *dummy20; /* geometryMaster */
} Tk_FakeWin; } Tk_FakeWin;
/* /*
* Flag values for TkWindow (and Tk_FakeWin) structures are: * Flag values for TkWindow (and Tk_FakeWin) structures are:
* *
* TK_MAPPED: 1 means window is currently mapped, * TK_MAPPED: 1 means window is currently mapped,
* 0 means unmapped. * 0 means unmapped.
* TK_TOP_LEVEL: 1 means this is a top-level widget. * TK_TOP_LEVEL: 1 means this is a top-level widget.
* TK_ALREADY_DEAD: 1 means the window is in the process of * TK_ALREADY_DEAD: 1 means the window is in the process of
* being destroyed already. * being destroyed already.
skipping to change at line 834 skipping to change at line 822
* rather is embedded in some other application . * rather is embedded in some other application .
* TK_CONTAINER: 1 means that this window is a container, and * TK_CONTAINER: 1 means that this window is a container, and
* that some other application (either in this * that some other application (either in this
* process or elsewhere) may be embedding itsel f * process or elsewhere) may be embedding itsel f
* inside the window. * inside the window.
* TK_BOTH_HALVES: 1 means that this window is used for * TK_BOTH_HALVES: 1 means that this window is used for
* application embedding (either as container o r * application embedding (either as container o r
* embedded application), and both the containi ng * embedded application), and both the containi ng
* and embedded halves are associated with * and embedded halves are associated with
* windows in this particular process. * windows in this particular process.
* TK_DEFER_MODAL: 1 means that this window has deferred a moda
l
* loop until all of the bindings for the curre
nt
* event have been invoked.
* TK_WRAPPER: 1 means that this window is the extra wrappe r * TK_WRAPPER: 1 means that this window is the extra wrappe r
* window created around a toplevel to hold the * window created around a toplevel to hold the
* menubar under Unix. See tkUnixWm.c for more * menubar under Unix. See tkUnixWm.c for more
* information. * information.
* TK_REPARENTED: 1 means that this window has been reparented * TK_REPARENTED: 1 means that this window has been reparented
* so that as far as the window system is * so that as far as the window system is
* concerned it isn't a child of its Tk parent. * concerned it isn't a child of its Tk parent.
* Initially this is used only for special Unix * Initially this is used only for special Unix
* menubar windows. * menubar windows.
* TK_ANONYMOUS_WINDOW: 1 means that this window has no name , and is * TK_ANONYMOUS_WINDOW: 1 means that this window has no name , and is
skipping to change at line 873 skipping to change at line 858
#define TK_TOP_LEVEL 2 #define TK_TOP_LEVEL 2
#define TK_ALREADY_DEAD 4 #define TK_ALREADY_DEAD 4
#define TK_NEED_CONFIG_NOTIFY 8 #define TK_NEED_CONFIG_NOTIFY 8
#define TK_GRAB_FLAG 0x10 #define TK_GRAB_FLAG 0x10
#define TK_CHECKED_IC 0x20 #define TK_CHECKED_IC 0x20
#define TK_DONT_DESTROY_WINDOW 0x40 #define TK_DONT_DESTROY_WINDOW 0x40
#define TK_WM_COLORMAP_WINDOW 0x80 #define TK_WM_COLORMAP_WINDOW 0x80
#define TK_EMBEDDED 0x100 #define TK_EMBEDDED 0x100
#define TK_CONTAINER 0x200 #define TK_CONTAINER 0x200
#define TK_BOTH_HALVES 0x400 #define TK_BOTH_HALVES 0x400
#define TK_DEFER_MODAL 0x800
#define TK_WRAPPER 0x1000 #define TK_WRAPPER 0x1000
#define TK_REPARENTED 0x2000 #define TK_REPARENTED 0x2000
#define TK_ANONYMOUS_WINDOW 0x4000 #define TK_ANONYMOUS_WINDOW 0x4000
#define TK_HAS_WRAPPER 0x8000 #define TK_HAS_WRAPPER 0x8000
#define TK_WIN_MANAGED 0x10000 #define TK_WIN_MANAGED 0x10000
#define TK_TOP_HIERARCHY 0x20000 #define TK_TOP_HIERARCHY 0x20000
#define TK_PROP_PROPCHANGE 0x40000 #define TK_PROP_PROPCHANGE 0x40000
#define TK_WM_MANAGEABLE 0x80000 #define TK_WM_MANAGEABLE 0x80000
/* /*
*-------------------------------------------------------------- *----------------------------------------------------------------------
* *
* Procedure prototypes and structures used for defining new canvas items: * Procedure prototypes and structures used for defining new canvas items:
* *
*-------------------------------------------------------------- *----------------------------------------------------------------------
*/ */
typedef enum { typedef enum {
TK_STATE_NULL = -1, TK_STATE_ACTIVE, TK_STATE_DISABLED, TK_STATE_NULL = -1, TK_STATE_ACTIVE, TK_STATE_DISABLED,
TK_STATE_NORMAL, TK_STATE_HIDDEN TK_STATE_NORMAL, TK_STATE_HIDDEN
} Tk_State; } Tk_State;
typedef struct Tk_SmoothMethod { typedef struct Tk_SmoothMethod {
char *name; CONST86 char *name;
int (*coordProc) _ANSI_ARGS_((Tk_Canvas canvas, int (*coordProc) (Tk_Canvas canvas, double *pointPtr, int numPoints,
double *pointPtr, int numPoints, int numSteps, int numSteps, XPoint xPoints[], double dblPoints[]);
XPoint xPoints[], double dblPoints[])); void (*postscriptProc) (Tcl_Interp *interp, Tk_Canvas canvas,
void (*postscriptProc) _ANSI_ARGS_((Tcl_Interp *interp, double *coordPtr, int numPoints, int numSteps);
Tk_Canvas canvas, double *coordPtr,
int numPoints, int numSteps));
} Tk_SmoothMethod; } Tk_SmoothMethod;
/* /*
* For each item in a canvas widget there exists one record with the follow ing * For each item in a canvas widget there exists one record with the follow ing
* structure. Each actual item is represented by a record with the followin g * structure. Each actual item is represented by a record with the followin g
* stuff at its beginning, plus additional type-specific stuff after that. * stuff at its beginning, plus additional type-specific stuff after that.
*/ */
#define TK_TAG_SPACE 3 #define TK_TAG_SPACE 3
skipping to change at line 971 skipping to change at line 953
#define TK_ITEM_STATE_DEPENDANT 1 #define TK_ITEM_STATE_DEPENDANT 1
#define TK_ITEM_DONT_REDRAW 2 #define TK_ITEM_DONT_REDRAW 2
/* /*
* Records of the following type are used to describe a type of item (e.g. * Records of the following type are used to describe a type of item (e.g.
* lines, circles, etc.) that can form part of a canvas widget. * lines, circles, etc.) that can form part of a canvas widget.
*/ */
#ifdef USE_OLD_CANVAS #ifdef USE_OLD_CANVAS
typedef int Tk_ItemCreateProc _ANSI_ARGS_((Tcl_Interp *interp, typedef int (Tk_ItemCreateProc)(Tcl_Interp *interp, Tk_Canvas canvas,
Tk_Canvas canvas, Tk_Item *itemPtr, int argc, Tk_Item *itemPtr, int argc, char **argv);
char **argv)); typedef int (Tk_ItemConfigureProc)(Tcl_Interp *interp, Tk_Canvas canvas,
typedef int Tk_ItemConfigureProc _ANSI_ARGS_((Tcl_Interp *interp, Tk_Item *itemPtr, int argc, char **argv, int flags);
Tk_Canvas canvas, Tk_Item *itemPtr, int argc, typedef int (Tk_ItemCoordProc)(Tcl_Interp *interp, Tk_Canvas canvas,
char **argv, int flags)); Tk_Item *itemPtr, int argc, char **argv);
typedef int Tk_ItemCoordProc _ANSI_ARGS_((Tcl_Interp *interp,
Tk_Canvas canvas, Tk_Item *itemPtr, int argc,
char **argv));
#else #else
typedef int Tk_ItemCreateProc _ANSI_ARGS_((Tcl_Interp *interp, typedef int (Tk_ItemCreateProc)(Tcl_Interp *interp, Tk_Canvas canvas,
Tk_Canvas canvas, Tk_Item *itemPtr, int argc, Tk_Item *itemPtr, int argc, Tcl_Obj *const objv[]);
Tcl_Obj *const objv[])); typedef int (Tk_ItemConfigureProc)(Tcl_Interp *interp, Tk_Canvas canvas,
typedef int Tk_ItemConfigureProc _ANSI_ARGS_((Tcl_Interp *interp, Tk_Item *itemPtr, int argc, Tcl_Obj *const objv[],
Tk_Canvas canvas, Tk_Item *itemPtr, int argc, int flags);
Tcl_Obj *const objv[], int flags)); typedef int (Tk_ItemCoordProc)(Tcl_Interp *interp, Tk_Canvas canvas,
typedef int Tk_ItemCoordProc _ANSI_ARGS_((Tcl_Interp *interp, Tk_Item *itemPtr, int argc, Tcl_Obj *const argv[]);
Tk_Canvas canvas, Tk_Item *itemPtr, int argc, #endif /* USE_OLD_CANVAS */
Tcl_Obj *const argv[])); typedef void (Tk_ItemDeleteProc)(Tk_Canvas canvas, Tk_Item *itemPtr,
#endif Display *display);
typedef void Tk_ItemDeleteProc _ANSI_ARGS_((Tk_Canvas canvas, typedef void (Tk_ItemDisplayProc)(Tk_Canvas canvas, Tk_Item *itemPtr,
Tk_Item *itemPtr, Display *display)); Display *display, Drawable dst, int x, int y, int width,
typedef void Tk_ItemDisplayProc _ANSI_ARGS_((Tk_Canvas canvas, int height);
Tk_Item *itemPtr, Display *display, Drawable dst, typedef double (Tk_ItemPointProc)(Tk_Canvas canvas, Tk_Item *itemPtr,
int x, int y, int width, int height)); double *pointPtr);
typedef double Tk_ItemPointProc _ANSI_ARGS_((Tk_Canvas canvas, typedef int (Tk_ItemAreaProc)(Tk_Canvas canvas, Tk_Item *itemPtr,
Tk_Item *itemPtr, double *pointPtr)); double *rectPtr);
typedef int Tk_ItemAreaProc _ANSI_ARGS_((Tk_Canvas canvas, typedef int (Tk_ItemPostscriptProc)(Tcl_Interp *interp, Tk_Canvas canvas
Tk_Item *itemPtr, double *rectPtr)); ,
typedef int Tk_ItemPostscriptProc _ANSI_ARGS_((Tcl_Interp *interp, Tk_Item *itemPtr, int prepass);
Tk_Canvas canvas, Tk_Item *itemPtr, int prepass)); typedef void (Tk_ItemScaleProc)(Tk_Canvas canvas, Tk_Item *itemPtr,
typedef void Tk_ItemScaleProc _ANSI_ARGS_((Tk_Canvas canvas, double originX, double originY, double scaleX,
Tk_Item *itemPtr, double originX, double originY, double scaleY);
double scaleX, double scaleY)); typedef void (Tk_ItemTranslateProc)(Tk_Canvas canvas, Tk_Item *itemPtr,
typedef void Tk_ItemTranslateProc _ANSI_ARGS_((Tk_Canvas canvas, double deltaX, double deltaY);
Tk_Item *itemPtr, double deltaX, double deltaY)); #ifdef USE_OLD_CANVAS
typedef int Tk_ItemIndexProc _ANSI_ARGS_((Tcl_Interp *interp, typedef int (Tk_ItemIndexProc)(Tcl_Interp *interp, Tk_Canvas canvas,
Tk_Canvas canvas, Tk_Item *itemPtr, char *indexString, Tk_Item *itemPtr, char *indexString, int *indexPtr);
int *indexPtr)); #else
typedef void Tk_ItemCursorProc _ANSI_ARGS_((Tk_Canvas canvas, typedef int (Tk_ItemIndexProc)(Tcl_Interp *interp, Tk_Canvas canvas,
Tk_Item *itemPtr, int index)); Tk_Item *itemPtr, Tcl_Obj *indexString, int *indexPtr);
typedef int Tk_ItemSelectionProc _ANSI_ARGS_((Tk_Canvas canvas, #endif /* USE_OLD_CANVAS */
Tk_Item *itemPtr, int offset, char *buffer, typedef void (Tk_ItemCursorProc)(Tk_Canvas canvas, Tk_Item *itemPtr,
int maxBytes)); int index);
typedef void Tk_ItemInsertProc _ANSI_ARGS_((Tk_Canvas canvas, typedef int (Tk_ItemSelectionProc)(Tk_Canvas canvas, Tk_Item *itemPtr,
Tk_Item *itemPtr, int beforeThis, char *string)); int offset, char *buffer, int maxBytes);
typedef void Tk_ItemDCharsProc _ANSI_ARGS_((Tk_Canvas canvas, #ifdef USE_OLD_CANVAS
Tk_Item *itemPtr, int first, int last)); typedef void (Tk_ItemInsertProc)(Tk_Canvas canvas, Tk_Item *itemPtr,
int beforeThis, char *string);
#else
typedef void (Tk_ItemInsertProc)(Tk_Canvas canvas, Tk_Item *itemPtr,
int beforeThis, Tcl_Obj *string);
#endif /* USE_OLD_CANVAS */
typedef void (Tk_ItemDCharsProc)(Tk_Canvas canvas, Tk_Item *itemPtr,
int first, int last);
#ifndef __NO_OLD_CONFIG #ifndef __NO_OLD_CONFIG
typedef struct Tk_ItemType { typedef struct Tk_ItemType {
char *name; /* The name of this type of item, su ch as CONST86 char *name; /* The name of this type of item, su ch as
* "line". */ * "line". */
int itemSize; /* Total amount of space needed for item's int itemSize; /* Total amount of space needed for item's
* record. */ * record. */
Tk_ItemCreateProc *createProc; Tk_ItemCreateProc *createProc;
/* Procedure to create a new item of this /* Procedure to create a new item of this
* type. */ * type. */
Tk_ConfigSpec *configSpecs; /* Pointer to array of configuration specs for CONST86 Tk_ConfigSpec *configSpecs; /* Pointer to array of configuratio n specs for
* this type. Used for returning configurati on * this type. Used for returning configurati on
* info. */ * info. */
Tk_ItemConfigureProc *configProc; Tk_ItemConfigureProc *configProc;
/* Procedure to call to change configuration /* Procedure to call to change configuration
* options. */ * options. */
Tk_ItemCoordProc *coordProc;/* Procedure to call to get and set the ite m's Tk_ItemCoordProc *coordProc;/* Procedure to call to get and set the ite m's
* coordinates. */ * coordinates. */
Tk_ItemDeleteProc *deleteProc; Tk_ItemDeleteProc *deleteProc;
/* Procedure to delete existing item of this /* Procedure to delete existing item of this
* type. */ * type. */
skipping to change at line 1079 skipping to change at line 1064
Tk_ItemDCharsProc *dCharsProc; Tk_ItemDCharsProc *dCharsProc;
/* Procedure to delete characters from an /* Procedure to delete characters from an
* item. */ * item. */
struct Tk_ItemType *nextPtr;/* Used to link types together into a list. */ struct Tk_ItemType *nextPtr;/* Used to link types together into a list. */
char *reserved1; /* Reserved for future extension. */ char *reserved1; /* Reserved for future extension. */
int reserved2; /* Carefully compatible with */ int reserved2; /* Carefully compatible with */
char *reserved3; /* Jan Nijtmans dash patch */ char *reserved3; /* Jan Nijtmans dash patch */
char *reserved4; char *reserved4;
} Tk_ItemType; } Tk_ItemType;
#endif /*
* Flag (used in the alwaysRedraw field) to say whether an item supports
* point-level manipulation like the line and polygon items.
*/
#define TK_MOVABLE_POINTS 2
#endif /* __NO_OLD_CONFIG */
/* /*
* The following structure provides information about the selection and the * The following structure provides information about the selection and the
* insertion cursor. It is needed by only a few items, such as those that * insertion cursor. It is needed by only a few items, such as those that
* display text. It is shared by the generic canvas code and the item-speci fic * display text. It is shared by the generic canvas code and the item-speci fic
* code, but most of the fields should be written only by the canvas generi c * code, but most of the fields should be written only by the canvas generi c
* code. * code.
*/ */
typedef struct Tk_CanvasTextInfo { typedef struct Tk_CanvasTextInfo {
skipping to change at line 1124 skipping to change at line 1116
int insertBorderWidth; /* Width of 3-D border around insert cursor. int insertBorderWidth; /* Width of 3-D border around insert cursor.
* Read-only to items. */ * Read-only to items. */
Tk_Item *focusItemPtr; /* Item that currently has the input focus, or Tk_Item *focusItemPtr; /* Item that currently has the input focus, or
* NULL if no such item. Read-only to items. */ * NULL if no such item. Read-only to items. */
int gotFocus; /* Non-zero means that the canvas widget has int gotFocus; /* Non-zero means that the canvas widget has
* the input focus. Read-only to items.*/ * the input focus. Read-only to items.*/
int cursorOn; /* Non-zero means that an insertion cursor int cursorOn; /* Non-zero means that an insertion cursor
* should be displayed in focusItemPtr. * should be displayed in focusItemPtr.
* Read-only to items.*/ * Read-only to items.*/
} Tk_CanvasTextInfo; } Tk_CanvasTextInfo;
/* /*
* Structures used for Dashing and Outline. * Structures used for Dashing and Outline.
*/ */
typedef struct Tk_Dash { typedef struct Tk_Dash {
int number; int number;
union { union {
char *pt; char *pt;
char array[sizeof(char *)]; char array[sizeof(char *)];
} pattern; } pattern;
skipping to change at line 1164 skipping to change at line 1157
typedef struct Tk_Outline { typedef struct Tk_Outline {
GC gc; /* Graphics context. */ GC gc; /* Graphics context. */
double width; /* Width of outline. */ double width; /* Width of outline. */
double activeWidth; /* Width of outline. */ double activeWidth; /* Width of outline. */
double disabledWidth; /* Width of outline. */ double disabledWidth; /* Width of outline. */
int offset; /* Dash offset. */ int offset; /* Dash offset. */
Tk_Dash dash; /* Dash pattern. */ Tk_Dash dash; /* Dash pattern. */
Tk_Dash activeDash; /* Dash pattern if state is active. */ Tk_Dash activeDash; /* Dash pattern if state is active. */
Tk_Dash disabledDash; /* Dash pattern if state is disabled. */ Tk_Dash disabledDash; /* Dash pattern if state is disabled. */
VOID *reserved1; /* Reserved for future expansion. */ void *reserved1; /* Reserved for future expansion. */
VOID *reserved2; void *reserved2;
VOID *reserved3; void *reserved3;
Tk_TSOffset tsoffset; /* Stipple offset for outline. */ Tk_TSOffset tsoffset; /* Stipple offset for outline. */
XColor *color; /* Outline color. */ XColor *color; /* Outline color. */
XColor *activeColor; /* Outline color if state is active. */ XColor *activeColor; /* Outline color if state is active. */
XColor *disabledColor; /* Outline color if state is disabled. */ XColor *disabledColor; /* Outline color if state is disabled. */
Pixmap stipple; /* Outline Stipple pattern. */ Pixmap stipple; /* Outline Stipple pattern. */
Pixmap activeStipple; /* Outline Stipple pattern if state is Pixmap activeStipple; /* Outline Stipple pattern if state is
* active. */ * active. */
Pixmap disabledStipple; /* Outline Stipple pattern if state is Pixmap disabledStipple; /* Outline Stipple pattern if state is
* disabled. */ * disabled. */
} Tk_Outline; } Tk_Outline;
/* /*
*-------------------------------------------------------------- *----------------------------------------------------------------------
* *
* Procedure prototypes and structures used for managing images: * Procedure prototypes and structures used for managing images:
* *
*-------------------------------------------------------------- *----------------------------------------------------------------------
*/ */
typedef struct Tk_ImageType Tk_ImageType; typedef struct Tk_ImageType Tk_ImageType;
#ifdef USE_OLD_IMAGE #ifdef USE_OLD_IMAGE
typedef int (Tk_ImageCreateProc) _ANSI_ARGS_((Tcl_Interp *interp, typedef int (Tk_ImageCreateProc) (Tcl_Interp *interp, char *name, int argc,
char *name, int argc, char **argv, Tk_ImageType *typePtr, char **argv, Tk_ImageType *typePtr, Tk_ImageMaster master,
Tk_ImageMaster master, ClientData *masterDataPtr)); ClientData *masterDataPtr);
#else #else
typedef int (Tk_ImageCreateProc) _ANSI_ARGS_((Tcl_Interp *interp, typedef int (Tk_ImageCreateProc) (Tcl_Interp *interp, CONST86 char *name, i
char *name, int objc, Tcl_Obj *const objv[], Tk_ImageType *typePtr, nt objc,
Tk_ImageMaster master, ClientData *masterDataPtr)); Tcl_Obj *const objv[], CONST86 Tk_ImageType *typePtr, Tk_ImageMaster
#endif master,
typedef ClientData (Tk_ImageGetProc) _ANSI_ARGS_((Tk_Window tkwin, ClientData *masterDataPtr);
ClientData masterData)); #endif /* USE_OLD_IMAGE */
typedef void (Tk_ImageDisplayProc) _ANSI_ARGS_((ClientData instanceData, typedef ClientData (Tk_ImageGetProc) (Tk_Window tkwin, ClientData masterDat
Display *display, Drawable drawable, int imageX, int imageY, a);
int width, int height, int drawableX, int drawableY)); typedef void (Tk_ImageDisplayProc) (ClientData instanceData, Display *displ
typedef void (Tk_ImageFreeProc) _ANSI_ARGS_((ClientData instanceData, ay,
Display *display)); Drawable drawable, int imageX, int imageY, int width, int height,
typedef void (Tk_ImageDeleteProc) _ANSI_ARGS_((ClientData masterData)); int drawableX, int drawableY);
typedef void (Tk_ImageChangedProc) _ANSI_ARGS_((ClientData clientData, typedef void (Tk_ImageFreeProc) (ClientData instanceData, Display *display)
int x, int y, int width, int height, int imageWidth, ;
int imageHeight)); typedef void (Tk_ImageDeleteProc) (ClientData masterData);
typedef int (Tk_ImagePostscriptProc) _ANSI_ARGS_((ClientData clientData, typedef void (Tk_ImageChangedProc) (ClientData clientData, int x, int y,
int width, int height, int imageWidth, int imageHeight);
typedef int (Tk_ImagePostscriptProc) (ClientData clientData,
Tcl_Interp *interp, Tk_Window tkwin, Tk_PostscriptInfo psinfo, Tcl_Interp *interp, Tk_Window tkwin, Tk_PostscriptInfo psinfo,
int x, int y, int width, int height, int prepass)); int x, int y, int width, int height, int prepass);
/* /*
* The following structure represents a particular type of image (bitmap, x pm * The following structure represents a particular type of image (bitmap, x pm
* image, etc.). It provides information common to all images of that type, * image, etc.). It provides information common to all images of that type,
* such as the type name and a collection of procedures in the image manage r * such as the type name and a collection of procedures in the image manage r
* that respond to various events. Each image manager is represented by one of * that respond to various events. Each image manager is represented by one of
* these structures. * these structures.
*/ */
struct Tk_ImageType { struct Tk_ImageType {
char *name; /* Name of image type. */ CONST86 char *name; /* Name of image type. */
Tk_ImageCreateProc *createProc; Tk_ImageCreateProc *createProc;
/* Procedure to call to create a new image o f /* Procedure to call to create a new image o f
* this type. */ * this type. */
Tk_ImageGetProc *getProc; /* Procedure to call the first time Tk_ImageGetProc *getProc; /* Procedure to call the first time
* Tk_GetImage is called in a new way (new * Tk_GetImage is called in a new way (new
* visual or screen). */ * visual or screen). */
Tk_ImageDisplayProc *displayProc; Tk_ImageDisplayProc *displayProc;
/* Call to draw image, in response to /* Call to draw image, in response to
* Tk_RedrawImage calls. */ * Tk_RedrawImage calls. */
Tk_ImageFreeProc *freeProc; /* Procedure to call whenever Tk_Fre eImage is Tk_ImageFreeProc *freeProc; /* Procedure to call whenever Tk_Fre eImage is
skipping to change at line 1245 skipping to change at line 1235
* called for each instance of the image. */ * called for each instance of the image. */
Tk_ImagePostscriptProc *postscriptProc; Tk_ImagePostscriptProc *postscriptProc;
/* Procedure to call to produce postscript /* Procedure to call to produce postscript
* output for the image. */ * output for the image. */
struct Tk_ImageType *nextPtr; struct Tk_ImageType *nextPtr;
/* Next in list of all image types currently /* Next in list of all image types currently
* known. Filled in by Tk, not by image * known. Filled in by Tk, not by image
* manager. */ * manager. */
char *reserved; /* reserved for future expansion */ char *reserved; /* reserved for future expansion */
}; };
/* /*
*-------------------------------------------------------------- *----------------------------------------------------------------------
* *
* Additional definitions used to manage images of type "photo". * Additional definitions used to manage images of type "photo".
* *
*-------------------------------------------------------------- *----------------------------------------------------------------------
*/ */
/* /*
* The following type is used to identify a particular photo image to be * The following type is used to identify a particular photo image to be
* manipulated: * manipulated:
*/ */
typedef void *Tk_PhotoHandle; typedef void *Tk_PhotoHandle;
/* /*
skipping to change at line 1292 skipping to change at line 1283
#define TK_PHOTO_COMPOSITE_OVERLAY 0 #define TK_PHOTO_COMPOSITE_OVERLAY 0
#define TK_PHOTO_COMPOSITE_SET 1 #define TK_PHOTO_COMPOSITE_SET 1
/* /*
* Procedure prototypes and structures used in reading and writing photo * Procedure prototypes and structures used in reading and writing photo
* images: * images:
*/ */
typedef struct Tk_PhotoImageFormat Tk_PhotoImageFormat; typedef struct Tk_PhotoImageFormat Tk_PhotoImageFormat;
#ifdef USE_OLD_IMAGE #ifdef USE_OLD_IMAGE
typedef int (Tk_ImageFileMatchProc) _ANSI_ARGS_((Tcl_Channel chan, typedef int (Tk_ImageFileMatchProc) (Tcl_Channel chan, char *fileName,
char *fileName, char *formatString, int *widthPtr, int *heightPtr)); char *formatString, int *widthPtr, int *heightPtr);
typedef int (Tk_ImageStringMatchProc) _ANSI_ARGS_((char *string, typedef int (Tk_ImageStringMatchProc) (char *string, char *formatString,
char *formatString, int *widthPtr, int *heightPtr)); int *widthPtr, int *heightPtr);
typedef int (Tk_ImageFileReadProc) _ANSI_ARGS_((Tcl_Interp *interp, typedef int (Tk_ImageFileReadProc) (Tcl_Interp *interp, Tcl_Channel chan,
Tcl_Channel chan, char *fileName, char *formatString, char *fileName, char *formatString, Tk_PhotoHandle imageHandle,
Tk_PhotoHandle imageHandle, int destX, int destY, int destX, int destY, int width, int height, int srcX, int srcY);
int width, int height, int srcX, int srcY)); typedef int (Tk_ImageStringReadProc) (Tcl_Interp *interp, char *string,
typedef int (Tk_ImageStringReadProc) _ANSI_ARGS_((Tcl_Interp *interp, char *formatString, Tk_PhotoHandle imageHandle, int destX, int destY
char *string, char *formatString, Tk_PhotoHandle imageHandle, ,
int destX, int destY, int width, int height, int srcX, int srcY)); int width, int height, int srcX, int srcY);
typedef int (Tk_ImageFileWriteProc) _ANSI_ARGS_((Tcl_Interp *interp, typedef int (Tk_ImageFileWriteProc) (Tcl_Interp *interp, char *fileName,
char *fileName, char *formatString, Tk_PhotoImageBlock *blockPtr)); char *formatString, Tk_PhotoImageBlock *blockPtr);
typedef int (Tk_ImageStringWriteProc) _ANSI_ARGS_((Tcl_Interp *interp, typedef int (Tk_ImageStringWriteProc) (Tcl_Interp *interp,
Tcl_DString *dataPtr, char *formatString, Tcl_DString *dataPtr, char *formatString, Tk_PhotoImageBlock *blockP
Tk_PhotoImageBlock *blockPtr)); tr);
#else #else
typedef int (Tk_ImageFileMatchProc) _ANSI_ARGS_((Tcl_Channel chan, typedef int (Tk_ImageFileMatchProc) (Tcl_Channel chan, const char *fileName
const char *fileName, Tcl_Obj *format, int *widthPtr, ,
int *heightPtr, Tcl_Interp *interp)); Tcl_Obj *format, int *widthPtr, int *heightPtr, Tcl_Interp *interp);
typedef int (Tk_ImageStringMatchProc) _ANSI_ARGS_((Tcl_Obj *dataObj, typedef int (Tk_ImageStringMatchProc) (Tcl_Obj *dataObj, Tcl_Obj *format,
Tcl_Obj *format, int *widthPtr, int *heightPtr, int *widthPtr, int *heightPtr, Tcl_Interp *interp);
Tcl_Interp *interp)); typedef int (Tk_ImageFileReadProc) (Tcl_Interp *interp, Tcl_Channel chan,
typedef int (Tk_ImageFileReadProc) _ANSI_ARGS_((Tcl_Interp *interp, const char *fileName, Tcl_Obj *format, Tk_PhotoHandle imageHandle,
Tcl_Channel chan, const char *fileName, Tcl_Obj *format, int destX, int destY, int width, int height, int srcX, int srcY);
Tk_PhotoHandle imageHandle, int destX, int destY, typedef int (Tk_ImageStringReadProc) (Tcl_Interp *interp, Tcl_Obj *dataObj,
int width, int height, int srcX, int srcY)); Tcl_Obj *format, Tk_PhotoHandle imageHandle, int destX, int destY,
typedef int (Tk_ImageStringReadProc) _ANSI_ARGS_((Tcl_Interp *interp, int width, int height, int srcX, int srcY);
Tcl_Obj *dataObj, Tcl_Obj *format, Tk_PhotoHandle imageHandle, typedef int (Tk_ImageFileWriteProc) (Tcl_Interp *interp, const char *fileNa
int destX, int destY, int width, int height, int srcX, int srcY)); me,
typedef int (Tk_ImageFileWriteProc) _ANSI_ARGS_((Tcl_Interp *interp, Tcl_Obj *format, Tk_PhotoImageBlock *blockPtr);
const char *fileName, Tcl_Obj *format, Tk_PhotoImageBlock *blockPtr) typedef int (Tk_ImageStringWriteProc) (Tcl_Interp *interp, Tcl_Obj *format,
); Tk_PhotoImageBlock *blockPtr);
typedef int (Tk_ImageStringWriteProc) _ANSI_ARGS_((Tcl_Interp *interp, #endif /* USE_OLD_IMAGE */
Tcl_Obj *format, Tk_PhotoImageBlock *blockPtr));
#endif
/* /*
* The following structure represents a particular file format for storing * The following structure represents a particular file format for storing
* images (e.g., PPM, GIF, JPEG, etc.). It provides information to allow im age * images (e.g., PPM, GIF, JPEG, etc.). It provides information to allow im age
* files of that format to be recognized and read into a photo image. * files of that format to be recognized and read into a photo image.
*/ */
struct Tk_PhotoImageFormat { struct Tk_PhotoImageFormat {
char *name; /* Name of image file format */ CONST86 char *name; /* Name of image file format */
Tk_ImageFileMatchProc *fileMatchProc; Tk_ImageFileMatchProc *fileMatchProc;
/* Procedure to call to determine whether an /* Procedure to call to determine whether an
* image file matches this format. */ * image file matches this format. */
Tk_ImageStringMatchProc *stringMatchProc; Tk_ImageStringMatchProc *stringMatchProc;
/* Procedure to call to determine whether th e /* Procedure to call to determine whether th e
* data in a string matches this format. */ * data in a string matches this format. */
Tk_ImageFileReadProc *fileReadProc; Tk_ImageFileReadProc *fileReadProc;
/* Procedure to call to read data from an /* Procedure to call to read data from an
* image file into a photo image. */ * image file into a photo image. */
Tk_ImageStringReadProc *stringReadProc; Tk_ImageStringReadProc *stringReadProc;
skipping to change at line 1360 skipping to change at line 1346
* photo image to a file. */ * photo image to a file. */
Tk_ImageStringWriteProc *stringWriteProc; Tk_ImageStringWriteProc *stringWriteProc;
/* Procedure to call to obtain a string /* Procedure to call to obtain a string
* representation of the data in a photo * representation of the data in a photo
* image.*/ * image.*/
struct Tk_PhotoImageFormat *nextPtr; struct Tk_PhotoImageFormat *nextPtr;
/* Next in list of all photo image formats /* Next in list of all photo image formats
* currently known. Filled in by Tk, not by * currently known. Filled in by Tk, not by
* image format handler. */ * image format handler. */
}; };
#ifdef USE_OLD_IMAGE
#define Tk_CreateImageType Tk_CreateOldImageType
#define Tk_CreatePhotoImageFormat Tk_CreateOldPhotoImageFormat
#endif
/* /*
*-------------------------------------------------------------- *----------------------------------------------------------------------
* *
* Procedure prototypes and structures used for managing styles: * Procedure prototypes and structures used for managing styles:
* *
*-------------------------------------------------------------- *----------------------------------------------------------------------
*/ */
/* /*
* Style support version tag. * Style support version tag.
*/ */
#define TK_STYLE_VERSION_1 0x1 #define TK_STYLE_VERSION_1 0x1
#define TK_STYLE_VERSION TK_STYLE_VERSION_1 #define TK_STYLE_VERSION TK_STYLE_VERSION_1
/* /*
* The following structures and prototypes are used as static templates to * The following structures and prototypes are used as static templates to
* declare widget elements. * declare widget elements.
*/ */
typedef void (Tk_GetElementSizeProc) _ANSI_ARGS_((ClientData clientData, typedef void (Tk_GetElementSizeProc) (ClientData clientData, char *recordPt
char *recordPtr, const Tk_OptionSpec **optionsPtr, Tk_Window tkwin, r,
int width, int height, int inner, int *widthPtr, int *heightPtr)); const Tk_OptionSpec **optionsPtr, Tk_Window tkwin, int width,
typedef void (Tk_GetElementBoxProc) _ANSI_ARGS_((ClientData clientData, int height, int inner, int *widthPtr, int *heightPtr);
char *recordPtr, const Tk_OptionSpec **optionsPtr, Tk_Window tkwin, typedef void (Tk_GetElementBoxProc) (ClientData clientData, char *recordPtr
int x, int y, int width, int height, int inner, int *xPtr, int *yPt ,
r, const Tk_OptionSpec **optionsPtr, Tk_Window tkwin, int x, int y,
int *widthPtr, int *heightPtr)); int width, int height, int inner, int *xPtr, int *yPtr, int *widthPt
typedef int (Tk_GetElementBorderWidthProc) _ANSI_ARGS_((ClientData clientDa r,
ta, int *heightPtr);
char *recordPtr, const Tk_OptionSpec **optionsPtr, Tk_Window tkwin) typedef int (Tk_GetElementBorderWidthProc) (ClientData clientData,
); char *recordPtr, const Tk_OptionSpec **optionsPtr, Tk_Window tkwin);
typedef void (Tk_DrawElementProc) _ANSI_ARGS_((ClientData clientData, typedef void (Tk_DrawElementProc) (ClientData clientData, char *recordPtr,
char *recordPtr, const Tk_OptionSpec **optionsPtr, Tk_Window tkwin, const Tk_OptionSpec **optionsPtr, Tk_Window tkwin, Drawable d, int x
Drawable d, int x, int y, int width, int height, int state)); ,
int y, int width, int height, int state);
typedef struct Tk_ElementOptionSpec { typedef struct Tk_ElementOptionSpec {
char *name; /* Name of the required option. */ char *name; /* Name of the required option. */
Tk_OptionType type; /* Accepted option type. TK_OPTION_END mean Tk_OptionType type; /* Accepted option type. TK_OPTION_E
s ND means
* any. */ * any. */
} Tk_ElementOptionSpec; } Tk_ElementOptionSpec;
typedef struct Tk_ElementSpec { typedef struct Tk_ElementSpec {
int version; /* Version of the style support. */ int version; /* Version of the style support. */
char *name; /* Name of element. */ char *name; /* Name of element. */
Tk_ElementOptionSpec *options; Tk_ElementOptionSpec *options;
/* List of required options. Last one's nam /* List of required options. Last one's name
e * must be NULL. */
* must be NULL. */
Tk_GetElementSizeProc *getSize; Tk_GetElementSizeProc *getSize;
/* Compute the external (resp. internal) si /* Compute the external (resp. internal) siz
ze e
* of the element from its desired internal * of the element from its desired internal
* (resp. external) size. */ * (resp. external) size. */
Tk_GetElementBoxProc *getBox; Tk_GetElementBoxProc *getBox;
/* Compute the inscribed or bounding boxes /* Compute the inscribed or bounding boxes
* within a given area. */ * within a given area. */
Tk_GetElementBorderWidthProc *getBorderWidth; Tk_GetElementBorderWidthProc *getBorderWidth;
/* Return the element's internal border wid /* Return the element's internal border widt
th. h.
* Mostly useful for widgets. */ * Mostly useful for widgets. */
Tk_DrawElementProc *draw; /* Draw the element in the given bounding Tk_DrawElementProc *draw; /* Draw the element in the given bounding
* box. */ * box. */
} Tk_ElementSpec; } Tk_ElementSpec;
/* /*
* Element state flags. Can be OR'ed. * Element state flags. Can be OR'ed.
*/ */
#define TK_ELEMENT_STATE_ACTIVE 1<<0 #define TK_ELEMENT_STATE_ACTIVE 1<<0
#define TK_ELEMENT_STATE_DISABLED 1<<1 #define TK_ELEMENT_STATE_DISABLED 1<<1
#define TK_ELEMENT_STATE_FOCUS 1<<2 #define TK_ELEMENT_STATE_FOCUS 1<<2
#define TK_ELEMENT_STATE_PRESSED 1<<3 #define TK_ELEMENT_STATE_PRESSED 1<<3
/* /*
*-------------------------------------------------------------- *----------------------------------------------------------------------
* *
* The definitions below provide backward compatibility for functions and * The definitions below provide backward compatibility for functions and
* types related to event handling that used to be in Tk but have moved to * types related to event handling that used to be in Tk but have moved to
* Tcl. * Tcl.
* *
*-------------------------------------------------------------- *----------------------------------------------------------------------
*/ */
#define TK_READABLE TCL_READABLE #define TK_READABLE TCL_READABLE
#define TK_WRITABLE TCL_WRITABLE #define TK_WRITABLE TCL_WRITABLE
#define TK_EXCEPTION TCL_EXCEPTION #define TK_EXCEPTION TCL_EXCEPTION
#define TK_DONT_WAIT TCL_DONT_WAIT #define TK_DONT_WAIT TCL_DONT_WAIT
#define TK_X_EVENTS TCL_WINDOW_EVENTS #define TK_X_EVENTS TCL_WINDOW_EVENTS
#define TK_WINDOW_EVENTS TCL_WINDOW_EVENTS #define TK_WINDOW_EVENTS TCL_WINDOW_EVENTS
#define TK_FILE_EVENTS TCL_FILE_EVENTS #define TK_FILE_EVENTS TCL_FILE_EVENTS
skipping to change at line 1477 skipping to change at line 1458
#define Tk_Sleep Tcl_Sleep #define Tk_Sleep Tcl_Sleep
/* Additional stuff that has moved to Tcl: */ /* Additional stuff that has moved to Tcl: */
#define Tk_EventuallyFree Tcl_EventuallyFree #define Tk_EventuallyFree Tcl_EventuallyFree
#define Tk_FreeProc Tcl_FreeProc #define Tk_FreeProc Tcl_FreeProc
#define Tk_Preserve Tcl_Preserve #define Tk_Preserve Tcl_Preserve
#define Tk_Release Tcl_Release #define Tk_Release Tcl_Release
/* Removed Tk_Main, use macro instead */ /* Removed Tk_Main, use macro instead */
#define Tk_Main(argc, argv, proc) \ #if defined(__WIN32__) || defined(__CYGWIN__)
Tk_MainEx(argc, argv, proc, Tcl_CreateInterp()) #define Tk_Main(argc, argv, proc) Tk_MainEx(argc, argv, proc, \
(Tcl_FindExecutable(0), (Tcl_CreateInterp)()))
const char * Tk_InitStubs _ANSI_ARGS_((Tcl_Interp *interp, #else
const char *version, int exact)); #define Tk_Main(argc, argv, proc) Tk_MainEx(argc, argv, proc, \
EXTERN const char * Tk_PkgInitStubsCheck _ANSI_ARGS_((Tcl_Interp *interp (Tcl_FindExecutable(argv[0]), (Tcl_CreateInterp)()))
, #endif
const char *version, int exact)); const char * Tk_InitStubs(Tcl_Interp *interp, const char *version
,
int exact);
EXTERN const char * Tk_PkgInitStubsCheck(Tcl_Interp *interp,
const char *version, int exact);
#ifndef USE_TK_STUBS #ifndef USE_TK_STUBS
#define Tk_InitStubs(interp, version, exact) \ #define Tk_InitStubs(interp, version, exact) \
Tk_PkgInitStubsCheck(interp, version, exact) Tk_PkgInitStubsCheck(interp, version, exact)
#endif /* USE_TK_STUBS */
#endif
#define Tk_InitImageArgs(interp, argc, argv) /**/ #define Tk_InitImageArgs(interp, argc, argv) /**/
/* /*
*-------------------------------------------------------------- *----------------------------------------------------------------------
* *
* Additional procedure types defined by Tk. * Additional procedure types defined by Tk.
* *
*-------------------------------------------------------------- *----------------------------------------------------------------------
*/ */
typedef int (Tk_ErrorProc) _ANSI_ARGS_((ClientData clientData, typedef int (Tk_ErrorProc) (ClientData clientData, XErrorEvent *errEventPtr
XErrorEvent *errEventPtr)); );
typedef void (Tk_EventProc) _ANSI_ARGS_((ClientData clientData, typedef void (Tk_EventProc) (ClientData clientData, XEvent *eventPtr);
XEvent *eventPtr)); typedef int (Tk_GenericProc) (ClientData clientData, XEvent *eventPtr);
typedef int (Tk_GenericProc) _ANSI_ARGS_((ClientData clientData, typedef int (Tk_ClientMessageProc) (Tk_Window tkwin, XEvent *eventPtr);
XEvent *eventPtr)); typedef int (Tk_GetSelProc) (ClientData clientData, Tcl_Interp *interp,
typedef int (Tk_ClientMessageProc) _ANSI_ARGS_((Tk_Window tkwin, CONST86 char *portion);
XEvent *eventPtr)); typedef void (Tk_LostSelProc) (ClientData clientData);
typedef int (Tk_GetSelProc) _ANSI_ARGS_((ClientData clientData, typedef Tk_RestrictAction (Tk_RestrictProc) (ClientData clientData,
Tcl_Interp *interp, char *portion)); XEvent *eventPtr);
typedef void (Tk_LostSelProc) _ANSI_ARGS_((ClientData clientData)); typedef int (Tk_SelectionProc) (ClientData clientData, int offset,
typedef Tk_RestrictAction (Tk_RestrictProc) _ANSI_ARGS_(( char *buffer, int maxBytes);
ClientData clientData, XEvent *eventPtr));
typedef int (Tk_SelectionProc) _ANSI_ARGS_((ClientData clientData,
int offset, char *buffer, int maxBytes));
/* /*
*-------------------------------------------------------------- *----------------------------------------------------------------------
* *
* Platform independant exported procedures and variables. * Platform independent exported procedures and variables.
* *
*-------------------------------------------------------------- *----------------------------------------------------------------------
*/ */
#include "tkDecls.h" #include "tkDecls.h"
#ifdef USE_OLD_IMAGE
#undef Tk_CreateImageType
#define Tk_CreateImageType Tk_CreateOldImageType
#undef Tk_CreatePhotoImageFormat
#define Tk_CreatePhotoImageFormat Tk_CreateOldPhotoImageFormat
#endif /* USE_OLD_IMAGE */
/* /*
*----------------------------------------------------------------------
*
* Allow users to say that they don't want to alter their source to add ext ra * Allow users to say that they don't want to alter their source to add ext ra
* arguments to Tk_PhotoPutBlock() et al; DO NOT DEFINE THIS WHEN BUILDING TK. * arguments to Tk_PhotoPutBlock() et al; DO NOT DEFINE THIS WHEN BUILDING TK.
* *
* This goes after the inclusion of the stubbed-decls so that the declarati ons * This goes after the inclusion of the stubbed-decls so that the declarati ons
* of what is actually there can be correct. * of what is actually there can be correct.
*/ */
#ifdef USE_COMPOSITELESS_PHOTO_PUT_BLOCK #ifdef USE_COMPOSITELESS_PHOTO_PUT_BLOCK
# ifdef Tk_PhotoPutBlock # ifdef Tk_PhotoPutBlock
# undef Tk_PhotoPutBlock # undef Tk_PhotoPutBlock
skipping to change at line 1566 skipping to change at line 1554
#ifdef USE_PANIC_ON_PHOTO_ALLOC_FAILURE #ifdef USE_PANIC_ON_PHOTO_ALLOC_FAILURE
# ifdef Tk_PhotoExpand # ifdef Tk_PhotoExpand
# undef Tk_PhotoExpand # undef Tk_PhotoExpand
# endif # endif
# define Tk_PhotoExpand Tk_PhotoExpand_Panic # define Tk_PhotoExpand Tk_PhotoExpand_Panic
# ifdef Tk_PhotoSetSize # ifdef Tk_PhotoSetSize
# undef Tk_PhotoSetSize # undef Tk_PhotoSetSize
# endif # endif
# define Tk_PhotoSetSize Tk_PhotoSetSize_Panic # define Tk_PhotoSetSize Tk_PhotoSetSize_Panic
#endif /* USE_PANIC_ON_PHOTO_ALLOC_FAILURE */ #endif /* USE_PANIC_ON_PHOTO_ALLOC_FAILURE */
/*
* Tcl commands exported by Tk:
*/
#undef TCL_STORAGE_CLASS #undef TCL_STORAGE_CLASS
#define TCL_STORAGE_CLASS DLLIMPORT #define TCL_STORAGE_CLASS DLLIMPORT
#endif /* RC_INVOKED */ #endif /* RC_INVOKED */
/* /*
* end block for C++ * end block for C++
*/ */
#ifdef __cplusplus #ifdef __cplusplus
 End of changes. 86 change blocks. 
271 lines changed or deleted 262 lines changed or added


 tkDecls.h   tkDecls.h 
skipping to change at line 32 skipping to change at line 32
* script. Any modifications to the function declarations below should be made * script. Any modifications to the function declarations below should be made
* in the generic/tk.decls script. * in the generic/tk.decls script.
*/ */
/* !BEGIN!: Do not edit below this line. */ /* !BEGIN!: Do not edit below this line. */
/* /*
* Exported function declarations: * Exported function declarations:
*/ */
#ifndef Tk_MainLoop_TCL_DECLARED
#define Tk_MainLoop_TCL_DECLARED
/* 0 */ /* 0 */
EXTERN void Tk_MainLoop(void); EXTERN void Tk_MainLoop(void);
#endif
#ifndef Tk_3DBorderColor_TCL_DECLARED
#define Tk_3DBorderColor_TCL_DECLARED
/* 1 */ /* 1 */
EXTERN XColor * Tk_3DBorderColor(Tk_3DBorder border); EXTERN XColor * Tk_3DBorderColor(Tk_3DBorder border);
#endif
#ifndef Tk_3DBorderGC_TCL_DECLARED
#define Tk_3DBorderGC_TCL_DECLARED
/* 2 */ /* 2 */
EXTERN GC Tk_3DBorderGC(Tk_Window tkwin, Tk_3DBorder border, EXTERN GC Tk_3DBorderGC(Tk_Window tkwin, Tk_3DBorder border,
int which); int which);
#endif
#ifndef Tk_3DHorizontalBevel_TCL_DECLARED
#define Tk_3DHorizontalBevel_TCL_DECLARED
/* 3 */ /* 3 */
EXTERN void Tk_3DHorizontalBevel(Tk_Window tkwin, EXTERN void Tk_3DHorizontalBevel(Tk_Window tkwin,
Drawable drawable, Tk_3DBorder border, int x , Drawable drawable, Tk_3DBorder border, int x ,
int y, int width, int height, int leftIn, int y, int width, int height, int leftIn,
int rightIn, int topBevel, int relief); int rightIn, int topBevel, int relief);
#endif
#ifndef Tk_3DVerticalBevel_TCL_DECLARED
#define Tk_3DVerticalBevel_TCL_DECLARED
/* 4 */ /* 4 */
EXTERN void Tk_3DVerticalBevel(Tk_Window tkwin, EXTERN void Tk_3DVerticalBevel(Tk_Window tkwin,
Drawable drawable, Tk_3DBorder border, int x , Drawable drawable, Tk_3DBorder border, int x ,
int y, int width, int height, int leftBevel, int y, int width, int height, int leftBevel,
int relief); int relief);
#endif
#ifndef Tk_AddOption_TCL_DECLARED
#define Tk_AddOption_TCL_DECLARED
/* 5 */ /* 5 */
EXTERN void Tk_AddOption(Tk_Window tkwin, CONST char *name, EXTERN void Tk_AddOption(Tk_Window tkwin, const char *name,
CONST char *value, int priority); const char *value, int priority);
#endif
#ifndef Tk_BindEvent_TCL_DECLARED
#define Tk_BindEvent_TCL_DECLARED
/* 6 */ /* 6 */
EXTERN void Tk_BindEvent(Tk_BindingTable bindingTable, EXTERN void Tk_BindEvent(Tk_BindingTable bindingTable,
XEvent *eventPtr, Tk_Window tkwin, XEvent *eventPtr, Tk_Window tkwin,
int numObjects, ClientData *objectPtr); int numObjects, ClientData *objectPtr);
#endif
#ifndef Tk_CanvasDrawableCoords_TCL_DECLARED
#define Tk_CanvasDrawableCoords_TCL_DECLARED
/* 7 */ /* 7 */
EXTERN void Tk_CanvasDrawableCoords(Tk_Canvas canvas, double x, EXTERN void Tk_CanvasDrawableCoords(Tk_Canvas canvas, double x,
double y, short *drawableXPtr, double y, short *drawableXPtr,
short *drawableYPtr); short *drawableYPtr);
#endif
#ifndef Tk_CanvasEventuallyRedraw_TCL_DECLARED
#define Tk_CanvasEventuallyRedraw_TCL_DECLARED
/* 8 */ /* 8 */
EXTERN void Tk_CanvasEventuallyRedraw(Tk_Canvas canvas, int x1, EXTERN void Tk_CanvasEventuallyRedraw(Tk_Canvas canvas, int x1,
int y1, int x2, int y2); int y1, int x2, int y2);
#endif
#ifndef Tk_CanvasGetCoord_TCL_DECLARED
#define Tk_CanvasGetCoord_TCL_DECLARED
/* 9 */ /* 9 */
EXTERN int Tk_CanvasGetCoord(Tcl_Interp *interp, EXTERN int Tk_CanvasGetCoord(Tcl_Interp *interp,
Tk_Canvas canvas, CONST char *str, Tk_Canvas canvas, const char *str,
double *doublePtr); double *doublePtr);
#endif
#ifndef Tk_CanvasGetTextInfo_TCL_DECLARED
#define Tk_CanvasGetTextInfo_TCL_DECLARED
/* 10 */ /* 10 */
EXTERN Tk_CanvasTextInfo * Tk_CanvasGetTextInfo(Tk_Canvas canvas); EXTERN Tk_CanvasTextInfo * Tk_CanvasGetTextInfo(Tk_Canvas canvas);
#endif
#ifndef Tk_CanvasPsBitmap_TCL_DECLARED
#define Tk_CanvasPsBitmap_TCL_DECLARED
/* 11 */ /* 11 */
EXTERN int Tk_CanvasPsBitmap(Tcl_Interp *interp, EXTERN int Tk_CanvasPsBitmap(Tcl_Interp *interp,
Tk_Canvas canvas, Pixmap bitmap, int x, Tk_Canvas canvas, Pixmap bitmap, int x,
int y, int width, int height); int y, int width, int height);
#endif
#ifndef Tk_CanvasPsColor_TCL_DECLARED
#define Tk_CanvasPsColor_TCL_DECLARED
/* 12 */ /* 12 */
EXTERN int Tk_CanvasPsColor(Tcl_Interp *interp, EXTERN int Tk_CanvasPsColor(Tcl_Interp *interp,
Tk_Canvas canvas, XColor *colorPtr); Tk_Canvas canvas, XColor *colorPtr);
#endif
#ifndef Tk_CanvasPsFont_TCL_DECLARED
#define Tk_CanvasPsFont_TCL_DECLARED
/* 13 */ /* 13 */
EXTERN int Tk_CanvasPsFont(Tcl_Interp *interp, Tk_Canvas canvas , EXTERN int Tk_CanvasPsFont(Tcl_Interp *interp, Tk_Canvas canvas ,
Tk_Font font); Tk_Font font);
#endif
#ifndef Tk_CanvasPsPath_TCL_DECLARED
#define Tk_CanvasPsPath_TCL_DECLARED
/* 14 */ /* 14 */
EXTERN void Tk_CanvasPsPath(Tcl_Interp *interp, Tk_Canvas canvas , EXTERN void Tk_CanvasPsPath(Tcl_Interp *interp, Tk_Canvas canvas ,
double *coordPtr, int numPoints); double *coordPtr, int numPoints);
#endif
#ifndef Tk_CanvasPsStipple_TCL_DECLARED
#define Tk_CanvasPsStipple_TCL_DECLARED
/* 15 */ /* 15 */
EXTERN int Tk_CanvasPsStipple(Tcl_Interp *interp, EXTERN int Tk_CanvasPsStipple(Tcl_Interp *interp,
Tk_Canvas canvas, Pixmap bitmap); Tk_Canvas canvas, Pixmap bitmap);
#endif
#ifndef Tk_CanvasPsY_TCL_DECLARED
#define Tk_CanvasPsY_TCL_DECLARED
/* 16 */ /* 16 */
EXTERN double Tk_CanvasPsY(Tk_Canvas canvas, double y); EXTERN double Tk_CanvasPsY(Tk_Canvas canvas, double y);
#endif
#ifndef Tk_CanvasSetStippleOrigin_TCL_DECLARED
#define Tk_CanvasSetStippleOrigin_TCL_DECLARED
/* 17 */ /* 17 */
EXTERN void Tk_CanvasSetStippleOrigin(Tk_Canvas canvas, GC gc); EXTERN void Tk_CanvasSetStippleOrigin(Tk_Canvas canvas, GC gc);
#endif
#ifndef Tk_CanvasTagsParseProc_TCL_DECLARED
#define Tk_CanvasTagsParseProc_TCL_DECLARED
/* 18 */ /* 18 */
EXTERN int Tk_CanvasTagsParseProc(ClientData clientData, EXTERN int Tk_CanvasTagsParseProc(ClientData clientData,
Tcl_Interp *interp, Tk_Window tkwin, Tcl_Interp *interp, Tk_Window tkwin,
CONST char *value, char *widgRec, int offset const char *value, char *widgRec, int offset
); );
#endif
#ifndef Tk_CanvasTagsPrintProc_TCL_DECLARED
#define Tk_CanvasTagsPrintProc_TCL_DECLARED
/* 19 */ /* 19 */
EXTERN char * Tk_CanvasTagsPrintProc(ClientData clientData, EXTERN CONST86 char * Tk_CanvasTagsPrintProc(ClientData clientData,
Tk_Window tkwin, char *widgRec, int offset, Tk_Window tkwin, char *widgRec, int offset,
Tcl_FreeProc **freeProcPtr); Tcl_FreeProc **freeProcPtr);
#endif
#ifndef Tk_CanvasTkwin_TCL_DECLARED
#define Tk_CanvasTkwin_TCL_DECLARED
/* 20 */ /* 20 */
EXTERN Tk_Window Tk_CanvasTkwin(Tk_Canvas canvas); EXTERN Tk_Window Tk_CanvasTkwin(Tk_Canvas canvas);
#endif
#ifndef Tk_CanvasWindowCoords_TCL_DECLARED
#define Tk_CanvasWindowCoords_TCL_DECLARED
/* 21 */ /* 21 */
EXTERN void Tk_CanvasWindowCoords(Tk_Canvas canvas, double x, EXTERN void Tk_CanvasWindowCoords(Tk_Canvas canvas, double x,
double y, short *screenXPtr, double y, short *screenXPtr,
short *screenYPtr); short *screenYPtr);
#endif
#ifndef Tk_ChangeWindowAttributes_TCL_DECLARED
#define Tk_ChangeWindowAttributes_TCL_DECLARED
/* 22 */ /* 22 */
EXTERN void Tk_ChangeWindowAttributes(Tk_Window tkwin, EXTERN void Tk_ChangeWindowAttributes(Tk_Window tkwin,
unsigned long valueMask, unsigned long valueMask,
XSetWindowAttributes *attsPtr); XSetWindowAttributes *attsPtr);
#endif
#ifndef Tk_CharBbox_TCL_DECLARED
#define Tk_CharBbox_TCL_DECLARED
/* 23 */ /* 23 */
EXTERN int Tk_CharBbox(Tk_TextLayout layout, int index, EXTERN int Tk_CharBbox(Tk_TextLayout layout, int index,
int *xPtr, int *yPtr, int *widthPtr, int *xPtr, int *yPtr, int *widthPtr,
int *heightPtr); int *heightPtr);
#endif
#ifndef Tk_ClearSelection_TCL_DECLARED
#define Tk_ClearSelection_TCL_DECLARED
/* 24 */ /* 24 */
EXTERN void Tk_ClearSelection(Tk_Window tkwin, Atom selection); EXTERN void Tk_ClearSelection(Tk_Window tkwin, Atom selection);
#endif
#ifndef Tk_ClipboardAppend_TCL_DECLARED
#define Tk_ClipboardAppend_TCL_DECLARED
/* 25 */ /* 25 */
EXTERN int Tk_ClipboardAppend(Tcl_Interp *interp, EXTERN int Tk_ClipboardAppend(Tcl_Interp *interp,
Tk_Window tkwin, Atom target, Atom format, Tk_Window tkwin, Atom target, Atom format,
char *buffer); const char *buffer);
#endif
#ifndef Tk_ClipboardClear_TCL_DECLARED
#define Tk_ClipboardClear_TCL_DECLARED
/* 26 */ /* 26 */
EXTERN int Tk_ClipboardClear(Tcl_Interp *interp, EXTERN int Tk_ClipboardClear(Tcl_Interp *interp,
Tk_Window tkwin); Tk_Window tkwin);
#endif
#ifndef Tk_ConfigureInfo_TCL_DECLARED
#define Tk_ConfigureInfo_TCL_DECLARED
/* 27 */ /* 27 */
EXTERN int Tk_ConfigureInfo(Tcl_Interp *interp, Tk_Window tkwin , EXTERN int Tk_ConfigureInfo(Tcl_Interp *interp, Tk_Window tkwin ,
Tk_ConfigSpec *specs, char *widgRec, const Tk_ConfigSpec *specs, char *widgRec,
CONST char *argvName, int flags); const char *argvName, int flags);
#endif
#ifndef Tk_ConfigureValue_TCL_DECLARED
#define Tk_ConfigureValue_TCL_DECLARED
/* 28 */ /* 28 */
EXTERN int Tk_ConfigureValue(Tcl_Interp *interp, EXTERN int Tk_ConfigureValue(Tcl_Interp *interp,
Tk_Window tkwin, Tk_ConfigSpec *specs, Tk_Window tkwin, const Tk_ConfigSpec *specs,
char *widgRec, CONST char *argvName, char *widgRec, const char *argvName,
int flags); int flags);
#endif
#ifndef Tk_ConfigureWidget_TCL_DECLARED
#define Tk_ConfigureWidget_TCL_DECLARED
/* 29 */ /* 29 */
EXTERN int Tk_ConfigureWidget(Tcl_Interp *interp, EXTERN int Tk_ConfigureWidget(Tcl_Interp *interp,
Tk_Window tkwin, Tk_ConfigSpec *specs, Tk_Window tkwin, const Tk_ConfigSpec *specs,
int argc, CONST84 char **argv, char *widgRec , int argc, CONST84 char **argv, char *widgRec ,
int flags); int flags);
#endif
#ifndef Tk_ConfigureWindow_TCL_DECLARED
#define Tk_ConfigureWindow_TCL_DECLARED
/* 30 */ /* 30 */
EXTERN void Tk_ConfigureWindow(Tk_Window tkwin, EXTERN void Tk_ConfigureWindow(Tk_Window tkwin,
unsigned int valueMask, unsigned int valueMask,
XWindowChanges *valuePtr); XWindowChanges *valuePtr);
#endif
#ifndef Tk_ComputeTextLayout_TCL_DECLARED
#define Tk_ComputeTextLayout_TCL_DECLARED
/* 31 */ /* 31 */
EXTERN Tk_TextLayout Tk_ComputeTextLayout(Tk_Font font, CONST char *str, EXTERN Tk_TextLayout Tk_ComputeTextLayout(Tk_Font font, const char *str,
int numChars, int wrapLength, int numChars, int wrapLength,
Tk_Justify justify, int flags, int *widthPtr , Tk_Justify justify, int flags, int *widthPtr ,
int *heightPtr); int *heightPtr);
#endif
#ifndef Tk_CoordsToWindow_TCL_DECLARED
#define Tk_CoordsToWindow_TCL_DECLARED
/* 32 */ /* 32 */
EXTERN Tk_Window Tk_CoordsToWindow(int rootX, int rootY, EXTERN Tk_Window Tk_CoordsToWindow(int rootX, int rootY,
Tk_Window tkwin); Tk_Window tkwin);
#endif
#ifndef Tk_CreateBinding_TCL_DECLARED
#define Tk_CreateBinding_TCL_DECLARED
/* 33 */ /* 33 */
EXTERN unsigned long Tk_CreateBinding(Tcl_Interp *interp, EXTERN unsigned long Tk_CreateBinding(Tcl_Interp *interp,
Tk_BindingTable bindingTable, Tk_BindingTable bindingTable,
ClientData object, CONST char *eventStr, ClientData object, const char *eventStr,
CONST char *command, int append); const char *script, int append);
#endif
#ifndef Tk_CreateBindingTable_TCL_DECLARED
#define Tk_CreateBindingTable_TCL_DECLARED
/* 34 */ /* 34 */
EXTERN Tk_BindingTable Tk_CreateBindingTable(Tcl_Interp *interp); EXTERN Tk_BindingTable Tk_CreateBindingTable(Tcl_Interp *interp);
#endif
#ifndef Tk_CreateErrorHandler_TCL_DECLARED
#define Tk_CreateErrorHandler_TCL_DECLARED
/* 35 */ /* 35 */
EXTERN Tk_ErrorHandler Tk_CreateErrorHandler(Display *display, int errNum, EXTERN Tk_ErrorHandler Tk_CreateErrorHandler(Display *display, int errNum,
int request, int minorCode, int request, int minorCode,
Tk_ErrorProc *errorProc, Tk_ErrorProc *errorProc,
ClientData clientData); ClientData clientData);
#endif
#ifndef Tk_CreateEventHandler_TCL_DECLARED
#define Tk_CreateEventHandler_TCL_DECLARED
/* 36 */ /* 36 */
EXTERN void Tk_CreateEventHandler(Tk_Window token, EXTERN void Tk_CreateEventHandler(Tk_Window token,
unsigned long mask, Tk_EventProc *proc, unsigned long mask, Tk_EventProc *proc,
ClientData clientData); ClientData clientData);
#endif
#ifndef Tk_CreateGenericHandler_TCL_DECLARED
#define Tk_CreateGenericHandler_TCL_DECLARED
/* 37 */ /* 37 */
EXTERN void Tk_CreateGenericHandler(Tk_GenericProc *proc, EXTERN void Tk_CreateGenericHandler(Tk_GenericProc *proc,
ClientData clientData); ClientData clientData);
#endif
#ifndef Tk_CreateImageType_TCL_DECLARED
#define Tk_CreateImageType_TCL_DECLARED
/* 38 */ /* 38 */
EXTERN void Tk_CreateImageType(Tk_ImageType *typePtr); EXTERN void Tk_CreateImageType(const Tk_ImageType *typePtr);
#endif
#ifndef Tk_CreateItemType_TCL_DECLARED
#define Tk_CreateItemType_TCL_DECLARED
/* 39 */ /* 39 */
EXTERN void Tk_CreateItemType(Tk_ItemType *typePtr); EXTERN void Tk_CreateItemType(Tk_ItemType *typePtr);
#endif
#ifndef Tk_CreatePhotoImageFormat_TCL_DECLARED
#define Tk_CreatePhotoImageFormat_TCL_DECLARED
/* 40 */ /* 40 */
EXTERN void Tk_CreatePhotoImageFormat( EXTERN void Tk_CreatePhotoImageFormat(
Tk_PhotoImageFormat *formatPtr); const Tk_PhotoImageFormat *formatPtr);
#endif
#ifndef Tk_CreateSelHandler_TCL_DECLARED
#define Tk_CreateSelHandler_TCL_DECLARED
/* 41 */ /* 41 */
EXTERN void Tk_CreateSelHandler(Tk_Window tkwin, Atom selection, EXTERN void Tk_CreateSelHandler(Tk_Window tkwin, Atom selection,
Atom target, Tk_SelectionProc *proc, Atom target, Tk_SelectionProc *proc,
ClientData clientData, Atom format); ClientData clientData, Atom format);
#endif
#ifndef Tk_CreateWindow_TCL_DECLARED
#define Tk_CreateWindow_TCL_DECLARED
/* 42 */ /* 42 */
EXTERN Tk_Window Tk_CreateWindow(Tcl_Interp *interp, Tk_Window parent , EXTERN Tk_Window Tk_CreateWindow(Tcl_Interp *interp, Tk_Window parent ,
CONST char *name, CONST char *screenName); const char *name, const char *screenName);
#endif
#ifndef Tk_CreateWindowFromPath_TCL_DECLARED
#define Tk_CreateWindowFromPath_TCL_DECLARED
/* 43 */ /* 43 */
EXTERN Tk_Window Tk_CreateWindowFromPath(Tcl_Interp *interp, EXTERN Tk_Window Tk_CreateWindowFromPath(Tcl_Interp *interp,
Tk_Window tkwin, CONST char *pathName, Tk_Window tkwin, const char *pathName,
CONST char *screenName); const char *screenName);
#endif
#ifndef Tk_DefineBitmap_TCL_DECLARED
#define Tk_DefineBitmap_TCL_DECLARED
/* 44 */ /* 44 */
EXTERN int Tk_DefineBitmap(Tcl_Interp *interp, CONST char *name EXTERN int Tk_DefineBitmap(Tcl_Interp *interp, const char *name
, ,
CONST char *source, int width, int height); const void *source, int width, int height);
#endif
#ifndef Tk_DefineCursor_TCL_DECLARED
#define Tk_DefineCursor_TCL_DECLARED
/* 45 */ /* 45 */
EXTERN void Tk_DefineCursor(Tk_Window window, Tk_Cursor cursor); EXTERN void Tk_DefineCursor(Tk_Window window, Tk_Cursor cursor);
#endif
#ifndef Tk_DeleteAllBindings_TCL_DECLARED
#define Tk_DeleteAllBindings_TCL_DECLARED
/* 46 */ /* 46 */
EXTERN void Tk_DeleteAllBindings(Tk_BindingTable bindingTable, EXTERN void Tk_DeleteAllBindings(Tk_BindingTable bindingTable,
ClientData object); ClientData object);
#endif
#ifndef Tk_DeleteBinding_TCL_DECLARED
#define Tk_DeleteBinding_TCL_DECLARED
/* 47 */ /* 47 */
EXTERN int Tk_DeleteBinding(Tcl_Interp *interp, EXTERN int Tk_DeleteBinding(Tcl_Interp *interp,
Tk_BindingTable bindingTable, Tk_BindingTable bindingTable,
ClientData object, CONST char *eventStr); ClientData object, const char *eventStr);
#endif
#ifndef Tk_DeleteBindingTable_TCL_DECLARED
#define Tk_DeleteBindingTable_TCL_DECLARED
/* 48 */ /* 48 */
EXTERN void Tk_DeleteBindingTable(Tk_BindingTable bindingTable); EXTERN void Tk_DeleteBindingTable(Tk_BindingTable bindingTable);
#endif
#ifndef Tk_DeleteErrorHandler_TCL_DECLARED
#define Tk_DeleteErrorHandler_TCL_DECLARED
/* 49 */ /* 49 */
EXTERN void Tk_DeleteErrorHandler(Tk_ErrorHandler handler); EXTERN void Tk_DeleteErrorHandler(Tk_ErrorHandler handler);
#endif
#ifndef Tk_DeleteEventHandler_TCL_DECLARED
#define Tk_DeleteEventHandler_TCL_DECLARED
/* 50 */ /* 50 */
EXTERN void Tk_DeleteEventHandler(Tk_Window token, EXTERN void Tk_DeleteEventHandler(Tk_Window token,
unsigned long mask, Tk_EventProc *proc, unsigned long mask, Tk_EventProc *proc,
ClientData clientData); ClientData clientData);
#endif
#ifndef Tk_DeleteGenericHandler_TCL_DECLARED
#define Tk_DeleteGenericHandler_TCL_DECLARED
/* 51 */ /* 51 */
EXTERN void Tk_DeleteGenericHandler(Tk_GenericProc *proc, EXTERN void Tk_DeleteGenericHandler(Tk_GenericProc *proc,
ClientData clientData); ClientData clientData);
#endif
#ifndef Tk_DeleteImage_TCL_DECLARED
#define Tk_DeleteImage_TCL_DECLARED
/* 52 */ /* 52 */
EXTERN void Tk_DeleteImage(Tcl_Interp *interp, CONST char *name) EXTERN void Tk_DeleteImage(Tcl_Interp *interp, const char *name)
; ;
#endif
#ifndef Tk_DeleteSelHandler_TCL_DECLARED
#define Tk_DeleteSelHandler_TCL_DECLARED
/* 53 */ /* 53 */
EXTERN void Tk_DeleteSelHandler(Tk_Window tkwin, Atom selection, EXTERN void Tk_DeleteSelHandler(Tk_Window tkwin, Atom selection,
Atom target); Atom target);
#endif
#ifndef Tk_DestroyWindow_TCL_DECLARED
#define Tk_DestroyWindow_TCL_DECLARED
/* 54 */ /* 54 */
EXTERN void Tk_DestroyWindow(Tk_Window tkwin); EXTERN void Tk_DestroyWindow(Tk_Window tkwin);
#endif
#ifndef Tk_DisplayName_TCL_DECLARED
#define Tk_DisplayName_TCL_DECLARED
/* 55 */ /* 55 */
EXTERN CONST84_RETURN char * Tk_DisplayName(Tk_Window tkwin); EXTERN CONST84_RETURN char * Tk_DisplayName(Tk_Window tkwin);
#endif
#ifndef Tk_DistanceToTextLayout_TCL_DECLARED
#define Tk_DistanceToTextLayout_TCL_DECLARED
/* 56 */ /* 56 */
EXTERN int Tk_DistanceToTextLayout(Tk_TextLayout layout, int x, EXTERN int Tk_DistanceToTextLayout(Tk_TextLayout layout, int x,
int y); int y);
#endif
#ifndef Tk_Draw3DPolygon_TCL_DECLARED
#define Tk_Draw3DPolygon_TCL_DECLARED
/* 57 */ /* 57 */
EXTERN void Tk_Draw3DPolygon(Tk_Window tkwin, Drawable drawable, EXTERN void Tk_Draw3DPolygon(Tk_Window tkwin, Drawable drawable,
Tk_3DBorder border, XPoint *pointPtr, Tk_3DBorder border, XPoint *pointPtr,
int numPoints, int borderWidth, int numPoints, int borderWidth,
int leftRelief); int leftRelief);
#endif
#ifndef Tk_Draw3DRectangle_TCL_DECLARED
#define Tk_Draw3DRectangle_TCL_DECLARED
/* 58 */ /* 58 */
EXTERN void Tk_Draw3DRectangle(Tk_Window tkwin, EXTERN void Tk_Draw3DRectangle(Tk_Window tkwin,
Drawable drawable, Tk_3DBorder border, int x , Drawable drawable, Tk_3DBorder border, int x ,
int y, int width, int height, int y, int width, int height,
int borderWidth, int relief); int borderWidth, int relief);
#endif
#ifndef Tk_DrawChars_TCL_DECLARED
#define Tk_DrawChars_TCL_DECLARED
/* 59 */ /* 59 */
EXTERN void Tk_DrawChars(Display *display, Drawable drawable, EXTERN void Tk_DrawChars(Display *display, Drawable drawable,
GC gc, Tk_Font tkfont, CONST char *source, GC gc, Tk_Font tkfont, const char *source,
int numBytes, int x, int y); int numBytes, int x, int y);
#endif
#ifndef Tk_DrawFocusHighlight_TCL_DECLARED
#define Tk_DrawFocusHighlight_TCL_DECLARED
/* 60 */ /* 60 */
EXTERN void Tk_DrawFocusHighlight(Tk_Window tkwin, GC gc, EXTERN void Tk_DrawFocusHighlight(Tk_Window tkwin, GC gc,
int width, Drawable drawable); int width, Drawable drawable);
#endif
#ifndef Tk_DrawTextLayout_TCL_DECLARED
#define Tk_DrawTextLayout_TCL_DECLARED
/* 61 */ /* 61 */
EXTERN void Tk_DrawTextLayout(Display *display, EXTERN void Tk_DrawTextLayout(Display *display,
Drawable drawable, GC gc, Drawable drawable, GC gc,
Tk_TextLayout layout, int x, int y, Tk_TextLayout layout, int x, int y,
int firstChar, int lastChar); int firstChar, int lastChar);
#endif
#ifndef Tk_Fill3DPolygon_TCL_DECLARED
#define Tk_Fill3DPolygon_TCL_DECLARED
/* 62 */ /* 62 */
EXTERN void Tk_Fill3DPolygon(Tk_Window tkwin, Drawable drawable, EXTERN void Tk_Fill3DPolygon(Tk_Window tkwin, Drawable drawable,
Tk_3DBorder border, XPoint *pointPtr, Tk_3DBorder border, XPoint *pointPtr,
int numPoints, int borderWidth, int numPoints, int borderWidth,
int leftRelief); int leftRelief);
#endif
#ifndef Tk_Fill3DRectangle_TCL_DECLARED
#define Tk_Fill3DRectangle_TCL_DECLARED
/* 63 */ /* 63 */
EXTERN void Tk_Fill3DRectangle(Tk_Window tkwin, EXTERN void Tk_Fill3DRectangle(Tk_Window tkwin,
Drawable drawable, Tk_3DBorder border, int x , Drawable drawable, Tk_3DBorder border, int x ,
int y, int width, int height, int y, int width, int height,
int borderWidth, int relief); int borderWidth, int relief);
#endif
#ifndef Tk_FindPhoto_TCL_DECLARED
#define Tk_FindPhoto_TCL_DECLARED
/* 64 */ /* 64 */
EXTERN Tk_PhotoHandle Tk_FindPhoto(Tcl_Interp *interp, EXTERN Tk_PhotoHandle Tk_FindPhoto(Tcl_Interp *interp,
CONST char *imageName); const char *imageName);
#endif
#ifndef Tk_FontId_TCL_DECLARED
#define Tk_FontId_TCL_DECLARED
/* 65 */ /* 65 */
EXTERN Font Tk_FontId(Tk_Font font); EXTERN Font Tk_FontId(Tk_Font font);
#endif
#ifndef Tk_Free3DBorder_TCL_DECLARED
#define Tk_Free3DBorder_TCL_DECLARED
/* 66 */ /* 66 */
EXTERN void Tk_Free3DBorder(Tk_3DBorder border); EXTERN void Tk_Free3DBorder(Tk_3DBorder border);
#endif
#ifndef Tk_FreeBitmap_TCL_DECLARED
#define Tk_FreeBitmap_TCL_DECLARED
/* 67 */ /* 67 */
EXTERN void Tk_FreeBitmap(Display *display, Pixmap bitmap); EXTERN void Tk_FreeBitmap(Display *display, Pixmap bitmap);
#endif
#ifndef Tk_FreeColor_TCL_DECLARED
#define Tk_FreeColor_TCL_DECLARED
/* 68 */ /* 68 */
EXTERN void Tk_FreeColor(XColor *colorPtr); EXTERN void Tk_FreeColor(XColor *colorPtr);
#endif
#ifndef Tk_FreeColormap_TCL_DECLARED
#define Tk_FreeColormap_TCL_DECLARED
/* 69 */ /* 69 */
EXTERN void Tk_FreeColormap(Display *display, Colormap colormap) ; EXTERN void Tk_FreeColormap(Display *display, Colormap colormap) ;
#endif
#ifndef Tk_FreeCursor_TCL_DECLARED
#define Tk_FreeCursor_TCL_DECLARED
/* 70 */ /* 70 */
EXTERN void Tk_FreeCursor(Display *display, Tk_Cursor cursor); EXTERN void Tk_FreeCursor(Display *display, Tk_Cursor cursor);
#endif
#ifndef Tk_FreeFont_TCL_DECLARED
#define Tk_FreeFont_TCL_DECLARED
/* 71 */ /* 71 */
EXTERN void Tk_FreeFont(Tk_Font f); EXTERN void Tk_FreeFont(Tk_Font f);
#endif
#ifndef Tk_FreeGC_TCL_DECLARED
#define Tk_FreeGC_TCL_DECLARED
/* 72 */ /* 72 */
EXTERN void Tk_FreeGC(Display *display, GC gc); EXTERN void Tk_FreeGC(Display *display, GC gc);
#endif
#ifndef Tk_FreeImage_TCL_DECLARED
#define Tk_FreeImage_TCL_DECLARED
/* 73 */ /* 73 */
EXTERN void Tk_FreeImage(Tk_Image image); EXTERN void Tk_FreeImage(Tk_Image image);
#endif
#ifndef Tk_FreeOptions_TCL_DECLARED
#define Tk_FreeOptions_TCL_DECLARED
/* 74 */ /* 74 */
EXTERN void Tk_FreeOptions(Tk_ConfigSpec *specs, char *widgRec, EXTERN void Tk_FreeOptions(const Tk_ConfigSpec *specs,
Display *display, int needFlags); char *widgRec, Display *display,
#endif int needFlags);
#ifndef Tk_FreePixmap_TCL_DECLARED
#define Tk_FreePixmap_TCL_DECLARED
/* 75 */ /* 75 */
EXTERN void Tk_FreePixmap(Display *display, Pixmap pixmap); EXTERN void Tk_FreePixmap(Display *display, Pixmap pixmap);
#endif
#ifndef Tk_FreeTextLayout_TCL_DECLARED
#define Tk_FreeTextLayout_TCL_DECLARED
/* 76 */ /* 76 */
EXTERN void Tk_FreeTextLayout(Tk_TextLayout textLayout); EXTERN void Tk_FreeTextLayout(Tk_TextLayout textLayout);
#endif
#ifndef Tk_FreeXId_TCL_DECLARED
#define Tk_FreeXId_TCL_DECLARED
/* 77 */ /* 77 */
EXTERN void Tk_FreeXId(Display *display, XID xid); EXTERN void Tk_FreeXId(Display *display, XID xid);
#endif
#ifndef Tk_GCForColor_TCL_DECLARED
#define Tk_GCForColor_TCL_DECLARED
/* 78 */ /* 78 */
EXTERN GC Tk_GCForColor(XColor *colorPtr, Drawable drawable); EXTERN GC Tk_GCForColor(XColor *colorPtr, Drawable drawable);
#endif
#ifndef Tk_GeometryRequest_TCL_DECLARED
#define Tk_GeometryRequest_TCL_DECLARED
/* 79 */ /* 79 */
EXTERN void Tk_GeometryRequest(Tk_Window tkwin, int reqWidth, EXTERN void Tk_GeometryRequest(Tk_Window tkwin, int reqWidth,
int reqHeight); int reqHeight);
#endif
#ifndef Tk_Get3DBorder_TCL_DECLARED
#define Tk_Get3DBorder_TCL_DECLARED
/* 80 */ /* 80 */
EXTERN Tk_3DBorder Tk_Get3DBorder(Tcl_Interp *interp, Tk_Window tkwin, EXTERN Tk_3DBorder Tk_Get3DBorder(Tcl_Interp *interp, Tk_Window tkwin,
Tk_Uid colorName); Tk_Uid colorName);
#endif
#ifndef Tk_GetAllBindings_TCL_DECLARED
#define Tk_GetAllBindings_TCL_DECLARED
/* 81 */ /* 81 */
EXTERN void Tk_GetAllBindings(Tcl_Interp *interp, EXTERN void Tk_GetAllBindings(Tcl_Interp *interp,
Tk_BindingTable bindingTable, Tk_BindingTable bindingTable,
ClientData object); ClientData object);
#endif
#ifndef Tk_GetAnchor_TCL_DECLARED
#define Tk_GetAnchor_TCL_DECLARED
/* 82 */ /* 82 */
EXTERN int Tk_GetAnchor(Tcl_Interp *interp, CONST char *str, EXTERN int Tk_GetAnchor(Tcl_Interp *interp, const char *str,
Tk_Anchor *anchorPtr); Tk_Anchor *anchorPtr);
#endif
#ifndef Tk_GetAtomName_TCL_DECLARED
#define Tk_GetAtomName_TCL_DECLARED
/* 83 */ /* 83 */
EXTERN CONST84_RETURN char * Tk_GetAtomName(Tk_Window tkwin, Atom atom); EXTERN CONST84_RETURN char * Tk_GetAtomName(Tk_Window tkwin, Atom atom);
#endif
#ifndef Tk_GetBinding_TCL_DECLARED
#define Tk_GetBinding_TCL_DECLARED
/* 84 */ /* 84 */
EXTERN CONST84_RETURN char * Tk_GetBinding(Tcl_Interp *interp, EXTERN CONST84_RETURN char * Tk_GetBinding(Tcl_Interp *interp,
Tk_BindingTable bindingTable, Tk_BindingTable bindingTable,
ClientData object, CONST char *eventStr); ClientData object, const char *eventStr);
#endif
#ifndef Tk_GetBitmap_TCL_DECLARED
#define Tk_GetBitmap_TCL_DECLARED
/* 85 */ /* 85 */
EXTERN Pixmap Tk_GetBitmap(Tcl_Interp *interp, Tk_Window tkwin, EXTERN Pixmap Tk_GetBitmap(Tcl_Interp *interp, Tk_Window tkwin,
CONST char *str); const char *str);
#endif
#ifndef Tk_GetBitmapFromData_TCL_DECLARED
#define Tk_GetBitmapFromData_TCL_DECLARED
/* 86 */ /* 86 */
EXTERN Pixmap Tk_GetBitmapFromData(Tcl_Interp *interp, EXTERN Pixmap Tk_GetBitmapFromData(Tcl_Interp *interp,
Tk_Window tkwin, CONST char *source, Tk_Window tkwin, const void *source,
int width, int height); int width, int height);
#endif
#ifndef Tk_GetCapStyle_TCL_DECLARED
#define Tk_GetCapStyle_TCL_DECLARED
/* 87 */ /* 87 */
EXTERN int Tk_GetCapStyle(Tcl_Interp *interp, CONST char *str, EXTERN int Tk_GetCapStyle(Tcl_Interp *interp, const char *str,
int *capPtr); int *capPtr);
#endif
#ifndef Tk_GetColor_TCL_DECLARED
#define Tk_GetColor_TCL_DECLARED
/* 88 */ /* 88 */
EXTERN XColor * Tk_GetColor(Tcl_Interp *interp, Tk_Window tk win, EXTERN XColor * Tk_GetColor(Tcl_Interp *interp, Tk_Window tk win,
Tk_Uid name); Tk_Uid name);
#endif
#ifndef Tk_GetColorByValue_TCL_DECLARED
#define Tk_GetColorByValue_TCL_DECLARED
/* 89 */ /* 89 */
EXTERN XColor * Tk_GetColorByValue(Tk_Window tkwin, XColor * colorPtr); EXTERN XColor * Tk_GetColorByValue(Tk_Window tkwin, XColor * colorPtr);
#endif
#ifndef Tk_GetColormap_TCL_DECLARED
#define Tk_GetColormap_TCL_DECLARED
/* 90 */ /* 90 */
EXTERN Colormap Tk_GetColormap(Tcl_Interp *interp, Tk_Window tkwin, EXTERN Colormap Tk_GetColormap(Tcl_Interp *interp, Tk_Window tkwin,
CONST char *str); const char *str);
#endif
#ifndef Tk_GetCursor_TCL_DECLARED
#define Tk_GetCursor_TCL_DECLARED
/* 91 */ /* 91 */
EXTERN Tk_Cursor Tk_GetCursor(Tcl_Interp *interp, Tk_Window tkwin, EXTERN Tk_Cursor Tk_GetCursor(Tcl_Interp *interp, Tk_Window tkwin,
Tk_Uid str); Tk_Uid str);
#endif
#ifndef Tk_GetCursorFromData_TCL_DECLARED
#define Tk_GetCursorFromData_TCL_DECLARED
/* 92 */ /* 92 */
EXTERN Tk_Cursor Tk_GetCursorFromData(Tcl_Interp *interp, EXTERN Tk_Cursor Tk_GetCursorFromData(Tcl_Interp *interp,
Tk_Window tkwin, CONST char *source, Tk_Window tkwin, const char *source,
CONST char *mask, int width, int height, const char *mask, int width, int height,
int xHot, int yHot, Tk_Uid fg, Tk_Uid bg); int xHot, int yHot, Tk_Uid fg, Tk_Uid bg);
#endif
#ifndef Tk_GetFont_TCL_DECLARED
#define Tk_GetFont_TCL_DECLARED
/* 93 */ /* 93 */
EXTERN Tk_Font Tk_GetFont(Tcl_Interp *interp, Tk_Window tkwin, EXTERN Tk_Font Tk_GetFont(Tcl_Interp *interp, Tk_Window tkwin,
CONST char *str); const char *str);
#endif
#ifndef Tk_GetFontFromObj_TCL_DECLARED
#define Tk_GetFontFromObj_TCL_DECLARED
/* 94 */ /* 94 */
EXTERN Tk_Font Tk_GetFontFromObj(Tk_Window tkwin, Tcl_Obj *objPtr); EXTERN Tk_Font Tk_GetFontFromObj(Tk_Window tkwin, Tcl_Obj *objPtr);
#endif
#ifndef Tk_GetFontMetrics_TCL_DECLARED
#define Tk_GetFontMetrics_TCL_DECLARED
/* 95 */ /* 95 */
EXTERN void Tk_GetFontMetrics(Tk_Font font, EXTERN void Tk_GetFontMetrics(Tk_Font font,
Tk_FontMetrics *fmPtr); Tk_FontMetrics *fmPtr);
#endif
#ifndef Tk_GetGC_TCL_DECLARED
#define Tk_GetGC_TCL_DECLARED
/* 96 */ /* 96 */
EXTERN GC Tk_GetGC(Tk_Window tkwin, unsigned long valueMask, EXTERN GC Tk_GetGC(Tk_Window tkwin, unsigned long valueMask,
XGCValues *valuePtr); XGCValues *valuePtr);
#endif
#ifndef Tk_GetImage_TCL_DECLARED
#define Tk_GetImage_TCL_DECLARED
/* 97 */ /* 97 */
EXTERN Tk_Image Tk_GetImage(Tcl_Interp *interp, Tk_Window tk win, EXTERN Tk_Image Tk_GetImage(Tcl_Interp *interp, Tk_Window tk win,
CONST char *name, const char *name,
Tk_ImageChangedProc *changeProc, Tk_ImageChangedProc *changeProc,
ClientData clientData); ClientData clientData);
#endif
#ifndef Tk_GetImageMasterData_TCL_DECLARED
#define Tk_GetImageMasterData_TCL_DECLARED
/* 98 */ /* 98 */
EXTERN ClientData Tk_GetImageMasterData(Tcl_Interp *interp, EXTERN ClientData Tk_GetImageMasterData(Tcl_Interp *interp,
CONST char *name, Tk_ImageType **typePtrPtr) const char *name,
; CONST86 Tk_ImageType **typePtrPtr);
#endif
#ifndef Tk_GetItemTypes_TCL_DECLARED
#define Tk_GetItemTypes_TCL_DECLARED
/* 99 */ /* 99 */
EXTERN Tk_ItemType * Tk_GetItemTypes(void); EXTERN Tk_ItemType * Tk_GetItemTypes(void);
#endif
#ifndef Tk_GetJoinStyle_TCL_DECLARED
#define Tk_GetJoinStyle_TCL_DECLARED
/* 100 */ /* 100 */
EXTERN int Tk_GetJoinStyle(Tcl_Interp *interp, CONST char *str, EXTERN int Tk_GetJoinStyle(Tcl_Interp *interp, const char *str,
int *joinPtr); int *joinPtr);
#endif
#ifndef Tk_GetJustify_TCL_DECLARED
#define Tk_GetJustify_TCL_DECLARED
/* 101 */ /* 101 */
EXTERN int Tk_GetJustify(Tcl_Interp *interp, CONST char *str, EXTERN int Tk_GetJustify(Tcl_Interp *interp, const char *str,
Tk_Justify *justifyPtr); Tk_Justify *justifyPtr);
#endif
#ifndef Tk_GetNumMainWindows_TCL_DECLARED
#define Tk_GetNumMainWindows_TCL_DECLARED
/* 102 */ /* 102 */
EXTERN int Tk_GetNumMainWindows(void); EXTERN int Tk_GetNumMainWindows(void);
#endif
#ifndef Tk_GetOption_TCL_DECLARED
#define Tk_GetOption_TCL_DECLARED
/* 103 */ /* 103 */
EXTERN Tk_Uid Tk_GetOption(Tk_Window tkwin, CONST char *name, EXTERN Tk_Uid Tk_GetOption(Tk_Window tkwin, const char *name,
CONST char *className); const char *className);
#endif
#ifndef Tk_GetPixels_TCL_DECLARED
#define Tk_GetPixels_TCL_DECLARED
/* 104 */ /* 104 */
EXTERN int Tk_GetPixels(Tcl_Interp *interp, Tk_Window tkwin, EXTERN int Tk_GetPixels(Tcl_Interp *interp, Tk_Window tkwin,
CONST char *str, int *intPtr); const char *str, int *intPtr);
#endif
#ifndef Tk_GetPixmap_TCL_DECLARED
#define Tk_GetPixmap_TCL_DECLARED
/* 105 */ /* 105 */
EXTERN Pixmap Tk_GetPixmap(Display *display, Drawable d, int width , EXTERN Pixmap Tk_GetPixmap(Display *display, Drawable d, int width ,
int height, int depth); int height, int depth);
#endif
#ifndef Tk_GetRelief_TCL_DECLARED
#define Tk_GetRelief_TCL_DECLARED
/* 106 */ /* 106 */
EXTERN int Tk_GetRelief(Tcl_Interp *interp, CONST char *name, EXTERN int Tk_GetRelief(Tcl_Interp *interp, const char *name,
int *reliefPtr); int *reliefPtr);
#endif
#ifndef Tk_GetRootCoords_TCL_DECLARED
#define Tk_GetRootCoords_TCL_DECLARED
/* 107 */ /* 107 */
EXTERN void Tk_GetRootCoords(Tk_Window tkwin, int *xPtr, EXTERN void Tk_GetRootCoords(Tk_Window tkwin, int *xPtr,
int *yPtr); int *yPtr);
#endif
#ifndef Tk_GetScrollInfo_TCL_DECLARED
#define Tk_GetScrollInfo_TCL_DECLARED
/* 108 */ /* 108 */
EXTERN int Tk_GetScrollInfo(Tcl_Interp *interp, int argc, EXTERN int Tk_GetScrollInfo(Tcl_Interp *interp, int argc,
CONST84 char **argv, double *dblPtr, CONST84 char **argv, double *dblPtr,
int *intPtr); int *intPtr);
#endif
#ifndef Tk_GetScreenMM_TCL_DECLARED
#define Tk_GetScreenMM_TCL_DECLARED
/* 109 */ /* 109 */
EXTERN int Tk_GetScreenMM(Tcl_Interp *interp, Tk_Window tkwin, EXTERN int Tk_GetScreenMM(Tcl_Interp *interp, Tk_Window tkwin,
CONST char *str, double *doublePtr); const char *str, double *doublePtr);
#endif
#ifndef Tk_GetSelection_TCL_DECLARED
#define Tk_GetSelection_TCL_DECLARED
/* 110 */ /* 110 */
EXTERN int Tk_GetSelection(Tcl_Interp *interp, Tk_Window tkwin, EXTERN int Tk_GetSelection(Tcl_Interp *interp, Tk_Window tkwin,
Atom selection, Atom target, Atom selection, Atom target,
Tk_GetSelProc *proc, ClientData clientData); Tk_GetSelProc *proc, ClientData clientData);
#endif
#ifndef Tk_GetUid_TCL_DECLARED
#define Tk_GetUid_TCL_DECLARED
/* 111 */ /* 111 */
EXTERN Tk_Uid Tk_GetUid(CONST char *str); EXTERN Tk_Uid Tk_GetUid(const char *str);
#endif
#ifndef Tk_GetVisual_TCL_DECLARED
#define Tk_GetVisual_TCL_DECLARED
/* 112 */ /* 112 */
EXTERN Visual * Tk_GetVisual(Tcl_Interp *interp, Tk_Window t kwin, EXTERN Visual * Tk_GetVisual(Tcl_Interp *interp, Tk_Window t kwin,
CONST char *str, int *depthPtr, const char *str, int *depthPtr,
Colormap *colormapPtr); Colormap *colormapPtr);
#endif
#ifndef Tk_GetVRootGeometry_TCL_DECLARED
#define Tk_GetVRootGeometry_TCL_DECLARED
/* 113 */ /* 113 */
EXTERN void Tk_GetVRootGeometry(Tk_Window tkwin, int *xPtr, EXTERN void Tk_GetVRootGeometry(Tk_Window tkwin, int *xPtr,
int *yPtr, int *widthPtr, int *heightPtr); int *yPtr, int *widthPtr, int *heightPtr);
#endif
#ifndef Tk_Grab_TCL_DECLARED
#define Tk_Grab_TCL_DECLARED
/* 114 */ /* 114 */
EXTERN int Tk_Grab(Tcl_Interp *interp, Tk_Window tkwin, EXTERN int Tk_Grab(Tcl_Interp *interp, Tk_Window tkwin,
int grabGlobal); int grabGlobal);
#endif
#ifndef Tk_HandleEvent_TCL_DECLARED
#define Tk_HandleEvent_TCL_DECLARED
/* 115 */ /* 115 */
EXTERN void Tk_HandleEvent(XEvent *eventPtr); EXTERN void Tk_HandleEvent(XEvent *eventPtr);
#endif
#ifndef Tk_IdToWindow_TCL_DECLARED
#define Tk_IdToWindow_TCL_DECLARED
/* 116 */ /* 116 */
EXTERN Tk_Window Tk_IdToWindow(Display *display, Window window); EXTERN Tk_Window Tk_IdToWindow(Display *display, Window window);
#endif
#ifndef Tk_ImageChanged_TCL_DECLARED
#define Tk_ImageChanged_TCL_DECLARED
/* 117 */ /* 117 */
EXTERN void Tk_ImageChanged(Tk_ImageMaster master, int x, int y, EXTERN void Tk_ImageChanged(Tk_ImageMaster master, int x, int y,
int width, int height, int imageWidth, int width, int height, int imageWidth,
int imageHeight); int imageHeight);
#endif
#ifndef Tk_Init_TCL_DECLARED
#define Tk_Init_TCL_DECLARED
/* 118 */ /* 118 */
EXTERN int Tk_Init(Tcl_Interp *interp); EXTERN int Tk_Init(Tcl_Interp *interp);
#endif
#ifndef Tk_InternAtom_TCL_DECLARED
#define Tk_InternAtom_TCL_DECLARED
/* 119 */ /* 119 */
EXTERN Atom Tk_InternAtom(Tk_Window tkwin, CONST char *name); EXTERN Atom Tk_InternAtom(Tk_Window tkwin, const char *name);
#endif
#ifndef Tk_IntersectTextLayout_TCL_DECLARED
#define Tk_IntersectTextLayout_TCL_DECLARED
/* 120 */ /* 120 */
EXTERN int Tk_IntersectTextLayout(Tk_TextLayout layout, int x, EXTERN int Tk_IntersectTextLayout(Tk_TextLayout layout, int x,
int y, int width, int height); int y, int width, int height);
#endif
#ifndef Tk_MaintainGeometry_TCL_DECLARED
#define Tk_MaintainGeometry_TCL_DECLARED
/* 121 */ /* 121 */
EXTERN void Tk_MaintainGeometry(Tk_Window slave, EXTERN void Tk_MaintainGeometry(Tk_Window slave,
Tk_Window master, int x, int y, int width, Tk_Window master, int x, int y, int width,
int height); int height);
#endif
#ifndef Tk_MainWindow_TCL_DECLARED
#define Tk_MainWindow_TCL_DECLARED
/* 122 */ /* 122 */
EXTERN Tk_Window Tk_MainWindow(Tcl_Interp *interp); EXTERN Tk_Window Tk_MainWindow(Tcl_Interp *interp);
#endif
#ifndef Tk_MakeWindowExist_TCL_DECLARED
#define Tk_MakeWindowExist_TCL_DECLARED
/* 123 */ /* 123 */
EXTERN void Tk_MakeWindowExist(Tk_Window tkwin); EXTERN void Tk_MakeWindowExist(Tk_Window tkwin);
#endif
#ifndef Tk_ManageGeometry_TCL_DECLARED
#define Tk_ManageGeometry_TCL_DECLARED
/* 124 */ /* 124 */
EXTERN void Tk_ManageGeometry(Tk_Window tkwin, EXTERN void Tk_ManageGeometry(Tk_Window tkwin,
CONST Tk_GeomMgr *mgrPtr, const Tk_GeomMgr *mgrPtr,
ClientData clientData); ClientData clientData);
#endif
#ifndef Tk_MapWindow_TCL_DECLARED
#define Tk_MapWindow_TCL_DECLARED
/* 125 */ /* 125 */
EXTERN void Tk_MapWindow(Tk_Window tkwin); EXTERN void Tk_MapWindow(Tk_Window tkwin);
#endif
#ifndef Tk_MeasureChars_TCL_DECLARED
#define Tk_MeasureChars_TCL_DECLARED
/* 126 */ /* 126 */
EXTERN int Tk_MeasureChars(Tk_Font tkfont, CONST char *source, EXTERN int Tk_MeasureChars(Tk_Font tkfont, const char *source,
int numBytes, int maxPixels, int flags, int numBytes, int maxPixels, int flags,
int *lengthPtr); int *lengthPtr);
#endif
#ifndef Tk_MoveResizeWindow_TCL_DECLARED
#define Tk_MoveResizeWindow_TCL_DECLARED
/* 127 */ /* 127 */
EXTERN void Tk_MoveResizeWindow(Tk_Window tkwin, int x, int y, EXTERN void Tk_MoveResizeWindow(Tk_Window tkwin, int x, int y,
int width, int height); int width, int height);
#endif
#ifndef Tk_MoveWindow_TCL_DECLARED
#define Tk_MoveWindow_TCL_DECLARED
/* 128 */ /* 128 */
EXTERN void Tk_MoveWindow(Tk_Window tkwin, int x, int y); EXTERN void Tk_MoveWindow(Tk_Window tkwin, int x, int y);
#endif
#ifndef Tk_MoveToplevelWindow_TCL_DECLARED
#define Tk_MoveToplevelWindow_TCL_DECLARED
/* 129 */ /* 129 */
EXTERN void Tk_MoveToplevelWindow(Tk_Window tkwin, int x, int y) ; EXTERN void Tk_MoveToplevelWindow(Tk_Window tkwin, int x, int y) ;
#endif
#ifndef Tk_NameOf3DBorder_TCL_DECLARED
#define Tk_NameOf3DBorder_TCL_DECLARED
/* 130 */ /* 130 */
EXTERN CONST84_RETURN char * Tk_NameOf3DBorder(Tk_3DBorder border); EXTERN CONST84_RETURN char * Tk_NameOf3DBorder(Tk_3DBorder border);
#endif
#ifndef Tk_NameOfAnchor_TCL_DECLARED
#define Tk_NameOfAnchor_TCL_DECLARED
/* 131 */ /* 131 */
EXTERN CONST84_RETURN char * Tk_NameOfAnchor(Tk_Anchor anchor); EXTERN CONST84_RETURN char * Tk_NameOfAnchor(Tk_Anchor anchor);
#endif
#ifndef Tk_NameOfBitmap_TCL_DECLARED
#define Tk_NameOfBitmap_TCL_DECLARED
/* 132 */ /* 132 */
EXTERN CONST84_RETURN char * Tk_NameOfBitmap(Display *display, Pixmap bitma p); EXTERN CONST84_RETURN char * Tk_NameOfBitmap(Display *display, Pixmap bitma p);
#endif
#ifndef Tk_NameOfCapStyle_TCL_DECLARED
#define Tk_NameOfCapStyle_TCL_DECLARED
/* 133 */ /* 133 */
EXTERN CONST84_RETURN char * Tk_NameOfCapStyle(int cap); EXTERN CONST84_RETURN char * Tk_NameOfCapStyle(int cap);
#endif
#ifndef Tk_NameOfColor_TCL_DECLARED
#define Tk_NameOfColor_TCL_DECLARED
/* 134 */ /* 134 */
EXTERN CONST84_RETURN char * Tk_NameOfColor(XColor *colorPtr); EXTERN CONST84_RETURN char * Tk_NameOfColor(XColor *colorPtr);
#endif
#ifndef Tk_NameOfCursor_TCL_DECLARED
#define Tk_NameOfCursor_TCL_DECLARED
/* 135 */ /* 135 */
EXTERN CONST84_RETURN char * Tk_NameOfCursor(Display *display, EXTERN CONST84_RETURN char * Tk_NameOfCursor(Display *display,
Tk_Cursor cursor); Tk_Cursor cursor);
#endif
#ifndef Tk_NameOfFont_TCL_DECLARED
#define Tk_NameOfFont_TCL_DECLARED
/* 136 */ /* 136 */
EXTERN CONST84_RETURN char * Tk_NameOfFont(Tk_Font font); EXTERN CONST84_RETURN char * Tk_NameOfFont(Tk_Font font);
#endif
#ifndef Tk_NameOfImage_TCL_DECLARED
#define Tk_NameOfImage_TCL_DECLARED
/* 137 */ /* 137 */
EXTERN CONST84_RETURN char * Tk_NameOfImage(Tk_ImageMaster imageMaster); EXTERN CONST84_RETURN char * Tk_NameOfImage(Tk_ImageMaster imageMaster);
#endif
#ifndef Tk_NameOfJoinStyle_TCL_DECLARED
#define Tk_NameOfJoinStyle_TCL_DECLARED
/* 138 */ /* 138 */
EXTERN CONST84_RETURN char * Tk_NameOfJoinStyle(int join); EXTERN CONST84_RETURN char * Tk_NameOfJoinStyle(int join);
#endif
#ifndef Tk_NameOfJustify_TCL_DECLARED
#define Tk_NameOfJustify_TCL_DECLARED
/* 139 */ /* 139 */
EXTERN CONST84_RETURN char * Tk_NameOfJustify(Tk_Justify justify); EXTERN CONST84_RETURN char * Tk_NameOfJustify(Tk_Justify justify);
#endif
#ifndef Tk_NameOfRelief_TCL_DECLARED
#define Tk_NameOfRelief_TCL_DECLARED
/* 140 */ /* 140 */
EXTERN CONST84_RETURN char * Tk_NameOfRelief(int relief); EXTERN CONST84_RETURN char * Tk_NameOfRelief(int relief);
#endif
#ifndef Tk_NameToWindow_TCL_DECLARED
#define Tk_NameToWindow_TCL_DECLARED
/* 141 */ /* 141 */
EXTERN Tk_Window Tk_NameToWindow(Tcl_Interp *interp, EXTERN Tk_Window Tk_NameToWindow(Tcl_Interp *interp,
CONST char *pathName, Tk_Window tkwin); const char *pathName, Tk_Window tkwin);
#endif
#ifndef Tk_OwnSelection_TCL_DECLARED
#define Tk_OwnSelection_TCL_DECLARED
/* 142 */ /* 142 */
EXTERN void Tk_OwnSelection(Tk_Window tkwin, Atom selection, EXTERN void Tk_OwnSelection(Tk_Window tkwin, Atom selection,
Tk_LostSelProc *proc, ClientData clientData) ; Tk_LostSelProc *proc, ClientData clientData) ;
#endif
#ifndef Tk_ParseArgv_TCL_DECLARED
#define Tk_ParseArgv_TCL_DECLARED
/* 143 */ /* 143 */
EXTERN int Tk_ParseArgv(Tcl_Interp *interp, Tk_Window tkwin, EXTERN int Tk_ParseArgv(Tcl_Interp *interp, Tk_Window tkwin,
int *argcPtr, CONST84 char **argv, int *argcPtr, CONST84 char **argv,
Tk_ArgvInfo *argTable, int flags); const Tk_ArgvInfo *argTable, int flags);
#endif
#ifndef Tk_PhotoPutBlock_NoComposite_TCL_DECLARED
#define Tk_PhotoPutBlock_NoComposite_TCL_DECLARED
/* 144 */ /* 144 */
EXTERN void Tk_PhotoPutBlock_NoComposite(Tk_PhotoHandle handle, EXTERN void Tk_PhotoPutBlock_NoComposite(Tk_PhotoHandle handle,
Tk_PhotoImageBlock *blockPtr, int x, int y, Tk_PhotoImageBlock *blockPtr, int x, int y,
int width, int height); int width, int height);
#endif
#ifndef Tk_PhotoPutZoomedBlock_NoComposite_TCL_DECLARED
#define Tk_PhotoPutZoomedBlock_NoComposite_TCL_DECLARED
/* 145 */ /* 145 */
EXTERN void Tk_PhotoPutZoomedBlock_NoComposite( EXTERN void Tk_PhotoPutZoomedBlock_NoComposite(
Tk_PhotoHandle handle, Tk_PhotoHandle handle,
Tk_PhotoImageBlock *blockPtr, int x, int y, Tk_PhotoImageBlock *blockPtr, int x, int y,
int width, int height, int zoomX, int zoomY, int width, int height, int zoomX, int zoomY,
int subsampleX, int subsampleY); int subsampleX, int subsampleY);
#endif
#ifndef Tk_PhotoGetImage_TCL_DECLARED
#define Tk_PhotoGetImage_TCL_DECLARED
/* 146 */ /* 146 */
EXTERN int Tk_PhotoGetImage(Tk_PhotoHandle handle, EXTERN int Tk_PhotoGetImage(Tk_PhotoHandle handle,
Tk_PhotoImageBlock *blockPtr); Tk_PhotoImageBlock *blockPtr);
#endif
#ifndef Tk_PhotoBlank_TCL_DECLARED
#define Tk_PhotoBlank_TCL_DECLARED
/* 147 */ /* 147 */
EXTERN void Tk_PhotoBlank(Tk_PhotoHandle handle); EXTERN void Tk_PhotoBlank(Tk_PhotoHandle handle);
#endif
#ifndef Tk_PhotoExpand_Panic_TCL_DECLARED
#define Tk_PhotoExpand_Panic_TCL_DECLARED
/* 148 */ /* 148 */
EXTERN void Tk_PhotoExpand_Panic(Tk_PhotoHandle handle, EXTERN void Tk_PhotoExpand_Panic(Tk_PhotoHandle handle,
int width, int height); int width, int height);
#endif
#ifndef Tk_PhotoGetSize_TCL_DECLARED
#define Tk_PhotoGetSize_TCL_DECLARED
/* 149 */ /* 149 */
EXTERN void Tk_PhotoGetSize(Tk_PhotoHandle handle, int *widthPtr , EXTERN void Tk_PhotoGetSize(Tk_PhotoHandle handle, int *widthPtr ,
int *heightPtr); int *heightPtr);
#endif
#ifndef Tk_PhotoSetSize_Panic_TCL_DECLARED
#define Tk_PhotoSetSize_Panic_TCL_DECLARED
/* 150 */ /* 150 */
EXTERN void Tk_PhotoSetSize_Panic(Tk_PhotoHandle handle, EXTERN void Tk_PhotoSetSize_Panic(Tk_PhotoHandle handle,
int width, int height); int width, int height);
#endif
#ifndef Tk_PointToChar_TCL_DECLARED
#define Tk_PointToChar_TCL_DECLARED
/* 151 */ /* 151 */
EXTERN int Tk_PointToChar(Tk_TextLayout layout, int x, int y); EXTERN int Tk_PointToChar(Tk_TextLayout layout, int x, int y);
#endif
#ifndef Tk_PostscriptFontName_TCL_DECLARED
#define Tk_PostscriptFontName_TCL_DECLARED
/* 152 */ /* 152 */
EXTERN int Tk_PostscriptFontName(Tk_Font tkfont, EXTERN int Tk_PostscriptFontName(Tk_Font tkfont,
Tcl_DString *dsPtr); Tcl_DString *dsPtr);
#endif
#ifndef Tk_PreserveColormap_TCL_DECLARED
#define Tk_PreserveColormap_TCL_DECLARED
/* 153 */ /* 153 */
EXTERN void Tk_PreserveColormap(Display *display, EXTERN void Tk_PreserveColormap(Display *display,
Colormap colormap); Colormap colormap);
#endif
#ifndef Tk_QueueWindowEvent_TCL_DECLARED
#define Tk_QueueWindowEvent_TCL_DECLARED
/* 154 */ /* 154 */
EXTERN void Tk_QueueWindowEvent(XEvent *eventPtr, EXTERN void Tk_QueueWindowEvent(XEvent *eventPtr,
Tcl_QueuePosition position); Tcl_QueuePosition position);
#endif
#ifndef Tk_RedrawImage_TCL_DECLARED
#define Tk_RedrawImage_TCL_DECLARED
/* 155 */ /* 155 */
EXTERN void Tk_RedrawImage(Tk_Image image, int imageX, EXTERN void Tk_RedrawImage(Tk_Image image, int imageX,
int imageY, int width, int height, int imageY, int width, int height,
Drawable drawable, int drawableX, Drawable drawable, int drawableX,
int drawableY); int drawableY);
#endif
#ifndef Tk_ResizeWindow_TCL_DECLARED
#define Tk_ResizeWindow_TCL_DECLARED
/* 156 */ /* 156 */
EXTERN void Tk_ResizeWindow(Tk_Window tkwin, int width, EXTERN void Tk_ResizeWindow(Tk_Window tkwin, int width,
int height); int height);
#endif
#ifndef Tk_RestackWindow_TCL_DECLARED
#define Tk_RestackWindow_TCL_DECLARED
/* 157 */ /* 157 */
EXTERN int Tk_RestackWindow(Tk_Window tkwin, int aboveBelow, EXTERN int Tk_RestackWindow(Tk_Window tkwin, int aboveBelow,
Tk_Window other); Tk_Window other);
#endif
#ifndef Tk_RestrictEvents_TCL_DECLARED
#define Tk_RestrictEvents_TCL_DECLARED
/* 158 */ /* 158 */
EXTERN Tk_RestrictProc * Tk_RestrictEvents(Tk_RestrictProc *proc, EXTERN Tk_RestrictProc * Tk_RestrictEvents(Tk_RestrictProc *proc,
ClientData arg, ClientData *prevArgPtr); ClientData arg, ClientData *prevArgPtr);
#endif
#ifndef Tk_SafeInit_TCL_DECLARED
#define Tk_SafeInit_TCL_DECLARED
/* 159 */ /* 159 */
EXTERN int Tk_SafeInit(Tcl_Interp *interp); EXTERN int Tk_SafeInit(Tcl_Interp *interp);
#endif
#ifndef Tk_SetAppName_TCL_DECLARED
#define Tk_SetAppName_TCL_DECLARED
/* 160 */ /* 160 */
EXTERN CONST char * Tk_SetAppName(Tk_Window tkwin, CONST char *name); EXTERN const char * Tk_SetAppName(Tk_Window tkwin, const char *name);
#endif
#ifndef Tk_SetBackgroundFromBorder_TCL_DECLARED
#define Tk_SetBackgroundFromBorder_TCL_DECLARED
/* 161 */ /* 161 */
EXTERN void Tk_SetBackgroundFromBorder(Tk_Window tkwin, EXTERN void Tk_SetBackgroundFromBorder(Tk_Window tkwin,
Tk_3DBorder border); Tk_3DBorder border);
#endif
#ifndef Tk_SetClass_TCL_DECLARED
#define Tk_SetClass_TCL_DECLARED
/* 162 */ /* 162 */
EXTERN void Tk_SetClass(Tk_Window tkwin, CONST char *className); EXTERN void Tk_SetClass(Tk_Window tkwin, const char *className);
#endif
#ifndef Tk_SetGrid_TCL_DECLARED
#define Tk_SetGrid_TCL_DECLARED
/* 163 */ /* 163 */
EXTERN void Tk_SetGrid(Tk_Window tkwin, int reqWidth, EXTERN void Tk_SetGrid(Tk_Window tkwin, int reqWidth,
int reqHeight, int gridWidth, int gridHeight ); int reqHeight, int gridWidth, int gridHeight );
#endif
#ifndef Tk_SetInternalBorder_TCL_DECLARED
#define Tk_SetInternalBorder_TCL_DECLARED
/* 164 */ /* 164 */
EXTERN void Tk_SetInternalBorder(Tk_Window tkwin, int width); EXTERN void Tk_SetInternalBorder(Tk_Window tkwin, int width);
#endif
#ifndef Tk_SetWindowBackground_TCL_DECLARED
#define Tk_SetWindowBackground_TCL_DECLARED
/* 165 */ /* 165 */
EXTERN void Tk_SetWindowBackground(Tk_Window tkwin, EXTERN void Tk_SetWindowBackground(Tk_Window tkwin,
unsigned long pixel); unsigned long pixel);
#endif
#ifndef Tk_SetWindowBackgroundPixmap_TCL_DECLARED
#define Tk_SetWindowBackgroundPixmap_TCL_DECLARED
/* 166 */ /* 166 */
EXTERN void Tk_SetWindowBackgroundPixmap(Tk_Window tkwin, EXTERN void Tk_SetWindowBackgroundPixmap(Tk_Window tkwin,
Pixmap pixmap); Pixmap pixmap);
#endif
#ifndef Tk_SetWindowBorder_TCL_DECLARED
#define Tk_SetWindowBorder_TCL_DECLARED
/* 167 */ /* 167 */
EXTERN void Tk_SetWindowBorder(Tk_Window tkwin, EXTERN void Tk_SetWindowBorder(Tk_Window tkwin,
unsigned long pixel); unsigned long pixel);
#endif
#ifndef Tk_SetWindowBorderWidth_TCL_DECLARED
#define Tk_SetWindowBorderWidth_TCL_DECLARED
/* 168 */ /* 168 */
EXTERN void Tk_SetWindowBorderWidth(Tk_Window tkwin, int width); EXTERN void Tk_SetWindowBorderWidth(Tk_Window tkwin, int width);
#endif
#ifndef Tk_SetWindowBorderPixmap_TCL_DECLARED
#define Tk_SetWindowBorderPixmap_TCL_DECLARED
/* 169 */ /* 169 */
EXTERN void Tk_SetWindowBorderPixmap(Tk_Window tkwin, EXTERN void Tk_SetWindowBorderPixmap(Tk_Window tkwin,
Pixmap pixmap); Pixmap pixmap);
#endif
#ifndef Tk_SetWindowColormap_TCL_DECLARED
#define Tk_SetWindowColormap_TCL_DECLARED
/* 170 */ /* 170 */
EXTERN void Tk_SetWindowColormap(Tk_Window tkwin, EXTERN void Tk_SetWindowColormap(Tk_Window tkwin,
Colormap colormap); Colormap colormap);
#endif
#ifndef Tk_SetWindowVisual_TCL_DECLARED
#define Tk_SetWindowVisual_TCL_DECLARED
/* 171 */ /* 171 */
EXTERN int Tk_SetWindowVisual(Tk_Window tkwin, Visual *visual, EXTERN int Tk_SetWindowVisual(Tk_Window tkwin, Visual *visual,
int depth, Colormap colormap); int depth, Colormap colormap);
#endif
#ifndef Tk_SizeOfBitmap_TCL_DECLARED
#define Tk_SizeOfBitmap_TCL_DECLARED
/* 172 */ /* 172 */
EXTERN void Tk_SizeOfBitmap(Display *display, Pixmap bitmap, EXTERN void Tk_SizeOfBitmap(Display *display, Pixmap bitmap,
int *widthPtr, int *heightPtr); int *widthPtr, int *heightPtr);
#endif
#ifndef Tk_SizeOfImage_TCL_DECLARED
#define Tk_SizeOfImage_TCL_DECLARED
/* 173 */ /* 173 */
EXTERN void Tk_SizeOfImage(Tk_Image image, int *widthPtr, EXTERN void Tk_SizeOfImage(Tk_Image image, int *widthPtr,
int *heightPtr); int *heightPtr);
#endif
#ifndef Tk_StrictMotif_TCL_DECLARED
#define Tk_StrictMotif_TCL_DECLARED
/* 174 */ /* 174 */
EXTERN int Tk_StrictMotif(Tk_Window tkwin); EXTERN int Tk_StrictMotif(Tk_Window tkwin);
#endif
#ifndef Tk_TextLayoutToPostscript_TCL_DECLARED
#define Tk_TextLayoutToPostscript_TCL_DECLARED
/* 175 */ /* 175 */
EXTERN void Tk_TextLayoutToPostscript(Tcl_Interp *interp, EXTERN void Tk_TextLayoutToPostscript(Tcl_Interp *interp,
Tk_TextLayout layout); Tk_TextLayout layout);
#endif
#ifndef Tk_TextWidth_TCL_DECLARED
#define Tk_TextWidth_TCL_DECLARED
/* 176 */ /* 176 */
EXTERN int Tk_TextWidth(Tk_Font font, CONST char *str, EXTERN int Tk_TextWidth(Tk_Font font, const char *str,
int numBytes); int numBytes);
#endif
#ifndef Tk_UndefineCursor_TCL_DECLARED
#define Tk_UndefineCursor_TCL_DECLARED
/* 177 */ /* 177 */
EXTERN void Tk_UndefineCursor(Tk_Window window); EXTERN void Tk_UndefineCursor(Tk_Window window);
#endif
#ifndef Tk_UnderlineChars_TCL_DECLARED
#define Tk_UnderlineChars_TCL_DECLARED
/* 178 */ /* 178 */
EXTERN void Tk_UnderlineChars(Display *display, EXTERN void Tk_UnderlineChars(Display *display,
Drawable drawable, GC gc, Tk_Font tkfont, Drawable drawable, GC gc, Tk_Font tkfont,
CONST char *source, int x, int y, const char *source, int x, int y,
int firstByte, int lastByte); int firstByte, int lastByte);
#endif
#ifndef Tk_UnderlineTextLayout_TCL_DECLARED
#define Tk_UnderlineTextLayout_TCL_DECLARED
/* 179 */ /* 179 */
EXTERN void Tk_UnderlineTextLayout(Display *display, EXTERN void Tk_UnderlineTextLayout(Display *display,
Drawable drawable, GC gc, Drawable drawable, GC gc,
Tk_TextLayout layout, int x, int y, Tk_TextLayout layout, int x, int y,
int underline); int underline);
#endif
#ifndef Tk_Ungrab_TCL_DECLARED
#define Tk_Ungrab_TCL_DECLARED
/* 180 */ /* 180 */
EXTERN void Tk_Ungrab(Tk_Window tkwin); EXTERN void Tk_Ungrab(Tk_Window tkwin);
#endif
#ifndef Tk_UnmaintainGeometry_TCL_DECLARED
#define Tk_UnmaintainGeometry_TCL_DECLARED
/* 181 */ /* 181 */
EXTERN void Tk_UnmaintainGeometry(Tk_Window slave, EXTERN void Tk_UnmaintainGeometry(Tk_Window slave,
Tk_Window master); Tk_Window master);
#endif
#ifndef Tk_UnmapWindow_TCL_DECLARED
#define Tk_UnmapWindow_TCL_DECLARED
/* 182 */ /* 182 */
EXTERN void Tk_UnmapWindow(Tk_Window tkwin); EXTERN void Tk_UnmapWindow(Tk_Window tkwin);
#endif
#ifndef Tk_UnsetGrid_TCL_DECLARED
#define Tk_UnsetGrid_TCL_DECLARED
/* 183 */ /* 183 */
EXTERN void Tk_UnsetGrid(Tk_Window tkwin); EXTERN void Tk_UnsetGrid(Tk_Window tkwin);
#endif
#ifndef Tk_UpdatePointer_TCL_DECLARED
#define Tk_UpdatePointer_TCL_DECLARED
/* 184 */ /* 184 */
EXTERN void Tk_UpdatePointer(Tk_Window tkwin, int x, int y, EXTERN void Tk_UpdatePointer(Tk_Window tkwin, int x, int y,
int state); int state);
#endif
#ifndef Tk_AllocBitmapFromObj_TCL_DECLARED
#define Tk_AllocBitmapFromObj_TCL_DECLARED
/* 185 */ /* 185 */
EXTERN Pixmap Tk_AllocBitmapFromObj(Tcl_Interp *interp, EXTERN Pixmap Tk_AllocBitmapFromObj(Tcl_Interp *interp,
Tk_Window tkwin, Tcl_Obj *objPtr); Tk_Window tkwin, Tcl_Obj *objPtr);
#endif
#ifndef Tk_Alloc3DBorderFromObj_TCL_DECLARED
#define Tk_Alloc3DBorderFromObj_TCL_DECLARED
/* 186 */ /* 186 */
EXTERN Tk_3DBorder Tk_Alloc3DBorderFromObj(Tcl_Interp *interp, EXTERN Tk_3DBorder Tk_Alloc3DBorderFromObj(Tcl_Interp *interp,
Tk_Window tkwin, Tcl_Obj *objPtr); Tk_Window tkwin, Tcl_Obj *objPtr);
#endif
#ifndef Tk_AllocColorFromObj_TCL_DECLARED
#define Tk_AllocColorFromObj_TCL_DECLARED
/* 187 */ /* 187 */
EXTERN XColor * Tk_AllocColorFromObj(Tcl_Interp *interp, EXTERN XColor * Tk_AllocColorFromObj(Tcl_Interp *interp,
Tk_Window tkwin, Tcl_Obj *objPtr); Tk_Window tkwin, Tcl_Obj *objPtr);
#endif
#ifndef Tk_AllocCursorFromObj_TCL_DECLARED
#define Tk_AllocCursorFromObj_TCL_DECLARED
/* 188 */ /* 188 */
EXTERN Tk_Cursor Tk_AllocCursorFromObj(Tcl_Interp *interp, EXTERN Tk_Cursor Tk_AllocCursorFromObj(Tcl_Interp *interp,
Tk_Window tkwin, Tcl_Obj *objPtr); Tk_Window tkwin, Tcl_Obj *objPtr);
#endif
#ifndef Tk_AllocFontFromObj_TCL_DECLARED
#define Tk_AllocFontFromObj_TCL_DECLARED
/* 189 */ /* 189 */
EXTERN Tk_Font Tk_AllocFontFromObj(Tcl_Interp *interp, EXTERN Tk_Font Tk_AllocFontFromObj(Tcl_Interp *interp,
Tk_Window tkwin, Tcl_Obj *objPtr); Tk_Window tkwin, Tcl_Obj *objPtr);
#endif
#ifndef Tk_CreateOptionTable_TCL_DECLARED
#define Tk_CreateOptionTable_TCL_DECLARED
/* 190 */ /* 190 */
EXTERN Tk_OptionTable Tk_CreateOptionTable(Tcl_Interp *interp, EXTERN Tk_OptionTable Tk_CreateOptionTable(Tcl_Interp *interp,
CONST Tk_OptionSpec *templatePtr); const Tk_OptionSpec *templatePtr);
#endif
#ifndef Tk_DeleteOptionTable_TCL_DECLARED
#define Tk_DeleteOptionTable_TCL_DECLARED
/* 191 */ /* 191 */
EXTERN void Tk_DeleteOptionTable(Tk_OptionTable optionTable); EXTERN void Tk_DeleteOptionTable(Tk_OptionTable optionTable);
#endif
#ifndef Tk_Free3DBorderFromObj_TCL_DECLARED
#define Tk_Free3DBorderFromObj_TCL_DECLARED
/* 192 */ /* 192 */
EXTERN void Tk_Free3DBorderFromObj(Tk_Window tkwin, EXTERN void Tk_Free3DBorderFromObj(Tk_Window tkwin,
Tcl_Obj *objPtr); Tcl_Obj *objPtr);
#endif
#ifndef Tk_FreeBitmapFromObj_TCL_DECLARED
#define Tk_FreeBitmapFromObj_TCL_DECLARED
/* 193 */ /* 193 */
EXTERN void Tk_FreeBitmapFromObj(Tk_Window tkwin, EXTERN void Tk_FreeBitmapFromObj(Tk_Window tkwin,
Tcl_Obj *objPtr); Tcl_Obj *objPtr);
#endif
#ifndef Tk_FreeColorFromObj_TCL_DECLARED
#define Tk_FreeColorFromObj_TCL_DECLARED
/* 194 */ /* 194 */
EXTERN void Tk_FreeColorFromObj(Tk_Window tkwin, Tcl_Obj *objPtr ); EXTERN void Tk_FreeColorFromObj(Tk_Window tkwin, Tcl_Obj *objPtr );
#endif
#ifndef Tk_FreeConfigOptions_TCL_DECLARED
#define Tk_FreeConfigOptions_TCL_DECLARED
/* 195 */ /* 195 */
EXTERN void Tk_FreeConfigOptions(char *recordPtr, EXTERN void Tk_FreeConfigOptions(char *recordPtr,
Tk_OptionTable optionToken, Tk_Window tkwin) ; Tk_OptionTable optionToken, Tk_Window tkwin) ;
#endif
#ifndef Tk_FreeSavedOptions_TCL_DECLARED
#define Tk_FreeSavedOptions_TCL_DECLARED
/* 196 */ /* 196 */
EXTERN void Tk_FreeSavedOptions(Tk_SavedOptions *savePtr); EXTERN void Tk_FreeSavedOptions(Tk_SavedOptions *savePtr);
#endif
#ifndef Tk_FreeCursorFromObj_TCL_DECLARED
#define Tk_FreeCursorFromObj_TCL_DECLARED
/* 197 */ /* 197 */
EXTERN void Tk_FreeCursorFromObj(Tk_Window tkwin, EXTERN void Tk_FreeCursorFromObj(Tk_Window tkwin,
Tcl_Obj *objPtr); Tcl_Obj *objPtr);
#endif
#ifndef Tk_FreeFontFromObj_TCL_DECLARED
#define Tk_FreeFontFromObj_TCL_DECLARED
/* 198 */ /* 198 */
EXTERN void Tk_FreeFontFromObj(Tk_Window tkwin, Tcl_Obj *objPtr) ; EXTERN void Tk_FreeFontFromObj(Tk_Window tkwin, Tcl_Obj *objPtr) ;
#endif
#ifndef Tk_Get3DBorderFromObj_TCL_DECLARED
#define Tk_Get3DBorderFromObj_TCL_DECLARED
/* 199 */ /* 199 */
EXTERN Tk_3DBorder Tk_Get3DBorderFromObj(Tk_Window tkwin, EXTERN Tk_3DBorder Tk_Get3DBorderFromObj(Tk_Window tkwin,
Tcl_Obj *objPtr); Tcl_Obj *objPtr);
#endif
#ifndef Tk_GetAnchorFromObj_TCL_DECLARED
#define Tk_GetAnchorFromObj_TCL_DECLARED
/* 200 */ /* 200 */
EXTERN int Tk_GetAnchorFromObj(Tcl_Interp *interp, EXTERN int Tk_GetAnchorFromObj(Tcl_Interp *interp,
Tcl_Obj *objPtr, Tk_Anchor *anchorPtr); Tcl_Obj *objPtr, Tk_Anchor *anchorPtr);
#endif
#ifndef Tk_GetBitmapFromObj_TCL_DECLARED
#define Tk_GetBitmapFromObj_TCL_DECLARED
/* 201 */ /* 201 */
EXTERN Pixmap Tk_GetBitmapFromObj(Tk_Window tkwin, Tcl_Obj *objPtr ); EXTERN Pixmap Tk_GetBitmapFromObj(Tk_Window tkwin, Tcl_Obj *objPtr );
#endif
#ifndef Tk_GetColorFromObj_TCL_DECLARED
#define Tk_GetColorFromObj_TCL_DECLARED
/* 202 */ /* 202 */
EXTERN XColor * Tk_GetColorFromObj(Tk_Window tkwin, Tcl_Obj *objPtr); EXTERN XColor * Tk_GetColorFromObj(Tk_Window tkwin, Tcl_Obj *objPtr);
#endif
#ifndef Tk_GetCursorFromObj_TCL_DECLARED
#define Tk_GetCursorFromObj_TCL_DECLARED
/* 203 */ /* 203 */
EXTERN Tk_Cursor Tk_GetCursorFromObj(Tk_Window tkwin, Tcl_Obj *objPtr ); EXTERN Tk_Cursor Tk_GetCursorFromObj(Tk_Window tkwin, Tcl_Obj *objPtr );
#endif
#ifndef Tk_GetOptionInfo_TCL_DECLARED
#define Tk_GetOptionInfo_TCL_DECLARED
/* 204 */ /* 204 */
EXTERN Tcl_Obj * Tk_GetOptionInfo(Tcl_Interp *interp, char *recordPtr , EXTERN Tcl_Obj * Tk_GetOptionInfo(Tcl_Interp *interp, char *recordPtr ,
Tk_OptionTable optionTable, Tcl_Obj *namePtr , Tk_OptionTable optionTable, Tcl_Obj *namePtr ,
Tk_Window tkwin); Tk_Window tkwin);
#endif
#ifndef Tk_GetOptionValue_TCL_DECLARED
#define Tk_GetOptionValue_TCL_DECLARED
/* 205 */ /* 205 */
EXTERN Tcl_Obj * Tk_GetOptionValue(Tcl_Interp *interp, EXTERN Tcl_Obj * Tk_GetOptionValue(Tcl_Interp *interp,
char *recordPtr, Tk_OptionTable optionTable, char *recordPtr, Tk_OptionTable optionTable,
Tcl_Obj *namePtr, Tk_Window tkwin); Tcl_Obj *namePtr, Tk_Window tkwin);
#endif
#ifndef Tk_GetJustifyFromObj_TCL_DECLARED
#define Tk_GetJustifyFromObj_TCL_DECLARED
/* 206 */ /* 206 */
EXTERN int Tk_GetJustifyFromObj(Tcl_Interp *interp, EXTERN int Tk_GetJustifyFromObj(Tcl_Interp *interp,
Tcl_Obj *objPtr, Tk_Justify *justifyPtr); Tcl_Obj *objPtr, Tk_Justify *justifyPtr);
#endif
#ifndef Tk_GetMMFromObj_TCL_DECLARED
#define Tk_GetMMFromObj_TCL_DECLARED
/* 207 */ /* 207 */
EXTERN int Tk_GetMMFromObj(Tcl_Interp *interp, Tk_Window tkwin, EXTERN int Tk_GetMMFromObj(Tcl_Interp *interp, Tk_Window tkwin,
Tcl_Obj *objPtr, double *doublePtr); Tcl_Obj *objPtr, double *doublePtr);
#endif
#ifndef Tk_GetPixelsFromObj_TCL_DECLARED
#define Tk_GetPixelsFromObj_TCL_DECLARED
/* 208 */ /* 208 */
EXTERN int Tk_GetPixelsFromObj(Tcl_Interp *interp, EXTERN int Tk_GetPixelsFromObj(Tcl_Interp *interp,
Tk_Window tkwin, Tcl_Obj *objPtr, Tk_Window tkwin, Tcl_Obj *objPtr,
int *intPtr); int *intPtr);
#endif
#ifndef Tk_GetReliefFromObj_TCL_DECLARED
#define Tk_GetReliefFromObj_TCL_DECLARED
/* 209 */ /* 209 */
EXTERN int Tk_GetReliefFromObj(Tcl_Interp *interp, EXTERN int Tk_GetReliefFromObj(Tcl_Interp *interp,
Tcl_Obj *objPtr, int *resultPtr); Tcl_Obj *objPtr, int *resultPtr);
#endif
#ifndef Tk_GetScrollInfoObj_TCL_DECLARED
#define Tk_GetScrollInfoObj_TCL_DECLARED
/* 210 */ /* 210 */
EXTERN int Tk_GetScrollInfoObj(Tcl_Interp *interp, int objc, EXTERN int Tk_GetScrollInfoObj(Tcl_Interp *interp, int objc,
Tcl_Obj *CONST objv[], double *dblPtr, Tcl_Obj *const objv[], double *dblPtr,
int *intPtr); int *intPtr);
#endif
#ifndef Tk_InitOptions_TCL_DECLARED
#define Tk_InitOptions_TCL_DECLARED
/* 211 */ /* 211 */
EXTERN int Tk_InitOptions(Tcl_Interp *interp, char *recordPtr, EXTERN int Tk_InitOptions(Tcl_Interp *interp, char *recordPtr,
Tk_OptionTable optionToken, Tk_Window tkwin) ; Tk_OptionTable optionToken, Tk_Window tkwin) ;
#endif
#ifndef Tk_MainEx_TCL_DECLARED
#define Tk_MainEx_TCL_DECLARED
/* 212 */ /* 212 */
EXTERN void Tk_MainEx(int argc, char **argv, EXTERN void Tk_MainEx(int argc, char **argv,
Tcl_AppInitProc *appInitProc, Tcl_AppInitProc *appInitProc,
Tcl_Interp *interp); Tcl_Interp *interp);
#endif
#ifndef Tk_RestoreSavedOptions_TCL_DECLARED
#define Tk_RestoreSavedOptions_TCL_DECLARED
/* 213 */ /* 213 */
EXTERN void Tk_RestoreSavedOptions(Tk_SavedOptions *savePtr); EXTERN void Tk_RestoreSavedOptions(Tk_SavedOptions *savePtr);
#endif
#ifndef Tk_SetOptions_TCL_DECLARED
#define Tk_SetOptions_TCL_DECLARED
/* 214 */ /* 214 */
EXTERN int Tk_SetOptions(Tcl_Interp *interp, char *recordPtr, EXTERN int Tk_SetOptions(Tcl_Interp *interp, char *recordPtr,
Tk_OptionTable optionTable, int objc, Tk_OptionTable optionTable, int objc,
Tcl_Obj *CONST objv[], Tk_Window tkwin, Tcl_Obj *const objv[], Tk_Window tkwin,
Tk_SavedOptions *savePtr, int *maskPtr); Tk_SavedOptions *savePtr, int *maskPtr);
#endif
#ifndef Tk_InitConsoleChannels_TCL_DECLARED
#define Tk_InitConsoleChannels_TCL_DECLARED
/* 215 */ /* 215 */
EXTERN void Tk_InitConsoleChannels(Tcl_Interp *interp); EXTERN void Tk_InitConsoleChannels(Tcl_Interp *interp);
#endif
#ifndef Tk_CreateConsoleWindow_TCL_DECLARED
#define Tk_CreateConsoleWindow_TCL_DECLARED
/* 216 */ /* 216 */
EXTERN int Tk_CreateConsoleWindow(Tcl_Interp *interp); EXTERN int Tk_CreateConsoleWindow(Tcl_Interp *interp);
#endif
#ifndef Tk_CreateSmoothMethod_TCL_DECLARED
#define Tk_CreateSmoothMethod_TCL_DECLARED
/* 217 */ /* 217 */
EXTERN void Tk_CreateSmoothMethod(Tcl_Interp *interp, EXTERN void Tk_CreateSmoothMethod(Tcl_Interp *interp,
Tk_SmoothMethod *method); const Tk_SmoothMethod *method);
#endif
/* Slot 218 is reserved */ /* Slot 218 is reserved */
/* Slot 219 is reserved */ /* Slot 219 is reserved */
#ifndef Tk_GetDash_TCL_DECLARED
#define Tk_GetDash_TCL_DECLARED
/* 220 */ /* 220 */
EXTERN int Tk_GetDash(Tcl_Interp *interp, CONST char *value, EXTERN int Tk_GetDash(Tcl_Interp *interp, const char *value,
Tk_Dash *dash); Tk_Dash *dash);
#endif
#ifndef Tk_CreateOutline_TCL_DECLARED
#define Tk_CreateOutline_TCL_DECLARED
/* 221 */ /* 221 */
EXTERN void Tk_CreateOutline(Tk_Outline *outline); EXTERN void Tk_CreateOutline(Tk_Outline *outline);
#endif
#ifndef Tk_DeleteOutline_TCL_DECLARED
#define Tk_DeleteOutline_TCL_DECLARED
/* 222 */ /* 222 */
EXTERN void Tk_DeleteOutline(Display *display, EXTERN void Tk_DeleteOutline(Display *display,
Tk_Outline *outline); Tk_Outline *outline);
#endif
#ifndef Tk_ConfigOutlineGC_TCL_DECLARED
#define Tk_ConfigOutlineGC_TCL_DECLARED
/* 223 */ /* 223 */
EXTERN int Tk_ConfigOutlineGC(XGCValues *gcValues, EXTERN int Tk_ConfigOutlineGC(XGCValues *gcValues,
Tk_Canvas canvas, Tk_Item *item, Tk_Canvas canvas, Tk_Item *item,
Tk_Outline *outline); Tk_Outline *outline);
#endif
#ifndef Tk_ChangeOutlineGC_TCL_DECLARED
#define Tk_ChangeOutlineGC_TCL_DECLARED
/* 224 */ /* 224 */
EXTERN int Tk_ChangeOutlineGC(Tk_Canvas canvas, Tk_Item *item, EXTERN int Tk_ChangeOutlineGC(Tk_Canvas canvas, Tk_Item *item,
Tk_Outline *outline); Tk_Outline *outline);
#endif
#ifndef Tk_ResetOutlineGC_TCL_DECLARED
#define Tk_ResetOutlineGC_TCL_DECLARED
/* 225 */ /* 225 */
EXTERN int Tk_ResetOutlineGC(Tk_Canvas canvas, Tk_Item *item, EXTERN int Tk_ResetOutlineGC(Tk_Canvas canvas, Tk_Item *item,
Tk_Outline *outline); Tk_Outline *outline);
#endif
#ifndef Tk_CanvasPsOutline_TCL_DECLARED
#define Tk_CanvasPsOutline_TCL_DECLARED
/* 226 */ /* 226 */
EXTERN int Tk_CanvasPsOutline(Tk_Canvas canvas, Tk_Item *item, EXTERN int Tk_CanvasPsOutline(Tk_Canvas canvas, Tk_Item *item,
Tk_Outline *outline); Tk_Outline *outline);
#endif
#ifndef Tk_SetTSOrigin_TCL_DECLARED
#define Tk_SetTSOrigin_TCL_DECLARED
/* 227 */ /* 227 */
EXTERN void Tk_SetTSOrigin(Tk_Window tkwin, GC gc, int x, int y) ; EXTERN void Tk_SetTSOrigin(Tk_Window tkwin, GC gc, int x, int y) ;
#endif
#ifndef Tk_CanvasGetCoordFromObj_TCL_DECLARED
#define Tk_CanvasGetCoordFromObj_TCL_DECLARED
/* 228 */ /* 228 */
EXTERN int Tk_CanvasGetCoordFromObj(Tcl_Interp *interp, EXTERN int Tk_CanvasGetCoordFromObj(Tcl_Interp *interp,
Tk_Canvas canvas, Tcl_Obj *obj, Tk_Canvas canvas, Tcl_Obj *obj,
double *doublePtr); double *doublePtr);
#endif
#ifndef Tk_CanvasSetOffset_TCL_DECLARED
#define Tk_CanvasSetOffset_TCL_DECLARED
/* 229 */ /* 229 */
EXTERN void Tk_CanvasSetOffset(Tk_Canvas canvas, GC gc, EXTERN void Tk_CanvasSetOffset(Tk_Canvas canvas, GC gc,
Tk_TSOffset *offset); Tk_TSOffset *offset);
#endif
#ifndef Tk_DitherPhoto_TCL_DECLARED
#define Tk_DitherPhoto_TCL_DECLARED
/* 230 */ /* 230 */
EXTERN void Tk_DitherPhoto(Tk_PhotoHandle handle, int x, int y, EXTERN void Tk_DitherPhoto(Tk_PhotoHandle handle, int x, int y,
int width, int height); int width, int height);
#endif
#ifndef Tk_PostscriptBitmap_TCL_DECLARED
#define Tk_PostscriptBitmap_TCL_DECLARED
/* 231 */ /* 231 */
EXTERN int Tk_PostscriptBitmap(Tcl_Interp *interp, EXTERN int Tk_PostscriptBitmap(Tcl_Interp *interp,
Tk_Window tkwin, Tk_PostscriptInfo psInfo, Tk_Window tkwin, Tk_PostscriptInfo psInfo,
Pixmap bitmap, int startX, int startY, Pixmap bitmap, int startX, int startY,
int width, int height); int width, int height);
#endif
#ifndef Tk_PostscriptColor_TCL_DECLARED
#define Tk_PostscriptColor_TCL_DECLARED
/* 232 */ /* 232 */
EXTERN int Tk_PostscriptColor(Tcl_Interp *interp, EXTERN int Tk_PostscriptColor(Tcl_Interp *interp,
Tk_PostscriptInfo psInfo, XColor *colorPtr); Tk_PostscriptInfo psInfo, XColor *colorPtr);
#endif
#ifndef Tk_PostscriptFont_TCL_DECLARED
#define Tk_PostscriptFont_TCL_DECLARED
/* 233 */ /* 233 */
EXTERN int Tk_PostscriptFont(Tcl_Interp *interp, EXTERN int Tk_PostscriptFont(Tcl_Interp *interp,
Tk_PostscriptInfo psInfo, Tk_Font font); Tk_PostscriptInfo psInfo, Tk_Font font);
#endif
#ifndef Tk_PostscriptImage_TCL_DECLARED
#define Tk_PostscriptImage_TCL_DECLARED
/* 234 */ /* 234 */
EXTERN int Tk_PostscriptImage(Tk_Image image, EXTERN int Tk_PostscriptImage(Tk_Image image,
Tcl_Interp *interp, Tk_Window tkwin, Tcl_Interp *interp, Tk_Window tkwin,
Tk_PostscriptInfo psinfo, int x, int y, Tk_PostscriptInfo psinfo, int x, int y,
int width, int height, int prepass); int width, int height, int prepass);
#endif
#ifndef Tk_PostscriptPath_TCL_DECLARED
#define Tk_PostscriptPath_TCL_DECLARED
/* 235 */ /* 235 */
EXTERN void Tk_PostscriptPath(Tcl_Interp *interp, EXTERN void Tk_PostscriptPath(Tcl_Interp *interp,
Tk_PostscriptInfo psInfo, double *coordPtr, Tk_PostscriptInfo psInfo, double *coordPtr,
int numPoints); int numPoints);
#endif
#ifndef Tk_PostscriptStipple_TCL_DECLARED
#define Tk_PostscriptStipple_TCL_DECLARED
/* 236 */ /* 236 */
EXTERN int Tk_PostscriptStipple(Tcl_Interp *interp, EXTERN int Tk_PostscriptStipple(Tcl_Interp *interp,
Tk_Window tkwin, Tk_PostscriptInfo psInfo, Tk_Window tkwin, Tk_PostscriptInfo psInfo,
Pixmap bitmap); Pixmap bitmap);
#endif
#ifndef Tk_PostscriptY_TCL_DECLARED
#define Tk_PostscriptY_TCL_DECLARED
/* 237 */ /* 237 */
EXTERN double Tk_PostscriptY(double y, Tk_PostscriptInfo psInfo); EXTERN double Tk_PostscriptY(double y, Tk_PostscriptInfo psInfo);
#endif
#ifndef Tk_PostscriptPhoto_TCL_DECLARED
#define Tk_PostscriptPhoto_TCL_DECLARED
/* 238 */ /* 238 */
EXTERN int Tk_PostscriptPhoto(Tcl_Interp *interp, EXTERN int Tk_PostscriptPhoto(Tcl_Interp *interp,
Tk_PhotoImageBlock *blockPtr, Tk_PhotoImageBlock *blockPtr,
Tk_PostscriptInfo psInfo, int width, Tk_PostscriptInfo psInfo, int width,
int height); int height);
#endif
#ifndef Tk_CreateClientMessageHandler_TCL_DECLARED
#define Tk_CreateClientMessageHandler_TCL_DECLARED
/* 239 */ /* 239 */
EXTERN void Tk_CreateClientMessageHandler( EXTERN void Tk_CreateClientMessageHandler(
Tk_ClientMessageProc *proc); Tk_ClientMessageProc *proc);
#endif
#ifndef Tk_DeleteClientMessageHandler_TCL_DECLARED
#define Tk_DeleteClientMessageHandler_TCL_DECLARED
/* 240 */ /* 240 */
EXTERN void Tk_DeleteClientMessageHandler( EXTERN void Tk_DeleteClientMessageHandler(
Tk_ClientMessageProc *proc); Tk_ClientMessageProc *proc);
#endif
#ifndef Tk_CreateAnonymousWindow_TCL_DECLARED
#define Tk_CreateAnonymousWindow_TCL_DECLARED
/* 241 */ /* 241 */
EXTERN Tk_Window Tk_CreateAnonymousWindow(Tcl_Interp *interp, EXTERN Tk_Window Tk_CreateAnonymousWindow(Tcl_Interp *interp,
Tk_Window parent, CONST char *screenName); Tk_Window parent, const char *screenName);
#endif
#ifndef Tk_SetClassProcs_TCL_DECLARED
#define Tk_SetClassProcs_TCL_DECLARED
/* 242 */ /* 242 */
EXTERN void Tk_SetClassProcs(Tk_Window tkwin, EXTERN void Tk_SetClassProcs(Tk_Window tkwin,
Tk_ClassProcs *procs, const Tk_ClassProcs *procs,
ClientData instanceData); ClientData instanceData);
#endif
#ifndef Tk_SetInternalBorderEx_TCL_DECLARED
#define Tk_SetInternalBorderEx_TCL_DECLARED
/* 243 */ /* 243 */
EXTERN void Tk_SetInternalBorderEx(Tk_Window tkwin, int left, EXTERN void Tk_SetInternalBorderEx(Tk_Window tkwin, int left,
int right, int top, int bottom); int right, int top, int bottom);
#endif
#ifndef Tk_SetMinimumRequestSize_TCL_DECLARED
#define Tk_SetMinimumRequestSize_TCL_DECLARED
/* 244 */ /* 244 */
EXTERN void Tk_SetMinimumRequestSize(Tk_Window tkwin, EXTERN void Tk_SetMinimumRequestSize(Tk_Window tkwin,
int minWidth, int minHeight); int minWidth, int minHeight);
#endif
#ifndef Tk_SetCaretPos_TCL_DECLARED
#define Tk_SetCaretPos_TCL_DECLARED
/* 245 */ /* 245 */
EXTERN void Tk_SetCaretPos(Tk_Window tkwin, int x, int y, EXTERN void Tk_SetCaretPos(Tk_Window tkwin, int x, int y,
int height); int height);
#endif
#ifndef Tk_PhotoPutBlock_Panic_TCL_DECLARED
#define Tk_PhotoPutBlock_Panic_TCL_DECLARED
/* 246 */ /* 246 */
EXTERN void Tk_PhotoPutBlock_Panic(Tk_PhotoHandle handle, EXTERN void Tk_PhotoPutBlock_Panic(Tk_PhotoHandle handle,
Tk_PhotoImageBlock *blockPtr, int x, int y, Tk_PhotoImageBlock *blockPtr, int x, int y,
int width, int height, int compRule); int width, int height, int compRule);
#endif
#ifndef Tk_PhotoPutZoomedBlock_Panic_TCL_DECLARED
#define Tk_PhotoPutZoomedBlock_Panic_TCL_DECLARED
/* 247 */ /* 247 */
EXTERN void Tk_PhotoPutZoomedBlock_Panic(Tk_PhotoHandle handle, EXTERN void Tk_PhotoPutZoomedBlock_Panic(Tk_PhotoHandle handle,
Tk_PhotoImageBlock *blockPtr, int x, int y, Tk_PhotoImageBlock *blockPtr, int x, int y,
int width, int height, int zoomX, int zoomY, int width, int height, int zoomX, int zoomY,
int subsampleX, int subsampleY, int compRule ); int subsampleX, int subsampleY, int compRule );
#endif
#ifndef Tk_CollapseMotionEvents_TCL_DECLARED
#define Tk_CollapseMotionEvents_TCL_DECLARED
/* 248 */ /* 248 */
EXTERN int Tk_CollapseMotionEvents(Display *display, EXTERN int Tk_CollapseMotionEvents(Display *display,
int collapse); int collapse);
#endif
#ifndef Tk_RegisterStyleEngine_TCL_DECLARED
#define Tk_RegisterStyleEngine_TCL_DECLARED
/* 249 */ /* 249 */
EXTERN Tk_StyleEngine Tk_RegisterStyleEngine(CONST char *name, EXTERN Tk_StyleEngine Tk_RegisterStyleEngine(const char *name,
Tk_StyleEngine parent); Tk_StyleEngine parent);
#endif
#ifndef Tk_GetStyleEngine_TCL_DECLARED
#define Tk_GetStyleEngine_TCL_DECLARED
/* 250 */ /* 250 */
EXTERN Tk_StyleEngine Tk_GetStyleEngine(CONST char *name); EXTERN Tk_StyleEngine Tk_GetStyleEngine(const char *name);
#endif
#ifndef Tk_RegisterStyledElement_TCL_DECLARED
#define Tk_RegisterStyledElement_TCL_DECLARED
/* 251 */ /* 251 */
EXTERN int Tk_RegisterStyledElement(Tk_StyleEngine engine, EXTERN int Tk_RegisterStyledElement(Tk_StyleEngine engine,
Tk_ElementSpec *templatePtr); Tk_ElementSpec *templatePtr);
#endif
#ifndef Tk_GetElementId_TCL_DECLARED
#define Tk_GetElementId_TCL_DECLARED
/* 252 */ /* 252 */
EXTERN int Tk_GetElementId(CONST char *name); EXTERN int Tk_GetElementId(const char *name);
#endif
#ifndef Tk_CreateStyle_TCL_DECLARED
#define Tk_CreateStyle_TCL_DECLARED
/* 253 */ /* 253 */
EXTERN Tk_Style Tk_CreateStyle(CONST char *name, EXTERN Tk_Style Tk_CreateStyle(const char *name,
Tk_StyleEngine engine, ClientData clientData ); Tk_StyleEngine engine, ClientData clientData );
#endif
#ifndef Tk_GetStyle_TCL_DECLARED
#define Tk_GetStyle_TCL_DECLARED
/* 254 */ /* 254 */
EXTERN Tk_Style Tk_GetStyle(Tcl_Interp *interp, CONST char * EXTERN Tk_Style Tk_GetStyle(Tcl_Interp *interp, const char *
name); name);
#endif
#ifndef Tk_FreeStyle_TCL_DECLARED
#define Tk_FreeStyle_TCL_DECLARED
/* 255 */ /* 255 */
EXTERN void Tk_FreeStyle(Tk_Style style); EXTERN void Tk_FreeStyle(Tk_Style style);
#endif
#ifndef Tk_NameOfStyle_TCL_DECLARED
#define Tk_NameOfStyle_TCL_DECLARED
/* 256 */ /* 256 */
EXTERN CONST char * Tk_NameOfStyle(Tk_Style style); EXTERN const char * Tk_NameOfStyle(Tk_Style style);
#endif
#ifndef Tk_AllocStyleFromObj_TCL_DECLARED
#define Tk_AllocStyleFromObj_TCL_DECLARED
/* 257 */ /* 257 */
EXTERN Tk_Style Tk_AllocStyleFromObj(Tcl_Interp *interp, EXTERN Tk_Style Tk_AllocStyleFromObj(Tcl_Interp *interp,
Tcl_Obj *objPtr); Tcl_Obj *objPtr);
#endif
#ifndef Tk_GetStyleFromObj_TCL_DECLARED
#define Tk_GetStyleFromObj_TCL_DECLARED
/* 258 */ /* 258 */
EXTERN Tk_Style Tk_GetStyleFromObj(Tcl_Obj *objPtr); EXTERN Tk_Style Tk_GetStyleFromObj(Tcl_Obj *objPtr);
#endif
#ifndef Tk_FreeStyleFromObj_TCL_DECLARED
#define Tk_FreeStyleFromObj_TCL_DECLARED
/* 259 */ /* 259 */
EXTERN void Tk_FreeStyleFromObj(Tcl_Obj *objPtr); EXTERN void Tk_FreeStyleFromObj(Tcl_Obj *objPtr);
#endif
#ifndef Tk_GetStyledElement_TCL_DECLARED
#define Tk_GetStyledElement_TCL_DECLARED
/* 260 */ /* 260 */
EXTERN Tk_StyledElement Tk_GetStyledElement(Tk_Style style, int ele mentId, EXTERN Tk_StyledElement Tk_GetStyledElement(Tk_Style style, int ele mentId,
Tk_OptionTable optionTable); Tk_OptionTable optionTable);
#endif
#ifndef Tk_GetElementSize_TCL_DECLARED
#define Tk_GetElementSize_TCL_DECLARED
/* 261 */ /* 261 */
EXTERN void Tk_GetElementSize(Tk_Style style, EXTERN void Tk_GetElementSize(Tk_Style style,
Tk_StyledElement element, char *recordPtr, Tk_StyledElement element, char *recordPtr,
Tk_Window tkwin, int width, int height, Tk_Window tkwin, int width, int height,
int inner, int *widthPtr, int *heightPtr); int inner, int *widthPtr, int *heightPtr);
#endif
#ifndef Tk_GetElementBox_TCL_DECLARED
#define Tk_GetElementBox_TCL_DECLARED
/* 262 */ /* 262 */
EXTERN void Tk_GetElementBox(Tk_Style style, EXTERN void Tk_GetElementBox(Tk_Style style,
Tk_StyledElement element, char *recordPtr, Tk_StyledElement element, char *recordPtr,
Tk_Window tkwin, int x, int y, int width, Tk_Window tkwin, int x, int y, int width,
int height, int inner, int *xPtr, int *yPtr, int height, int inner, int *xPtr, int *yPtr,
int *widthPtr, int *heightPtr); int *widthPtr, int *heightPtr);
#endif
#ifndef Tk_GetElementBorderWidth_TCL_DECLARED
#define Tk_GetElementBorderWidth_TCL_DECLARED
/* 263 */ /* 263 */
EXTERN int Tk_GetElementBorderWidth(Tk_Style style, EXTERN int Tk_GetElementBorderWidth(Tk_Style style,
Tk_StyledElement element, char *recordPtr, Tk_StyledElement element, char *recordPtr,
Tk_Window tkwin); Tk_Window tkwin);
#endif
#ifndef Tk_DrawElement_TCL_DECLARED
#define Tk_DrawElement_TCL_DECLARED
/* 264 */ /* 264 */
EXTERN void Tk_DrawElement(Tk_Style style, EXTERN void Tk_DrawElement(Tk_Style style,
Tk_StyledElement element, char *recordPtr, Tk_StyledElement element, char *recordPtr,
Tk_Window tkwin, Drawable d, int x, int y, Tk_Window tkwin, Drawable d, int x, int y,
int width, int height, int state); int width, int height, int state);
#endif
#ifndef Tk_PhotoExpand_TCL_DECLARED
#define Tk_PhotoExpand_TCL_DECLARED
/* 265 */ /* 265 */
EXTERN int Tk_PhotoExpand(Tcl_Interp *interp, EXTERN int Tk_PhotoExpand(Tcl_Interp *interp,
Tk_PhotoHandle handle, int width, int height ); Tk_PhotoHandle handle, int width, int height );
#endif
#ifndef Tk_PhotoPutBlock_TCL_DECLARED
#define Tk_PhotoPutBlock_TCL_DECLARED
/* 266 */ /* 266 */
EXTERN int Tk_PhotoPutBlock(Tcl_Interp *interp, EXTERN int Tk_PhotoPutBlock(Tcl_Interp *interp,
Tk_PhotoHandle handle, Tk_PhotoHandle handle,
Tk_PhotoImageBlock *blockPtr, int x, int y, Tk_PhotoImageBlock *blockPtr, int x, int y,
int width, int height, int compRule); int width, int height, int compRule);
#endif
#ifndef Tk_PhotoPutZoomedBlock_TCL_DECLARED
#define Tk_PhotoPutZoomedBlock_TCL_DECLARED
/* 267 */ /* 267 */
EXTERN int Tk_PhotoPutZoomedBlock(Tcl_Interp *interp, EXTERN int Tk_PhotoPutZoomedBlock(Tcl_Interp *interp,
Tk_PhotoHandle handle, Tk_PhotoHandle handle,
Tk_PhotoImageBlock *blockPtr, int x, int y, Tk_PhotoImageBlock *blockPtr, int x, int y,
int width, int height, int zoomX, int zoomY, int width, int height, int zoomX, int zoomY,
int subsampleX, int subsampleY, int compRule ); int subsampleX, int subsampleY, int compRule );
#endif
#ifndef Tk_PhotoSetSize_TCL_DECLARED
#define Tk_PhotoSetSize_TCL_DECLARED
/* 268 */ /* 268 */
EXTERN int Tk_PhotoSetSize(Tcl_Interp *interp, EXTERN int Tk_PhotoSetSize(Tcl_Interp *interp,
Tk_PhotoHandle handle, int width, int height ); Tk_PhotoHandle handle, int width, int height );
#endif
#ifndef Tk_GetUserInactiveTime_TCL_DECLARED
#define Tk_GetUserInactiveTime_TCL_DECLARED
/* 269 */ /* 269 */
EXTERN long Tk_GetUserInactiveTime(Display *dpy); EXTERN long Tk_GetUserInactiveTime(Display *dpy);
#endif
#ifndef Tk_ResetUserInactiveTime_TCL_DECLARED
#define Tk_ResetUserInactiveTime_TCL_DECLARED
/* 270 */ /* 270 */
EXTERN void Tk_ResetUserInactiveTime(Display *dpy); EXTERN void Tk_ResetUserInactiveTime(Display *dpy);
#endif
#ifndef Tk_Interp_TCL_DECLARED
#define Tk_Interp_TCL_DECLARED
/* 271 */ /* 271 */
EXTERN Tcl_Interp * Tk_Interp(Tk_Window tkwin); EXTERN Tcl_Interp * Tk_Interp(Tk_Window tkwin);
#endif
#ifndef Tk_CreateOldImageType_TCL_DECLARED
#define Tk_CreateOldImageType_TCL_DECLARED
/* 272 */ /* 272 */
EXTERN void Tk_CreateOldImageType(Tk_ImageType *typePtr); EXTERN void Tk_CreateOldImageType(const Tk_ImageType *typePtr);
#endif
#ifndef Tk_CreateOldPhotoImageFormat_TCL_DECLARED
#define Tk_CreateOldPhotoImageFormat_TCL_DECLARED
/* 273 */ /* 273 */
EXTERN void Tk_CreateOldPhotoImageFormat( EXTERN void Tk_CreateOldPhotoImageFormat(
Tk_PhotoImageFormat *formatPtr); const Tk_PhotoImageFormat *formatPtr);
#endif /* 274 */
EXTERN void reserved274(void);
/* 275 */
EXTERN void reserved275(void);
typedef struct TkStubHooks { typedef struct {
struct TkPlatStubs *tkPlatStubs; const struct TkPlatStubs *tkPlatStubs;
struct TkIntStubs *tkIntStubs; const struct TkIntStubs *tkIntStubs;
struct TkIntPlatStubs *tkIntPlatStubs; const struct TkIntPlatStubs *tkIntPlatStubs;
struct TkIntXlibStubs *tkIntXlibStubs; const struct TkIntXlibStubs *tkIntXlibStubs;
} TkStubHooks; } TkStubHooks;
typedef struct TkStubs { typedef struct TkStubs {
int magic; int magic;
struct TkStubHooks *hooks; const TkStubHooks *hooks;
void (*tk_MainLoop) (void); /* 0 */ void (*tk_MainLoop) (void); /* 0 */
XColor * (*tk_3DBorderColor) (Tk_3DBorder border); /* 1 */ XColor * (*tk_3DBorderColor) (Tk_3DBorder border); /* 1 */
GC (*tk_3DBorderGC) (Tk_Window tkwin, Tk_3DBorder border, int which); / * 2 */ GC (*tk_3DBorderGC) (Tk_Window tkwin, Tk_3DBorder border, int which); / * 2 */
void (*tk_3DHorizontalBevel) (Tk_Window tkwin, Drawable drawable, Tk_3D Border border, int x, int y, int width, int height, int leftIn, int rightIn , int topBevel, int relief); /* 3 */ void (*tk_3DHorizontalBevel) (Tk_Window tkwin, Drawable drawable, Tk_3D Border border, int x, int y, int width, int height, int leftIn, int rightIn , int topBevel, int relief); /* 3 */
void (*tk_3DVerticalBevel) (Tk_Window tkwin, Drawable drawable, Tk_3DBo rder border, int x, int y, int width, int height, int leftBevel, int relief ); /* 4 */ void (*tk_3DVerticalBevel) (Tk_Window tkwin, Drawable drawable, Tk_3DBo rder border, int x, int y, int width, int height, int leftBevel, int relief ); /* 4 */
void (*tk_AddOption) (Tk_Window tkwin, CONST char *name, CONST char *va lue, int priority); /* 5 */ void (*tk_AddOption) (Tk_Window tkwin, const char *name, const char *va lue, int priority); /* 5 */
void (*tk_BindEvent) (Tk_BindingTable bindingTable, XEvent *eventPtr, T k_Window tkwin, int numObjects, ClientData *objectPtr); /* 6 */ void (*tk_BindEvent) (Tk_BindingTable bindingTable, XEvent *eventPtr, T k_Window tkwin, int numObjects, ClientData *objectPtr); /* 6 */
void (*tk_CanvasDrawableCoords) (Tk_Canvas canvas, double x, double y, short *drawableXPtr, short *drawableYPtr); /* 7 */ void (*tk_CanvasDrawableCoords) (Tk_Canvas canvas, double x, double y, short *drawableXPtr, short *drawableYPtr); /* 7 */
void (*tk_CanvasEventuallyRedraw) (Tk_Canvas canvas, int x1, int y1, in t x2, int y2); /* 8 */ void (*tk_CanvasEventuallyRedraw) (Tk_Canvas canvas, int x1, int y1, in t x2, int y2); /* 8 */
int (*tk_CanvasGetCoord) (Tcl_Interp *interp, Tk_Canvas canvas, CONST c har *str, double *doublePtr); /* 9 */ int (*tk_CanvasGetCoord) (Tcl_Interp *interp, Tk_Canvas canvas, const c har *str, double *doublePtr); /* 9 */
Tk_CanvasTextInfo * (*tk_CanvasGetTextInfo) (Tk_Canvas canvas); /* 10 * / Tk_CanvasTextInfo * (*tk_CanvasGetTextInfo) (Tk_Canvas canvas); /* 10 * /
int (*tk_CanvasPsBitmap) (Tcl_Interp *interp, Tk_Canvas canvas, Pixmap bitmap, int x, int y, int width, int height); /* 11 */ int (*tk_CanvasPsBitmap) (Tcl_Interp *interp, Tk_Canvas canvas, Pixmap bitmap, int x, int y, int width, int height); /* 11 */
int (*tk_CanvasPsColor) (Tcl_Interp *interp, Tk_Canvas canvas, XColor * colorPtr); /* 12 */ int (*tk_CanvasPsColor) (Tcl_Interp *interp, Tk_Canvas canvas, XColor * colorPtr); /* 12 */
int (*tk_CanvasPsFont) (Tcl_Interp *interp, Tk_Canvas canvas, Tk_Font f ont); /* 13 */ int (*tk_CanvasPsFont) (Tcl_Interp *interp, Tk_Canvas canvas, Tk_Font f ont); /* 13 */
void (*tk_CanvasPsPath) (Tcl_Interp *interp, Tk_Canvas canvas, double * coordPtr, int numPoints); /* 14 */ void (*tk_CanvasPsPath) (Tcl_Interp *interp, Tk_Canvas canvas, double * coordPtr, int numPoints); /* 14 */
int (*tk_CanvasPsStipple) (Tcl_Interp *interp, Tk_Canvas canvas, Pixmap bitmap); /* 15 */ int (*tk_CanvasPsStipple) (Tcl_Interp *interp, Tk_Canvas canvas, Pixmap bitmap); /* 15 */
double (*tk_CanvasPsY) (Tk_Canvas canvas, double y); /* 16 */ double (*tk_CanvasPsY) (Tk_Canvas canvas, double y); /* 16 */
void (*tk_CanvasSetStippleOrigin) (Tk_Canvas canvas, GC gc); /* 17 */ void (*tk_CanvasSetStippleOrigin) (Tk_Canvas canvas, GC gc); /* 17 */
int (*tk_CanvasTagsParseProc) (ClientData clientData, Tcl_Interp *inter int (*tk_CanvasTagsParseProc) (ClientData clientData, Tcl_Interp *inter
p, Tk_Window tkwin, CONST char *value, char *widgRec, int offset); /* 18 */ p, Tk_Window tkwin, const char *value, char *widgRec, int offset); /* 18 */
char * (*tk_CanvasTagsPrintProc) (ClientData clientData, Tk_Window tkwi CONST86 char * (*tk_CanvasTagsPrintProc) (ClientData clientData, Tk_Win
n, char *widgRec, int offset, Tcl_FreeProc **freeProcPtr); /* 19 */ dow tkwin, char *widgRec, int offset, Tcl_FreeProc **freeProcPtr); /* 19 */
Tk_Window (*tk_CanvasTkwin) (Tk_Canvas canvas); /* 20 */ Tk_Window (*tk_CanvasTkwin) (Tk_Canvas canvas); /* 20 */
void (*tk_CanvasWindowCoords) (Tk_Canvas canvas, double x, double y, sh ort *screenXPtr, short *screenYPtr); /* 21 */ void (*tk_CanvasWindowCoords) (Tk_Canvas canvas, double x, double y, sh ort *screenXPtr, short *screenYPtr); /* 21 */
void (*tk_ChangeWindowAttributes) (Tk_Window tkwin, unsigned long value Mask, XSetWindowAttributes *attsPtr); /* 22 */ void (*tk_ChangeWindowAttributes) (Tk_Window tkwin, unsigned long value Mask, XSetWindowAttributes *attsPtr); /* 22 */
int (*tk_CharBbox) (Tk_TextLayout layout, int index, int *xPtr, int *yP tr, int *widthPtr, int *heightPtr); /* 23 */ int (*tk_CharBbox) (Tk_TextLayout layout, int index, int *xPtr, int *yP tr, int *widthPtr, int *heightPtr); /* 23 */
void (*tk_ClearSelection) (Tk_Window tkwin, Atom selection); /* 24 */ void (*tk_ClearSelection) (Tk_Window tkwin, Atom selection); /* 24 */
int (*tk_ClipboardAppend) (Tcl_Interp *interp, Tk_Window tkwin, Atom ta rget, Atom format, char *buffer); /* 25 */ int (*tk_ClipboardAppend) (Tcl_Interp *interp, Tk_Window tkwin, Atom ta rget, Atom format, const char *buffer); /* 25 */
int (*tk_ClipboardClear) (Tcl_Interp *interp, Tk_Window tkwin); /* 26 * / int (*tk_ClipboardClear) (Tcl_Interp *interp, Tk_Window tkwin); /* 26 * /
int (*tk_ConfigureInfo) (Tcl_Interp *interp, Tk_Window tkwin, Tk_Config int (*tk_ConfigureInfo) (Tcl_Interp *interp, Tk_Window tkwin, const Tk_
Spec *specs, char *widgRec, CONST char *argvName, int flags); /* 27 */ ConfigSpec *specs, char *widgRec, const char *argvName, int flags); /* 27 *
int (*tk_ConfigureValue) (Tcl_Interp *interp, Tk_Window tkwin, Tk_Confi /
gSpec *specs, char *widgRec, CONST char *argvName, int flags); /* 28 */ int (*tk_ConfigureValue) (Tcl_Interp *interp, Tk_Window tkwin, const Tk
int (*tk_ConfigureWidget) (Tcl_Interp *interp, Tk_Window tkwin, Tk_Conf _ConfigSpec *specs, char *widgRec, const char *argvName, int flags); /* 28
igSpec *specs, int argc, CONST84 char **argv, char *widgRec, int flags); /* */
29 */ int (*tk_ConfigureWidget) (Tcl_Interp *interp, Tk_Window tkwin, const T
k_ConfigSpec *specs, int argc, CONST84 char **argv, char *widgRec, int flag
s); /* 29 */
void (*tk_ConfigureWindow) (Tk_Window tkwin, unsigned int valueMask, XW indowChanges *valuePtr); /* 30 */ void (*tk_ConfigureWindow) (Tk_Window tkwin, unsigned int valueMask, XW indowChanges *valuePtr); /* 30 */
Tk_TextLayout (*tk_ComputeTextLayout) (Tk_Font font, CONST char *str, i nt numChars, int wrapLength, Tk_Justify justify, int flags, int *widthPtr, int *heightPtr); /* 31 */ Tk_TextLayout (*tk_ComputeTextLayout) (Tk_Font font, const char *str, i nt numChars, int wrapLength, Tk_Justify justify, int flags, int *widthPtr, int *heightPtr); /* 31 */
Tk_Window (*tk_CoordsToWindow) (int rootX, int rootY, Tk_Window tkwin); /* 32 */ Tk_Window (*tk_CoordsToWindow) (int rootX, int rootY, Tk_Window tkwin); /* 32 */
unsigned long (*tk_CreateBinding) (Tcl_Interp *interp, Tk_BindingTable bindingTable, ClientData object, CONST char *eventStr, CONST char *command, int append); /* 33 */ unsigned long (*tk_CreateBinding) (Tcl_Interp *interp, Tk_BindingTable bindingTable, ClientData object, const char *eventStr, const char *script, int append); /* 33 */
Tk_BindingTable (*tk_CreateBindingTable) (Tcl_Interp *interp); /* 34 */ Tk_BindingTable (*tk_CreateBindingTable) (Tcl_Interp *interp); /* 34 */
Tk_ErrorHandler (*tk_CreateErrorHandler) (Display *display, int errNum, int request, int minorCode, Tk_ErrorProc *errorProc, ClientData clientData ); /* 35 */ Tk_ErrorHandler (*tk_CreateErrorHandler) (Display *display, int errNum, int request, int minorCode, Tk_ErrorProc *errorProc, ClientData clientData ); /* 35 */
void (*tk_CreateEventHandler) (Tk_Window token, unsigned long mask, Tk_ EventProc *proc, ClientData clientData); /* 36 */ void (*tk_CreateEventHandler) (Tk_Window token, unsigned long mask, Tk_ EventProc *proc, ClientData clientData); /* 36 */
void (*tk_CreateGenericHandler) (Tk_GenericProc *proc, ClientData clien tData); /* 37 */ void (*tk_CreateGenericHandler) (Tk_GenericProc *proc, ClientData clien tData); /* 37 */
void (*tk_CreateImageType) (Tk_ImageType *typePtr); /* 38 */ void (*tk_CreateImageType) (const Tk_ImageType *typePtr); /* 38 */
void (*tk_CreateItemType) (Tk_ItemType *typePtr); /* 39 */ void (*tk_CreateItemType) (Tk_ItemType *typePtr); /* 39 */
void (*tk_CreatePhotoImageFormat) (Tk_PhotoImageFormat *formatPtr); /* 40 */ void (*tk_CreatePhotoImageFormat) (const Tk_PhotoImageFormat *formatPtr ); /* 40 */
void (*tk_CreateSelHandler) (Tk_Window tkwin, Atom selection, Atom targ et, Tk_SelectionProc *proc, ClientData clientData, Atom format); /* 41 */ void (*tk_CreateSelHandler) (Tk_Window tkwin, Atom selection, Atom targ et, Tk_SelectionProc *proc, ClientData clientData, Atom format); /* 41 */
Tk_Window (*tk_CreateWindow) (Tcl_Interp *interp, Tk_Window parent, CON Tk_Window (*tk_CreateWindow) (Tcl_Interp *interp, Tk_Window parent, con
ST char *name, CONST char *screenName); /* 42 */ st char *name, const char *screenName); /* 42 */
Tk_Window (*tk_CreateWindowFromPath) (Tcl_Interp *interp, Tk_Window tkw Tk_Window (*tk_CreateWindowFromPath) (Tcl_Interp *interp, Tk_Window tkw
in, CONST char *pathName, CONST char *screenName); /* 43 */ in, const char *pathName, const char *screenName); /* 43 */
int (*tk_DefineBitmap) (Tcl_Interp *interp, CONST char *name, CONST cha int (*tk_DefineBitmap) (Tcl_Interp *interp, const char *name, const voi
r *source, int width, int height); /* 44 */ d *source, int width, int height); /* 44 */
void (*tk_DefineCursor) (Tk_Window window, Tk_Cursor cursor); /* 45 */ void (*tk_DefineCursor) (Tk_Window window, Tk_Cursor cursor); /* 45 */
void (*tk_DeleteAllBindings) (Tk_BindingTable bindingTable, ClientData object); /* 46 */ void (*tk_DeleteAllBindings) (Tk_BindingTable bindingTable, ClientData object); /* 46 */
int (*tk_DeleteBinding) (Tcl_Interp *interp, Tk_BindingTable bindingTab le, ClientData object, CONST char *eventStr); /* 47 */ int (*tk_DeleteBinding) (Tcl_Interp *interp, Tk_BindingTable bindingTab le, ClientData object, const char *eventStr); /* 47 */
void (*tk_DeleteBindingTable) (Tk_BindingTable bindingTable); /* 48 */ void (*tk_DeleteBindingTable) (Tk_BindingTable bindingTable); /* 48 */
void (*tk_DeleteErrorHandler) (Tk_ErrorHandler handler); /* 49 */ void (*tk_DeleteErrorHandler) (Tk_ErrorHandler handler); /* 49 */
void (*tk_DeleteEventHandler) (Tk_Window token, unsigned long mask, Tk_ EventProc *proc, ClientData clientData); /* 50 */ void (*tk_DeleteEventHandler) (Tk_Window token, unsigned long mask, Tk_ EventProc *proc, ClientData clientData); /* 50 */
void (*tk_DeleteGenericHandler) (Tk_GenericProc *proc, ClientData clien tData); /* 51 */ void (*tk_DeleteGenericHandler) (Tk_GenericProc *proc, ClientData clien tData); /* 51 */
void (*tk_DeleteImage) (Tcl_Interp *interp, CONST char *name); /* 52 */ void (*tk_DeleteImage) (Tcl_Interp *interp, const char *name); /* 52 */
void (*tk_DeleteSelHandler) (Tk_Window tkwin, Atom selection, Atom targ et); /* 53 */ void (*tk_DeleteSelHandler) (Tk_Window tkwin, Atom selection, Atom targ et); /* 53 */
void (*tk_DestroyWindow) (Tk_Window tkwin); /* 54 */ void (*tk_DestroyWindow) (Tk_Window tkwin); /* 54 */
CONST84_RETURN char * (*tk_DisplayName) (Tk_Window tkwin); /* 55 */ CONST84_RETURN char * (*tk_DisplayName) (Tk_Window tkwin); /* 55 */
int (*tk_DistanceToTextLayout) (Tk_TextLayout layout, int x, int y); /* 56 */ int (*tk_DistanceToTextLayout) (Tk_TextLayout layout, int x, int y); /* 56 */
void (*tk_Draw3DPolygon) (Tk_Window tkwin, Drawable drawable, Tk_3DBord er border, XPoint *pointPtr, int numPoints, int borderWidth, int leftRelief ); /* 57 */ void (*tk_Draw3DPolygon) (Tk_Window tkwin, Drawable drawable, Tk_3DBord er border, XPoint *pointPtr, int numPoints, int borderWidth, int leftRelief ); /* 57 */
void (*tk_Draw3DRectangle) (Tk_Window tkwin, Drawable drawable, Tk_3DBo rder border, int x, int y, int width, int height, int borderWidth, int reli ef); /* 58 */ void (*tk_Draw3DRectangle) (Tk_Window tkwin, Drawable drawable, Tk_3DBo rder border, int x, int y, int width, int height, int borderWidth, int reli ef); /* 58 */
void (*tk_DrawChars) (Display *display, Drawable drawable, GC gc, Tk_Fo nt tkfont, CONST char *source, int numBytes, int x, int y); /* 59 */ void (*tk_DrawChars) (Display *display, Drawable drawable, GC gc, Tk_Fo nt tkfont, const char *source, int numBytes, int x, int y); /* 59 */
void (*tk_DrawFocusHighlight) (Tk_Window tkwin, GC gc, int width, Drawa ble drawable); /* 60 */ void (*tk_DrawFocusHighlight) (Tk_Window tkwin, GC gc, int width, Drawa ble drawable); /* 60 */
void (*tk_DrawTextLayout) (Display *display, Drawable drawable, GC gc, Tk_TextLayout layout, int x, int y, int firstChar, int lastChar); /* 61 */ void (*tk_DrawTextLayout) (Display *display, Drawable drawable, GC gc, Tk_TextLayout layout, int x, int y, int firstChar, int lastChar); /* 61 */
void (*tk_Fill3DPolygon) (Tk_Window tkwin, Drawable drawable, Tk_3DBord er border, XPoint *pointPtr, int numPoints, int borderWidth, int leftRelief ); /* 62 */ void (*tk_Fill3DPolygon) (Tk_Window tkwin, Drawable drawable, Tk_3DBord er border, XPoint *pointPtr, int numPoints, int borderWidth, int leftRelief ); /* 62 */
void (*tk_Fill3DRectangle) (Tk_Window tkwin, Drawable drawable, Tk_3DBo rder border, int x, int y, int width, int height, int borderWidth, int reli ef); /* 63 */ void (*tk_Fill3DRectangle) (Tk_Window tkwin, Drawable drawable, Tk_3DBo rder border, int x, int y, int width, int height, int borderWidth, int reli ef); /* 63 */
Tk_PhotoHandle (*tk_FindPhoto) (Tcl_Interp *interp, CONST char *imageNa me); /* 64 */ Tk_PhotoHandle (*tk_FindPhoto) (Tcl_Interp *interp, const char *imageNa me); /* 64 */
Font (*tk_FontId) (Tk_Font font); /* 65 */ Font (*tk_FontId) (Tk_Font font); /* 65 */
void (*tk_Free3DBorder) (Tk_3DBorder border); /* 66 */ void (*tk_Free3DBorder) (Tk_3DBorder border); /* 66 */
void (*tk_FreeBitmap) (Display *display, Pixmap bitmap); /* 67 */ void (*tk_FreeBitmap) (Display *display, Pixmap bitmap); /* 67 */
void (*tk_FreeColor) (XColor *colorPtr); /* 68 */ void (*tk_FreeColor) (XColor *colorPtr); /* 68 */
void (*tk_FreeColormap) (Display *display, Colormap colormap); /* 69 */ void (*tk_FreeColormap) (Display *display, Colormap colormap); /* 69 */
void (*tk_FreeCursor) (Display *display, Tk_Cursor cursor); /* 70 */ void (*tk_FreeCursor) (Display *display, Tk_Cursor cursor); /* 70 */
void (*tk_FreeFont) (Tk_Font f); /* 71 */ void (*tk_FreeFont) (Tk_Font f); /* 71 */
void (*tk_FreeGC) (Display *display, GC gc); /* 72 */ void (*tk_FreeGC) (Display *display, GC gc); /* 72 */
void (*tk_FreeImage) (Tk_Image image); /* 73 */ void (*tk_FreeImage) (Tk_Image image); /* 73 */
void (*tk_FreeOptions) (Tk_ConfigSpec *specs, char *widgRec, Display *d isplay, int needFlags); /* 74 */ void (*tk_FreeOptions) (const Tk_ConfigSpec *specs, char *widgRec, Disp lay *display, int needFlags); /* 74 */
void (*tk_FreePixmap) (Display *display, Pixmap pixmap); /* 75 */ void (*tk_FreePixmap) (Display *display, Pixmap pixmap); /* 75 */
void (*tk_FreeTextLayout) (Tk_TextLayout textLayout); /* 76 */ void (*tk_FreeTextLayout) (Tk_TextLayout textLayout); /* 76 */
void (*tk_FreeXId) (Display *display, XID xid); /* 77 */ void (*tk_FreeXId) (Display *display, XID xid); /* 77 */
GC (*tk_GCForColor) (XColor *colorPtr, Drawable drawable); /* 78 */ GC (*tk_GCForColor) (XColor *colorPtr, Drawable drawable); /* 78 */
void (*tk_GeometryRequest) (Tk_Window tkwin, int reqWidth, int reqHeigh t); /* 79 */ void (*tk_GeometryRequest) (Tk_Window tkwin, int reqWidth, int reqHeigh t); /* 79 */
Tk_3DBorder (*tk_Get3DBorder) (Tcl_Interp *interp, Tk_Window tkwin, Tk_ Uid colorName); /* 80 */ Tk_3DBorder (*tk_Get3DBorder) (Tcl_Interp *interp, Tk_Window tkwin, Tk_ Uid colorName); /* 80 */
void (*tk_GetAllBindings) (Tcl_Interp *interp, Tk_BindingTable bindingT able, ClientData object); /* 81 */ void (*tk_GetAllBindings) (Tcl_Interp *interp, Tk_BindingTable bindingT able, ClientData object); /* 81 */
int (*tk_GetAnchor) (Tcl_Interp *interp, CONST char *str, Tk_Anchor *an chorPtr); /* 82 */ int (*tk_GetAnchor) (Tcl_Interp *interp, const char *str, Tk_Anchor *an chorPtr); /* 82 */
CONST84_RETURN char * (*tk_GetAtomName) (Tk_Window tkwin, Atom atom); / * 83 */ CONST84_RETURN char * (*tk_GetAtomName) (Tk_Window tkwin, Atom atom); / * 83 */
CONST84_RETURN char * (*tk_GetBinding) (Tcl_Interp *interp, Tk_BindingT CONST84_RETURN char * (*tk_GetBinding) (Tcl_Interp *interp, Tk_BindingT
able bindingTable, ClientData object, CONST char *eventStr); /* 84 */ able bindingTable, ClientData object, const char *eventStr); /* 84 */
Pixmap (*tk_GetBitmap) (Tcl_Interp *interp, Tk_Window tkwin, CONST char Pixmap (*tk_GetBitmap) (Tcl_Interp *interp, Tk_Window tkwin, const char
*str); /* 85 */ *str); /* 85 */
Pixmap (*tk_GetBitmapFromData) (Tcl_Interp *interp, Tk_Window tkwin, CO Pixmap (*tk_GetBitmapFromData) (Tcl_Interp *interp, Tk_Window tkwin, co
NST char *source, int width, int height); /* 86 */ nst void *source, int width, int height); /* 86 */
int (*tk_GetCapStyle) (Tcl_Interp *interp, CONST char *str, int *capPtr int (*tk_GetCapStyle) (Tcl_Interp *interp, const char *str, int *capPtr
); /* 87 */ ); /* 87 */
XColor * (*tk_GetColor) (Tcl_Interp *interp, Tk_Window tkwin, Tk_Uid na me); /* 88 */ XColor * (*tk_GetColor) (Tcl_Interp *interp, Tk_Window tkwin, Tk_Uid na me); /* 88 */
XColor * (*tk_GetColorByValue) (Tk_Window tkwin, XColor *colorPtr); /* 89 */ XColor * (*tk_GetColorByValue) (Tk_Window tkwin, XColor *colorPtr); /* 89 */
Colormap (*tk_GetColormap) (Tcl_Interp *interp, Tk_Window tkwin, CONST char *str); /* 90 */ Colormap (*tk_GetColormap) (Tcl_Interp *interp, Tk_Window tkwin, const char *str); /* 90 */
Tk_Cursor (*tk_GetCursor) (Tcl_Interp *interp, Tk_Window tkwin, Tk_Uid str); /* 91 */ Tk_Cursor (*tk_GetCursor) (Tcl_Interp *interp, Tk_Window tkwin, Tk_Uid str); /* 91 */
Tk_Cursor (*tk_GetCursorFromData) (Tcl_Interp *interp, Tk_Window tkwin, Tk_Cursor (*tk_GetCursorFromData) (Tcl_Interp *interp, Tk_Window tkwin,
CONST char *source, CONST char *mask, int width, int height, int xHot, int const char *source, const char *mask, int width, int height, int xHot, int
yHot, Tk_Uid fg, Tk_Uid bg); /* 92 */ yHot, Tk_Uid fg, Tk_Uid bg); /* 92 */
Tk_Font (*tk_GetFont) (Tcl_Interp *interp, Tk_Window tkwin, CONST char Tk_Font (*tk_GetFont) (Tcl_Interp *interp, Tk_Window tkwin, const char
*str); /* 93 */ *str); /* 93 */
Tk_Font (*tk_GetFontFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 94 */ Tk_Font (*tk_GetFontFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 94 */
void (*tk_GetFontMetrics) (Tk_Font font, Tk_FontMetrics *fmPtr); /* 95 */ void (*tk_GetFontMetrics) (Tk_Font font, Tk_FontMetrics *fmPtr); /* 95 */
GC (*tk_GetGC) (Tk_Window tkwin, unsigned long valueMask, XGCValues *va luePtr); /* 96 */ GC (*tk_GetGC) (Tk_Window tkwin, unsigned long valueMask, XGCValues *va luePtr); /* 96 */
Tk_Image (*tk_GetImage) (Tcl_Interp *interp, Tk_Window tkwin, CONST cha Tk_Image (*tk_GetImage) (Tcl_Interp *interp, Tk_Window tkwin, const cha
r *name, Tk_ImageChangedProc *changeProc, ClientData clientData); /* 97 */ r *name, Tk_ImageChangedProc *changeProc, ClientData clientData); /* 97 */
ClientData (*tk_GetImageMasterData) (Tcl_Interp *interp, CONST char *na ClientData (*tk_GetImageMasterData) (Tcl_Interp *interp, const char *na
me, Tk_ImageType **typePtrPtr); /* 98 */ me, CONST86 Tk_ImageType **typePtrPtr); /* 98 */
Tk_ItemType * (*tk_GetItemTypes) (void); /* 99 */ Tk_ItemType * (*tk_GetItemTypes) (void); /* 99 */
int (*tk_GetJoinStyle) (Tcl_Interp *interp, CONST char *str, int *joinP int (*tk_GetJoinStyle) (Tcl_Interp *interp, const char *str, int *joinP
tr); /* 100 */ tr); /* 100 */
int (*tk_GetJustify) (Tcl_Interp *interp, CONST char *str, Tk_Justify * int (*tk_GetJustify) (Tcl_Interp *interp, const char *str, Tk_Justify *
justifyPtr); /* 101 */ justifyPtr); /* 101 */
int (*tk_GetNumMainWindows) (void); /* 102 */ int (*tk_GetNumMainWindows) (void); /* 102 */
Tk_Uid (*tk_GetOption) (Tk_Window tkwin, CONST char *name, CONST char * Tk_Uid (*tk_GetOption) (Tk_Window tkwin, const char *name, const char *
className); /* 103 */ className); /* 103 */
int (*tk_GetPixels) (Tcl_Interp *interp, Tk_Window tkwin, CONST char *s int (*tk_GetPixels) (Tcl_Interp *interp, Tk_Window tkwin, const char *s
tr, int *intPtr); /* 104 */ tr, int *intPtr); /* 104 */
Pixmap (*tk_GetPixmap) (Display *display, Drawable d, int width, int he ight, int depth); /* 105 */ Pixmap (*tk_GetPixmap) (Display *display, Drawable d, int width, int he ight, int depth); /* 105 */
int (*tk_GetRelief) (Tcl_Interp *interp, CONST char *name, int *reliefP tr); /* 106 */ int (*tk_GetRelief) (Tcl_Interp *interp, const char *name, int *reliefP tr); /* 106 */
void (*tk_GetRootCoords) (Tk_Window tkwin, int *xPtr, int *yPtr); /* 10 7 */ void (*tk_GetRootCoords) (Tk_Window tkwin, int *xPtr, int *yPtr); /* 10 7 */
int (*tk_GetScrollInfo) (Tcl_Interp *interp, int argc, CONST84 char **a rgv, double *dblPtr, int *intPtr); /* 108 */ int (*tk_GetScrollInfo) (Tcl_Interp *interp, int argc, CONST84 char **a rgv, double *dblPtr, int *intPtr); /* 108 */
int (*tk_GetScreenMM) (Tcl_Interp *interp, Tk_Window tkwin, CONST char *str, double *doublePtr); /* 109 */ int (*tk_GetScreenMM) (Tcl_Interp *interp, Tk_Window tkwin, const char *str, double *doublePtr); /* 109 */
int (*tk_GetSelection) (Tcl_Interp *interp, Tk_Window tkwin, Atom selec tion, Atom target, Tk_GetSelProc *proc, ClientData clientData); /* 110 */ int (*tk_GetSelection) (Tcl_Interp *interp, Tk_Window tkwin, Atom selec tion, Atom target, Tk_GetSelProc *proc, ClientData clientData); /* 110 */
Tk_Uid (*tk_GetUid) (CONST char *str); /* 111 */ Tk_Uid (*tk_GetUid) (const char *str); /* 111 */
Visual * (*tk_GetVisual) (Tcl_Interp *interp, Tk_Window tkwin, CONST ch Visual * (*tk_GetVisual) (Tcl_Interp *interp, Tk_Window tkwin, const ch
ar *str, int *depthPtr, Colormap *colormapPtr); /* 112 */ ar *str, int *depthPtr, Colormap *colormapPtr); /* 112 */
void (*tk_GetVRootGeometry) (Tk_Window tkwin, int *xPtr, int *yPtr, int *widthPtr, int *heightPtr); /* 113 */ void (*tk_GetVRootGeometry) (Tk_Window tkwin, int *xPtr, int *yPtr, int *widthPtr, int *heightPtr); /* 113 */
int (*tk_Grab) (Tcl_Interp *interp, Tk_Window tkwin, int grabGlobal); / * 114 */ int (*tk_Grab) (Tcl_Interp *interp, Tk_Window tkwin, int grabGlobal); / * 114 */
void (*tk_HandleEvent) (XEvent *eventPtr); /* 115 */ void (*tk_HandleEvent) (XEvent *eventPtr); /* 115 */
Tk_Window (*tk_IdToWindow) (Display *display, Window window); /* 116 */ Tk_Window (*tk_IdToWindow) (Display *display, Window window); /* 116 */
void (*tk_ImageChanged) (Tk_ImageMaster master, int x, int y, int width , int height, int imageWidth, int imageHeight); /* 117 */ void (*tk_ImageChanged) (Tk_ImageMaster master, int x, int y, int width , int height, int imageWidth, int imageHeight); /* 117 */
int (*tk_Init) (Tcl_Interp *interp); /* 118 */ int (*tk_Init) (Tcl_Interp *interp); /* 118 */
Atom (*tk_InternAtom) (Tk_Window tkwin, CONST char *name); /* 119 */ Atom (*tk_InternAtom) (Tk_Window tkwin, const char *name); /* 119 */
int (*tk_IntersectTextLayout) (Tk_TextLayout layout, int x, int y, int width, int height); /* 120 */ int (*tk_IntersectTextLayout) (Tk_TextLayout layout, int x, int y, int width, int height); /* 120 */
void (*tk_MaintainGeometry) (Tk_Window slave, Tk_Window master, int x, int y, int width, int height); /* 121 */ void (*tk_MaintainGeometry) (Tk_Window slave, Tk_Window master, int x, int y, int width, int height); /* 121 */
Tk_Window (*tk_MainWindow) (Tcl_Interp *interp); /* 122 */ Tk_Window (*tk_MainWindow) (Tcl_Interp *interp); /* 122 */
void (*tk_MakeWindowExist) (Tk_Window tkwin); /* 123 */ void (*tk_MakeWindowExist) (Tk_Window tkwin); /* 123 */
void (*tk_ManageGeometry) (Tk_Window tkwin, CONST Tk_GeomMgr *mgrPtr, C lientData clientData); /* 124 */ void (*tk_ManageGeometry) (Tk_Window tkwin, const Tk_GeomMgr *mgrPtr, C lientData clientData); /* 124 */
void (*tk_MapWindow) (Tk_Window tkwin); /* 125 */ void (*tk_MapWindow) (Tk_Window tkwin); /* 125 */
int (*tk_MeasureChars) (Tk_Font tkfont, CONST char *source, int numByte s, int maxPixels, int flags, int *lengthPtr); /* 126 */ int (*tk_MeasureChars) (Tk_Font tkfont, const char *source, int numByte s, int maxPixels, int flags, int *lengthPtr); /* 126 */
void (*tk_MoveResizeWindow) (Tk_Window tkwin, int x, int y, int width, int height); /* 127 */ void (*tk_MoveResizeWindow) (Tk_Window tkwin, int x, int y, int width, int height); /* 127 */
void (*tk_MoveWindow) (Tk_Window tkwin, int x, int y); /* 128 */ void (*tk_MoveWindow) (Tk_Window tkwin, int x, int y); /* 128 */
void (*tk_MoveToplevelWindow) (Tk_Window tkwin, int x, int y); /* 129 * / void (*tk_MoveToplevelWindow) (Tk_Window tkwin, int x, int y); /* 129 * /
CONST84_RETURN char * (*tk_NameOf3DBorder) (Tk_3DBorder border); /* 130 */ CONST84_RETURN char * (*tk_NameOf3DBorder) (Tk_3DBorder border); /* 130 */
CONST84_RETURN char * (*tk_NameOfAnchor) (Tk_Anchor anchor); /* 131 */ CONST84_RETURN char * (*tk_NameOfAnchor) (Tk_Anchor anchor); /* 131 */
CONST84_RETURN char * (*tk_NameOfBitmap) (Display *display, Pixmap bitm ap); /* 132 */ CONST84_RETURN char * (*tk_NameOfBitmap) (Display *display, Pixmap bitm ap); /* 132 */
CONST84_RETURN char * (*tk_NameOfCapStyle) (int cap); /* 133 */ CONST84_RETURN char * (*tk_NameOfCapStyle) (int cap); /* 133 */
CONST84_RETURN char * (*tk_NameOfColor) (XColor *colorPtr); /* 134 */ CONST84_RETURN char * (*tk_NameOfColor) (XColor *colorPtr); /* 134 */
CONST84_RETURN char * (*tk_NameOfCursor) (Display *display, Tk_Cursor c ursor); /* 135 */ CONST84_RETURN char * (*tk_NameOfCursor) (Display *display, Tk_Cursor c ursor); /* 135 */
CONST84_RETURN char * (*tk_NameOfFont) (Tk_Font font); /* 136 */ CONST84_RETURN char * (*tk_NameOfFont) (Tk_Font font); /* 136 */
CONST84_RETURN char * (*tk_NameOfImage) (Tk_ImageMaster imageMaster); / * 137 */ CONST84_RETURN char * (*tk_NameOfImage) (Tk_ImageMaster imageMaster); / * 137 */
CONST84_RETURN char * (*tk_NameOfJoinStyle) (int join); /* 138 */ CONST84_RETURN char * (*tk_NameOfJoinStyle) (int join); /* 138 */
CONST84_RETURN char * (*tk_NameOfJustify) (Tk_Justify justify); /* 139 */ CONST84_RETURN char * (*tk_NameOfJustify) (Tk_Justify justify); /* 139 */
CONST84_RETURN char * (*tk_NameOfRelief) (int relief); /* 140 */ CONST84_RETURN char * (*tk_NameOfRelief) (int relief); /* 140 */
Tk_Window (*tk_NameToWindow) (Tcl_Interp *interp, CONST char *pathName, Tk_Window tkwin); /* 141 */ Tk_Window (*tk_NameToWindow) (Tcl_Interp *interp, const char *pathName, Tk_Window tkwin); /* 141 */
void (*tk_OwnSelection) (Tk_Window tkwin, Atom selection, Tk_LostSelPro c *proc, ClientData clientData); /* 142 */ void (*tk_OwnSelection) (Tk_Window tkwin, Atom selection, Tk_LostSelPro c *proc, ClientData clientData); /* 142 */
int (*tk_ParseArgv) (Tcl_Interp *interp, Tk_Window tkwin, int *argcPtr, CONST84 char **argv, Tk_ArgvInfo *argTable, int flags); /* 143 */ int (*tk_ParseArgv) (Tcl_Interp *interp, Tk_Window tkwin, int *argcPtr, CONST84 char **argv, const Tk_ArgvInfo *argTable, int flags); /* 143 */
void (*tk_PhotoPutBlock_NoComposite) (Tk_PhotoHandle handle, Tk_PhotoIm ageBlock *blockPtr, int x, int y, int width, int height); /* 144 */ void (*tk_PhotoPutBlock_NoComposite) (Tk_PhotoHandle handle, Tk_PhotoIm ageBlock *blockPtr, int x, int y, int width, int height); /* 144 */
void (*tk_PhotoPutZoomedBlock_NoComposite) (Tk_PhotoHandle handle, Tk_P hotoImageBlock *blockPtr, int x, int y, int width, int height, int zoomX, i nt zoomY, int subsampleX, int subsampleY); /* 145 */ void (*tk_PhotoPutZoomedBlock_NoComposite) (Tk_PhotoHandle handle, Tk_P hotoImageBlock *blockPtr, int x, int y, int width, int height, int zoomX, i nt zoomY, int subsampleX, int subsampleY); /* 145 */
int (*tk_PhotoGetImage) (Tk_PhotoHandle handle, Tk_PhotoImageBlock *blo ckPtr); /* 146 */ int (*tk_PhotoGetImage) (Tk_PhotoHandle handle, Tk_PhotoImageBlock *blo ckPtr); /* 146 */
void (*tk_PhotoBlank) (Tk_PhotoHandle handle); /* 147 */ void (*tk_PhotoBlank) (Tk_PhotoHandle handle); /* 147 */
void (*tk_PhotoExpand_Panic) (Tk_PhotoHandle handle, int width, int hei ght); /* 148 */ void (*tk_PhotoExpand_Panic) (Tk_PhotoHandle handle, int width, int hei ght); /* 148 */
void (*tk_PhotoGetSize) (Tk_PhotoHandle handle, int *widthPtr, int *hei ghtPtr); /* 149 */ void (*tk_PhotoGetSize) (Tk_PhotoHandle handle, int *widthPtr, int *hei ghtPtr); /* 149 */
void (*tk_PhotoSetSize_Panic) (Tk_PhotoHandle handle, int width, int he ight); /* 150 */ void (*tk_PhotoSetSize_Panic) (Tk_PhotoHandle handle, int width, int he ight); /* 150 */
int (*tk_PointToChar) (Tk_TextLayout layout, int x, int y); /* 151 */ int (*tk_PointToChar) (Tk_TextLayout layout, int x, int y); /* 151 */
int (*tk_PostscriptFontName) (Tk_Font tkfont, Tcl_DString *dsPtr); /* 1 52 */ int (*tk_PostscriptFontName) (Tk_Font tkfont, Tcl_DString *dsPtr); /* 1 52 */
void (*tk_PreserveColormap) (Display *display, Colormap colormap); /* 1 53 */ void (*tk_PreserveColormap) (Display *display, Colormap colormap); /* 1 53 */
void (*tk_QueueWindowEvent) (XEvent *eventPtr, Tcl_QueuePosition positi on); /* 154 */ void (*tk_QueueWindowEvent) (XEvent *eventPtr, Tcl_QueuePosition positi on); /* 154 */
void (*tk_RedrawImage) (Tk_Image image, int imageX, int imageY, int wid th, int height, Drawable drawable, int drawableX, int drawableY); /* 155 */ void (*tk_RedrawImage) (Tk_Image image, int imageX, int imageY, int wid th, int height, Drawable drawable, int drawableX, int drawableY); /* 155 */
void (*tk_ResizeWindow) (Tk_Window tkwin, int width, int height); /* 15 6 */ void (*tk_ResizeWindow) (Tk_Window tkwin, int width, int height); /* 15 6 */
int (*tk_RestackWindow) (Tk_Window tkwin, int aboveBelow, Tk_Window oth er); /* 157 */ int (*tk_RestackWindow) (Tk_Window tkwin, int aboveBelow, Tk_Window oth er); /* 157 */
Tk_RestrictProc * (*tk_RestrictEvents) (Tk_RestrictProc *proc, ClientDa ta arg, ClientData *prevArgPtr); /* 158 */ Tk_RestrictProc * (*tk_RestrictEvents) (Tk_RestrictProc *proc, ClientDa ta arg, ClientData *prevArgPtr); /* 158 */
int (*tk_SafeInit) (Tcl_Interp *interp); /* 159 */ int (*tk_SafeInit) (Tcl_Interp *interp); /* 159 */
CONST char * (*tk_SetAppName) (Tk_Window tkwin, CONST char *name); /* 1 60 */ const char * (*tk_SetAppName) (Tk_Window tkwin, const char *name); /* 1 60 */
void (*tk_SetBackgroundFromBorder) (Tk_Window tkwin, Tk_3DBorder border ); /* 161 */ void (*tk_SetBackgroundFromBorder) (Tk_Window tkwin, Tk_3DBorder border ); /* 161 */
void (*tk_SetClass) (Tk_Window tkwin, CONST char *className); /* 162 */ void (*tk_SetClass) (Tk_Window tkwin, const char *className); /* 162 */
void (*tk_SetGrid) (Tk_Window tkwin, int reqWidth, int reqHeight, int g ridWidth, int gridHeight); /* 163 */ void (*tk_SetGrid) (Tk_Window tkwin, int reqWidth, int reqHeight, int g ridWidth, int gridHeight); /* 163 */
void (*tk_SetInternalBorder) (Tk_Window tkwin, int width); /* 164 */ void (*tk_SetInternalBorder) (Tk_Window tkwin, int width); /* 164 */
void (*tk_SetWindowBackground) (Tk_Window tkwin, unsigned long pixel); /* 165 */ void (*tk_SetWindowBackground) (Tk_Window tkwin, unsigned long pixel); /* 165 */
void (*tk_SetWindowBackgroundPixmap) (Tk_Window tkwin, Pixmap pixmap); /* 166 */ void (*tk_SetWindowBackgroundPixmap) (Tk_Window tkwin, Pixmap pixmap); /* 166 */
void (*tk_SetWindowBorder) (Tk_Window tkwin, unsigned long pixel); /* 1 67 */ void (*tk_SetWindowBorder) (Tk_Window tkwin, unsigned long pixel); /* 1 67 */
void (*tk_SetWindowBorderWidth) (Tk_Window tkwin, int width); /* 168 */ void (*tk_SetWindowBorderWidth) (Tk_Window tkwin, int width); /* 168 */
void (*tk_SetWindowBorderPixmap) (Tk_Window tkwin, Pixmap pixmap); /* 1 69 */ void (*tk_SetWindowBorderPixmap) (Tk_Window tkwin, Pixmap pixmap); /* 1 69 */
void (*tk_SetWindowColormap) (Tk_Window tkwin, Colormap colormap); /* 1 70 */ void (*tk_SetWindowColormap) (Tk_Window tkwin, Colormap colormap); /* 1 70 */
int (*tk_SetWindowVisual) (Tk_Window tkwin, Visual *visual, int depth, Colormap colormap); /* 171 */ int (*tk_SetWindowVisual) (Tk_Window tkwin, Visual *visual, int depth, Colormap colormap); /* 171 */
void (*tk_SizeOfBitmap) (Display *display, Pixmap bitmap, int *widthPtr , int *heightPtr); /* 172 */ void (*tk_SizeOfBitmap) (Display *display, Pixmap bitmap, int *widthPtr , int *heightPtr); /* 172 */
void (*tk_SizeOfImage) (Tk_Image image, int *widthPtr, int *heightPtr); /* 173 */ void (*tk_SizeOfImage) (Tk_Image image, int *widthPtr, int *heightPtr); /* 173 */
int (*tk_StrictMotif) (Tk_Window tkwin); /* 174 */ int (*tk_StrictMotif) (Tk_Window tkwin); /* 174 */
void (*tk_TextLayoutToPostscript) (Tcl_Interp *interp, Tk_TextLayout la yout); /* 175 */ void (*tk_TextLayoutToPostscript) (Tcl_Interp *interp, Tk_TextLayout la yout); /* 175 */
int (*tk_TextWidth) (Tk_Font font, CONST char *str, int numBytes); /* 1 76 */ int (*tk_TextWidth) (Tk_Font font, const char *str, int numBytes); /* 1 76 */
void (*tk_UndefineCursor) (Tk_Window window); /* 177 */ void (*tk_UndefineCursor) (Tk_Window window); /* 177 */
void (*tk_UnderlineChars) (Display *display, Drawable drawable, GC gc, Tk_Font tkfont, CONST char *source, int x, int y, int firstByte, int lastBy te); /* 178 */ void (*tk_UnderlineChars) (Display *display, Drawable drawable, GC gc, Tk_Font tkfont, const char *source, int x, int y, int firstByte, int lastBy te); /* 178 */
void (*tk_UnderlineTextLayout) (Display *display, Drawable drawable, GC gc, Tk_TextLayout layout, int x, int y, int underline); /* 179 */ void (*tk_UnderlineTextLayout) (Display *display, Drawable drawable, GC gc, Tk_TextLayout layout, int x, int y, int underline); /* 179 */
void (*tk_Ungrab) (Tk_Window tkwin); /* 180 */ void (*tk_Ungrab) (Tk_Window tkwin); /* 180 */
void (*tk_UnmaintainGeometry) (Tk_Window slave, Tk_Window master); /* 1 81 */ void (*tk_UnmaintainGeometry) (Tk_Window slave, Tk_Window master); /* 1 81 */
void (*tk_UnmapWindow) (Tk_Window tkwin); /* 182 */ void (*tk_UnmapWindow) (Tk_Window tkwin); /* 182 */
void (*tk_UnsetGrid) (Tk_Window tkwin); /* 183 */ void (*tk_UnsetGrid) (Tk_Window tkwin); /* 183 */
void (*tk_UpdatePointer) (Tk_Window tkwin, int x, int y, int state); /* 184 */ void (*tk_UpdatePointer) (Tk_Window tkwin, int x, int y, int state); /* 184 */
Pixmap (*tk_AllocBitmapFromObj) (Tcl_Interp *interp, Tk_Window tkwin, T cl_Obj *objPtr); /* 185 */ Pixmap (*tk_AllocBitmapFromObj) (Tcl_Interp *interp, Tk_Window tkwin, T cl_Obj *objPtr); /* 185 */
Tk_3DBorder (*tk_Alloc3DBorderFromObj) (Tcl_Interp *interp, Tk_Window t kwin, Tcl_Obj *objPtr); /* 186 */ Tk_3DBorder (*tk_Alloc3DBorderFromObj) (Tcl_Interp *interp, Tk_Window t kwin, Tcl_Obj *objPtr); /* 186 */
XColor * (*tk_AllocColorFromObj) (Tcl_Interp *interp, Tk_Window tkwin, Tcl_Obj *objPtr); /* 187 */ XColor * (*tk_AllocColorFromObj) (Tcl_Interp *interp, Tk_Window tkwin, Tcl_Obj *objPtr); /* 187 */
Tk_Cursor (*tk_AllocCursorFromObj) (Tcl_Interp *interp, Tk_Window tkwin , Tcl_Obj *objPtr); /* 188 */ Tk_Cursor (*tk_AllocCursorFromObj) (Tcl_Interp *interp, Tk_Window tkwin , Tcl_Obj *objPtr); /* 188 */
Tk_Font (*tk_AllocFontFromObj) (Tcl_Interp *interp, Tk_Window tkwin, Tc l_Obj *objPtr); /* 189 */ Tk_Font (*tk_AllocFontFromObj) (Tcl_Interp *interp, Tk_Window tkwin, Tc l_Obj *objPtr); /* 189 */
Tk_OptionTable (*tk_CreateOptionTable) (Tcl_Interp *interp, CONST Tk_Op tionSpec *templatePtr); /* 190 */ Tk_OptionTable (*tk_CreateOptionTable) (Tcl_Interp *interp, const Tk_Op tionSpec *templatePtr); /* 190 */
void (*tk_DeleteOptionTable) (Tk_OptionTable optionTable); /* 191 */ void (*tk_DeleteOptionTable) (Tk_OptionTable optionTable); /* 191 */
void (*tk_Free3DBorderFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 1 92 */ void (*tk_Free3DBorderFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 1 92 */
void (*tk_FreeBitmapFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 193 */ void (*tk_FreeBitmapFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 193 */
void (*tk_FreeColorFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 194 */ void (*tk_FreeColorFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 194 */
void (*tk_FreeConfigOptions) (char *recordPtr, Tk_OptionTable optionTok en, Tk_Window tkwin); /* 195 */ void (*tk_FreeConfigOptions) (char *recordPtr, Tk_OptionTable optionTok en, Tk_Window tkwin); /* 195 */
void (*tk_FreeSavedOptions) (Tk_SavedOptions *savePtr); /* 196 */ void (*tk_FreeSavedOptions) (Tk_SavedOptions *savePtr); /* 196 */
void (*tk_FreeCursorFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 197 */ void (*tk_FreeCursorFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 197 */
void (*tk_FreeFontFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 198 * / void (*tk_FreeFontFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 198 * /
Tk_3DBorder (*tk_Get3DBorderFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr) ; /* 199 */ Tk_3DBorder (*tk_Get3DBorderFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr) ; /* 199 */
int (*tk_GetAnchorFromObj) (Tcl_Interp *interp, Tcl_Obj *objPtr, Tk_Anc hor *anchorPtr); /* 200 */ int (*tk_GetAnchorFromObj) (Tcl_Interp *interp, Tcl_Obj *objPtr, Tk_Anc hor *anchorPtr); /* 200 */
Pixmap (*tk_GetBitmapFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 20 1 */ Pixmap (*tk_GetBitmapFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 20 1 */
XColor * (*tk_GetColorFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 2 02 */ XColor * (*tk_GetColorFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 2 02 */
Tk_Cursor (*tk_GetCursorFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 203 */ Tk_Cursor (*tk_GetCursorFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 203 */
Tcl_Obj * (*tk_GetOptionInfo) (Tcl_Interp *interp, char *recordPtr, Tk_ OptionTable optionTable, Tcl_Obj *namePtr, Tk_Window tkwin); /* 204 */ Tcl_Obj * (*tk_GetOptionInfo) (Tcl_Interp *interp, char *recordPtr, Tk_ OptionTable optionTable, Tcl_Obj *namePtr, Tk_Window tkwin); /* 204 */
Tcl_Obj * (*tk_GetOptionValue) (Tcl_Interp *interp, char *recordPtr, Tk _OptionTable optionTable, Tcl_Obj *namePtr, Tk_Window tkwin); /* 205 */ Tcl_Obj * (*tk_GetOptionValue) (Tcl_Interp *interp, char *recordPtr, Tk _OptionTable optionTable, Tcl_Obj *namePtr, Tk_Window tkwin); /* 205 */
int (*tk_GetJustifyFromObj) (Tcl_Interp *interp, Tcl_Obj *objPtr, Tk_Ju stify *justifyPtr); /* 206 */ int (*tk_GetJustifyFromObj) (Tcl_Interp *interp, Tcl_Obj *objPtr, Tk_Ju stify *justifyPtr); /* 206 */
int (*tk_GetMMFromObj) (Tcl_Interp *interp, Tk_Window tkwin, Tcl_Obj *o bjPtr, double *doublePtr); /* 207 */ int (*tk_GetMMFromObj) (Tcl_Interp *interp, Tk_Window tkwin, Tcl_Obj *o bjPtr, double *doublePtr); /* 207 */
int (*tk_GetPixelsFromObj) (Tcl_Interp *interp, Tk_Window tkwin, Tcl_Ob j *objPtr, int *intPtr); /* 208 */ int (*tk_GetPixelsFromObj) (Tcl_Interp *interp, Tk_Window tkwin, Tcl_Ob j *objPtr, int *intPtr); /* 208 */
int (*tk_GetReliefFromObj) (Tcl_Interp *interp, Tcl_Obj *objPtr, int *r esultPtr); /* 209 */ int (*tk_GetReliefFromObj) (Tcl_Interp *interp, Tcl_Obj *objPtr, int *r esultPtr); /* 209 */
int (*tk_GetScrollInfoObj) (Tcl_Interp *interp, int objc, Tcl_Obj *CONS T objv[], double *dblPtr, int *intPtr); /* 210 */ int (*tk_GetScrollInfoObj) (Tcl_Interp *interp, int objc, Tcl_Obj *cons t objv[], double *dblPtr, int *intPtr); /* 210 */
int (*tk_InitOptions) (Tcl_Interp *interp, char *recordPtr, Tk_OptionTa ble optionToken, Tk_Window tkwin); /* 211 */ int (*tk_InitOptions) (Tcl_Interp *interp, char *recordPtr, Tk_OptionTa ble optionToken, Tk_Window tkwin); /* 211 */
void (*tk_MainEx) (int argc, char **argv, Tcl_AppInitProc *appInitProc, Tcl_Interp *interp); /* 212 */ void (*tk_MainEx) (int argc, char **argv, Tcl_AppInitProc *appInitProc, Tcl_Interp *interp); /* 212 */
void (*tk_RestoreSavedOptions) (Tk_SavedOptions *savePtr); /* 213 */ void (*tk_RestoreSavedOptions) (Tk_SavedOptions *savePtr); /* 213 */
int (*tk_SetOptions) (Tcl_Interp *interp, char *recordPtr, Tk_OptionTab le optionTable, int objc, Tcl_Obj *CONST objv[], Tk_Window tkwin, Tk_SavedO ptions *savePtr, int *maskPtr); /* 214 */ int (*tk_SetOptions) (Tcl_Interp *interp, char *recordPtr, Tk_OptionTab le optionTable, int objc, Tcl_Obj *const objv[], Tk_Window tkwin, Tk_SavedO ptions *savePtr, int *maskPtr); /* 214 */
void (*tk_InitConsoleChannels) (Tcl_Interp *interp); /* 215 */ void (*tk_InitConsoleChannels) (Tcl_Interp *interp); /* 215 */
int (*tk_CreateConsoleWindow) (Tcl_Interp *interp); /* 216 */ int (*tk_CreateConsoleWindow) (Tcl_Interp *interp); /* 216 */
void (*tk_CreateSmoothMethod) (Tcl_Interp *interp, Tk_SmoothMethod *met void (*tk_CreateSmoothMethod) (Tcl_Interp *interp, const Tk_SmoothMetho
hod); /* 217 */ d *method); /* 217 */
VOID *reserved218; void (*reserved218)(void);
VOID *reserved219; void (*reserved219)(void);
int (*tk_GetDash) (Tcl_Interp *interp, CONST char *value, Tk_Dash *dash int (*tk_GetDash) (Tcl_Interp *interp, const char *value, Tk_Dash *dash
); /* 220 */ ); /* 220 */
void (*tk_CreateOutline) (Tk_Outline *outline); /* 221 */ void (*tk_CreateOutline) (Tk_Outline *outline); /* 221 */
void (*tk_DeleteOutline) (Display *display, Tk_Outline *outline); /* 22 2 */ void (*tk_DeleteOutline) (Display *display, Tk_Outline *outline); /* 22 2 */
int (*tk_ConfigOutlineGC) (XGCValues *gcValues, Tk_Canvas canvas, Tk_It em *item, Tk_Outline *outline); /* 223 */ int (*tk_ConfigOutlineGC) (XGCValues *gcValues, Tk_Canvas canvas, Tk_It em *item, Tk_Outline *outline); /* 223 */
int (*tk_ChangeOutlineGC) (Tk_Canvas canvas, Tk_Item *item, Tk_Outline *outline); /* 224 */ int (*tk_ChangeOutlineGC) (Tk_Canvas canvas, Tk_Item *item, Tk_Outline *outline); /* 224 */
int (*tk_ResetOutlineGC) (Tk_Canvas canvas, Tk_Item *item, Tk_Outline * outline); /* 225 */ int (*tk_ResetOutlineGC) (Tk_Canvas canvas, Tk_Item *item, Tk_Outline * outline); /* 225 */
int (*tk_CanvasPsOutline) (Tk_Canvas canvas, Tk_Item *item, Tk_Outline *outline); /* 226 */ int (*tk_CanvasPsOutline) (Tk_Canvas canvas, Tk_Item *item, Tk_Outline *outline); /* 226 */
void (*tk_SetTSOrigin) (Tk_Window tkwin, GC gc, int x, int y); /* 227 * / void (*tk_SetTSOrigin) (Tk_Window tkwin, GC gc, int x, int y); /* 227 * /
int (*tk_CanvasGetCoordFromObj) (Tcl_Interp *interp, Tk_Canvas canvas, Tcl_Obj *obj, double *doublePtr); /* 228 */ int (*tk_CanvasGetCoordFromObj) (Tcl_Interp *interp, Tk_Canvas canvas, Tcl_Obj *obj, double *doublePtr); /* 228 */
void (*tk_CanvasSetOffset) (Tk_Canvas canvas, GC gc, Tk_TSOffset *offse t); /* 229 */ void (*tk_CanvasSetOffset) (Tk_Canvas canvas, GC gc, Tk_TSOffset *offse t); /* 229 */
void (*tk_DitherPhoto) (Tk_PhotoHandle handle, int x, int y, int width, int height); /* 230 */ void (*tk_DitherPhoto) (Tk_PhotoHandle handle, int x, int y, int width, int height); /* 230 */
int (*tk_PostscriptBitmap) (Tcl_Interp *interp, Tk_Window tkwin, Tk_Pos tscriptInfo psInfo, Pixmap bitmap, int startX, int startY, int width, int h eight); /* 231 */ int (*tk_PostscriptBitmap) (Tcl_Interp *interp, Tk_Window tkwin, Tk_Pos tscriptInfo psInfo, Pixmap bitmap, int startX, int startY, int width, int h eight); /* 231 */
int (*tk_PostscriptColor) (Tcl_Interp *interp, Tk_PostscriptInfo psInfo , XColor *colorPtr); /* 232 */ int (*tk_PostscriptColor) (Tcl_Interp *interp, Tk_PostscriptInfo psInfo , XColor *colorPtr); /* 232 */
int (*tk_PostscriptFont) (Tcl_Interp *interp, Tk_PostscriptInfo psInfo, Tk_Font font); /* 233 */ int (*tk_PostscriptFont) (Tcl_Interp *interp, Tk_PostscriptInfo psInfo, Tk_Font font); /* 233 */
int (*tk_PostscriptImage) (Tk_Image image, Tcl_Interp *interp, Tk_Windo w tkwin, Tk_PostscriptInfo psinfo, int x, int y, int width, int height, int prepass); /* 234 */ int (*tk_PostscriptImage) (Tk_Image image, Tcl_Interp *interp, Tk_Windo w tkwin, Tk_PostscriptInfo psinfo, int x, int y, int width, int height, int prepass); /* 234 */
void (*tk_PostscriptPath) (Tcl_Interp *interp, Tk_PostscriptInfo psInfo , double *coordPtr, int numPoints); /* 235 */ void (*tk_PostscriptPath) (Tcl_Interp *interp, Tk_PostscriptInfo psInfo , double *coordPtr, int numPoints); /* 235 */
int (*tk_PostscriptStipple) (Tcl_Interp *interp, Tk_Window tkwin, Tk_Po stscriptInfo psInfo, Pixmap bitmap); /* 236 */ int (*tk_PostscriptStipple) (Tcl_Interp *interp, Tk_Window tkwin, Tk_Po stscriptInfo psInfo, Pixmap bitmap); /* 236 */
double (*tk_PostscriptY) (double y, Tk_PostscriptInfo psInfo); /* 237 * / double (*tk_PostscriptY) (double y, Tk_PostscriptInfo psInfo); /* 237 * /
int (*tk_PostscriptPhoto) (Tcl_Interp *interp, Tk_PhotoImageBlock *bloc kPtr, Tk_PostscriptInfo psInfo, int width, int height); /* 238 */ int (*tk_PostscriptPhoto) (Tcl_Interp *interp, Tk_PhotoImageBlock *bloc kPtr, Tk_PostscriptInfo psInfo, int width, int height); /* 238 */
void (*tk_CreateClientMessageHandler) (Tk_ClientMessageProc *proc); /* 239 */ void (*tk_CreateClientMessageHandler) (Tk_ClientMessageProc *proc); /* 239 */
void (*tk_DeleteClientMessageHandler) (Tk_ClientMessageProc *proc); /* 240 */ void (*tk_DeleteClientMessageHandler) (Tk_ClientMessageProc *proc); /* 240 */
Tk_Window (*tk_CreateAnonymousWindow) (Tcl_Interp *interp, Tk_Window pa Tk_Window (*tk_CreateAnonymousWindow) (Tcl_Interp *interp, Tk_Window pa
rent, CONST char *screenName); /* 241 */ rent, const char *screenName); /* 241 */
void (*tk_SetClassProcs) (Tk_Window tkwin, Tk_ClassProcs *procs, Client void (*tk_SetClassProcs) (Tk_Window tkwin, const Tk_ClassProcs *procs,
Data instanceData); /* 242 */ ClientData instanceData); /* 242 */
void (*tk_SetInternalBorderEx) (Tk_Window tkwin, int left, int right, i nt top, int bottom); /* 243 */ void (*tk_SetInternalBorderEx) (Tk_Window tkwin, int left, int right, i nt top, int bottom); /* 243 */
void (*tk_SetMinimumRequestSize) (Tk_Window tkwin, int minWidth, int mi nHeight); /* 244 */ void (*tk_SetMinimumRequestSize) (Tk_Window tkwin, int minWidth, int mi nHeight); /* 244 */
void (*tk_SetCaretPos) (Tk_Window tkwin, int x, int y, int height); /* 245 */ void (*tk_SetCaretPos) (Tk_Window tkwin, int x, int y, int height); /* 245 */
void (*tk_PhotoPutBlock_Panic) (Tk_PhotoHandle handle, Tk_PhotoImageBlo ck *blockPtr, int x, int y, int width, int height, int compRule); /* 246 */ void (*tk_PhotoPutBlock_Panic) (Tk_PhotoHandle handle, Tk_PhotoImageBlo ck *blockPtr, int x, int y, int width, int height, int compRule); /* 246 */
void (*tk_PhotoPutZoomedBlock_Panic) (Tk_PhotoHandle handle, Tk_PhotoIm ageBlock *blockPtr, int x, int y, int width, int height, int zoomX, int zoo mY, int subsampleX, int subsampleY, int compRule); /* 247 */ void (*tk_PhotoPutZoomedBlock_Panic) (Tk_PhotoHandle handle, Tk_PhotoIm ageBlock *blockPtr, int x, int y, int width, int height, int zoomX, int zoo mY, int subsampleX, int subsampleY, int compRule); /* 247 */
int (*tk_CollapseMotionEvents) (Display *display, int collapse); /* 248 */ int (*tk_CollapseMotionEvents) (Display *display, int collapse); /* 248 */
Tk_StyleEngine (*tk_RegisterStyleEngine) (CONST char *name, Tk_StyleEng Tk_StyleEngine (*tk_RegisterStyleEngine) (const char *name, Tk_StyleEng
ine parent); /* 249 */ ine parent); /* 249 */
Tk_StyleEngine (*tk_GetStyleEngine) (CONST char *name); /* 250 */ Tk_StyleEngine (*tk_GetStyleEngine) (const char *name); /* 250 */
int (*tk_RegisterStyledElement) (Tk_StyleEngine engine, Tk_ElementSpec *templatePtr); /* 251 */ int (*tk_RegisterStyledElement) (Tk_StyleEngine engine, Tk_ElementSpec *templatePtr); /* 251 */
int (*tk_GetElementId) (CONST char *name); /* 252 */ int (*tk_GetElementId) (const char *name); /* 252 */
Tk_Style (*tk_CreateStyle) (CONST char *name, Tk_StyleEngine engine, Cl Tk_Style (*tk_CreateStyle) (const char *name, Tk_StyleEngine engine, Cl
ientData clientData); /* 253 */ ientData clientData); /* 253 */
Tk_Style (*tk_GetStyle) (Tcl_Interp *interp, CONST char *name); /* 254 Tk_Style (*tk_GetStyle) (Tcl_Interp *interp, const char *name); /* 254
*/ */
void (*tk_FreeStyle) (Tk_Style style); /* 255 */ void (*tk_FreeStyle) (Tk_Style style); /* 255 */
CONST char * (*tk_NameOfStyle) (Tk_Style style); /* 256 */ const char * (*tk_NameOfStyle) (Tk_Style style); /* 256 */
Tk_Style (*tk_AllocStyleFromObj) (Tcl_Interp *interp, Tcl_Obj *objPtr); /* 257 */ Tk_Style (*tk_AllocStyleFromObj) (Tcl_Interp *interp, Tcl_Obj *objPtr); /* 257 */
Tk_Style (*tk_GetStyleFromObj) (Tcl_Obj *objPtr); /* 258 */ Tk_Style (*tk_GetStyleFromObj) (Tcl_Obj *objPtr); /* 258 */
void (*tk_FreeStyleFromObj) (Tcl_Obj *objPtr); /* 259 */ void (*tk_FreeStyleFromObj) (Tcl_Obj *objPtr); /* 259 */
Tk_StyledElement (*tk_GetStyledElement) (Tk_Style style, int elementId, Tk_OptionTable optionTable); /* 260 */ Tk_StyledElement (*tk_GetStyledElement) (Tk_Style style, int elementId, Tk_OptionTable optionTable); /* 260 */
void (*tk_GetElementSize) (Tk_Style style, Tk_StyledElement element, ch ar *recordPtr, Tk_Window tkwin, int width, int height, int inner, int *widt hPtr, int *heightPtr); /* 261 */ void (*tk_GetElementSize) (Tk_Style style, Tk_StyledElement element, ch ar *recordPtr, Tk_Window tkwin, int width, int height, int inner, int *widt hPtr, int *heightPtr); /* 261 */
void (*tk_GetElementBox) (Tk_Style style, Tk_StyledElement element, cha r *recordPtr, Tk_Window tkwin, int x, int y, int width, int height, int inn er, int *xPtr, int *yPtr, int *widthPtr, int *heightPtr); /* 262 */ void (*tk_GetElementBox) (Tk_Style style, Tk_StyledElement element, cha r *recordPtr, Tk_Window tkwin, int x, int y, int width, int height, int inn er, int *xPtr, int *yPtr, int *widthPtr, int *heightPtr); /* 262 */
int (*tk_GetElementBorderWidth) (Tk_Style style, Tk_StyledElement eleme nt, char *recordPtr, Tk_Window tkwin); /* 263 */ int (*tk_GetElementBorderWidth) (Tk_Style style, Tk_StyledElement eleme nt, char *recordPtr, Tk_Window tkwin); /* 263 */
void (*tk_DrawElement) (Tk_Style style, Tk_StyledElement element, char *recordPtr, Tk_Window tkwin, Drawable d, int x, int y, int width, int heigh t, int state); /* 264 */ void (*tk_DrawElement) (Tk_Style style, Tk_StyledElement element, char *recordPtr, Tk_Window tkwin, Drawable d, int x, int y, int width, int heigh t, int state); /* 264 */
int (*tk_PhotoExpand) (Tcl_Interp *interp, Tk_PhotoHandle handle, int w idth, int height); /* 265 */ int (*tk_PhotoExpand) (Tcl_Interp *interp, Tk_PhotoHandle handle, int w idth, int height); /* 265 */
int (*tk_PhotoPutBlock) (Tcl_Interp *interp, Tk_PhotoHandle handle, Tk_ PhotoImageBlock *blockPtr, int x, int y, int width, int height, int compRul e); /* 266 */ int (*tk_PhotoPutBlock) (Tcl_Interp *interp, Tk_PhotoHandle handle, Tk_ PhotoImageBlock *blockPtr, int x, int y, int width, int height, int compRul e); /* 266 */
int (*tk_PhotoPutZoomedBlock) (Tcl_Interp *interp, Tk_PhotoHandle handl e, Tk_PhotoImageBlock *blockPtr, int x, int y, int width, int height, int z oomX, int zoomY, int subsampleX, int subsampleY, int compRule); /* 267 */ int (*tk_PhotoPutZoomedBlock) (Tcl_Interp *interp, Tk_PhotoHandle handl e, Tk_PhotoImageBlock *blockPtr, int x, int y, int width, int height, int z oomX, int zoomY, int subsampleX, int subsampleY, int compRule); /* 267 */
int (*tk_PhotoSetSize) (Tcl_Interp *interp, Tk_PhotoHandle handle, int width, int height); /* 268 */ int (*tk_PhotoSetSize) (Tcl_Interp *interp, Tk_PhotoHandle handle, int width, int height); /* 268 */
long (*tk_GetUserInactiveTime) (Display *dpy); /* 269 */ long (*tk_GetUserInactiveTime) (Display *dpy); /* 269 */
void (*tk_ResetUserInactiveTime) (Display *dpy); /* 270 */ void (*tk_ResetUserInactiveTime) (Display *dpy); /* 270 */
Tcl_Interp * (*tk_Interp) (Tk_Window tkwin); /* 271 */ Tcl_Interp * (*tk_Interp) (Tk_Window tkwin); /* 271 */
void (*tk_CreateOldImageType) (Tk_ImageType *typePtr); /* 272 */ void (*tk_CreateOldImageType) (const Tk_ImageType *typePtr); /* 272 */
void (*tk_CreateOldPhotoImageFormat) (Tk_PhotoImageFormat *formatPtr); void (*tk_CreateOldPhotoImageFormat) (const Tk_PhotoImageFormat *format
/* 273 */ Ptr); /* 273 */
void (*reserved274) (void); /* 274 */
void (*reserved275) (void); /* 275 */
} TkStubs; } TkStubs;
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
extern TkStubs *tkStubsPtr; extern const TkStubs *tkStubsPtr;
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) #if defined(USE_TK_STUBS)
/* /*
* Inline function declarations: * Inline function declarations:
*/ */
#ifndef Tk_MainLoop
#define Tk_MainLoop \ #define Tk_MainLoop \
(tkStubsPtr->tk_MainLoop) /* 0 */ (tkStubsPtr->tk_MainLoop) /* 0 */
#endif
#ifndef Tk_3DBorderColor
#define Tk_3DBorderColor \ #define Tk_3DBorderColor \
(tkStubsPtr->tk_3DBorderColor) /* 1 */ (tkStubsPtr->tk_3DBorderColor) /* 1 */
#endif
#ifndef Tk_3DBorderGC
#define Tk_3DBorderGC \ #define Tk_3DBorderGC \
(tkStubsPtr->tk_3DBorderGC) /* 2 */ (tkStubsPtr->tk_3DBorderGC) /* 2 */
#endif
#ifndef Tk_3DHorizontalBevel
#define Tk_3DHorizontalBevel \ #define Tk_3DHorizontalBevel \
(tkStubsPtr->tk_3DHorizontalBevel) /* 3 */ (tkStubsPtr->tk_3DHorizontalBevel) /* 3 */
#endif
#ifndef Tk_3DVerticalBevel
#define Tk_3DVerticalBevel \ #define Tk_3DVerticalBevel \
(tkStubsPtr->tk_3DVerticalBevel) /* 4 */ (tkStubsPtr->tk_3DVerticalBevel) /* 4 */
#endif
#ifndef Tk_AddOption
#define Tk_AddOption \ #define Tk_AddOption \
(tkStubsPtr->tk_AddOption) /* 5 */ (tkStubsPtr->tk_AddOption) /* 5 */
#endif
#ifndef Tk_BindEvent
#define Tk_BindEvent \ #define Tk_BindEvent \
(tkStubsPtr->tk_BindEvent) /* 6 */ (tkStubsPtr->tk_BindEvent) /* 6 */
#endif
#ifndef Tk_CanvasDrawableCoords
#define Tk_CanvasDrawableCoords \ #define Tk_CanvasDrawableCoords \
(tkStubsPtr->tk_CanvasDrawableCoords) /* 7 */ (tkStubsPtr->tk_CanvasDrawableCoords) /* 7 */
#endif
#ifndef Tk_CanvasEventuallyRedraw
#define Tk_CanvasEventuallyRedraw \ #define Tk_CanvasEventuallyRedraw \
(tkStubsPtr->tk_CanvasEventuallyRedraw) /* 8 */ (tkStubsPtr->tk_CanvasEventuallyRedraw) /* 8 */
#endif
#ifndef Tk_CanvasGetCoord
#define Tk_CanvasGetCoord \ #define Tk_CanvasGetCoord \
(tkStubsPtr->tk_CanvasGetCoord) /* 9 */ (tkStubsPtr->tk_CanvasGetCoord) /* 9 */
#endif
#ifndef Tk_CanvasGetTextInfo
#define Tk_CanvasGetTextInfo \ #define Tk_CanvasGetTextInfo \
(tkStubsPtr->tk_CanvasGetTextInfo) /* 10 */ (tkStubsPtr->tk_CanvasGetTextInfo) /* 10 */
#endif
#ifndef Tk_CanvasPsBitmap
#define Tk_CanvasPsBitmap \ #define Tk_CanvasPsBitmap \
(tkStubsPtr->tk_CanvasPsBitmap) /* 11 */ (tkStubsPtr->tk_CanvasPsBitmap) /* 11 */
#endif
#ifndef Tk_CanvasPsColor
#define Tk_CanvasPsColor \ #define Tk_CanvasPsColor \
(tkStubsPtr->tk_CanvasPsColor) /* 12 */ (tkStubsPtr->tk_CanvasPsColor) /* 12 */
#endif
#ifndef Tk_CanvasPsFont
#define Tk_CanvasPsFont \ #define Tk_CanvasPsFont \
(tkStubsPtr->tk_CanvasPsFont) /* 13 */ (tkStubsPtr->tk_CanvasPsFont) /* 13 */
#endif
#ifndef Tk_CanvasPsPath
#define Tk_CanvasPsPath \ #define Tk_CanvasPsPath \
(tkStubsPtr->tk_CanvasPsPath) /* 14 */ (tkStubsPtr->tk_CanvasPsPath) /* 14 */
#endif
#ifndef Tk_CanvasPsStipple
#define Tk_CanvasPsStipple \ #define Tk_CanvasPsStipple \
(tkStubsPtr->tk_CanvasPsStipple) /* 15 */ (tkStubsPtr->tk_CanvasPsStipple) /* 15 */
#endif
#ifndef Tk_CanvasPsY
#define Tk_CanvasPsY \ #define Tk_CanvasPsY \
(tkStubsPtr->tk_CanvasPsY) /* 16 */ (tkStubsPtr->tk_CanvasPsY) /* 16 */
#endif
#ifndef Tk_CanvasSetStippleOrigin
#define Tk_CanvasSetStippleOrigin \ #define Tk_CanvasSetStippleOrigin \
(tkStubsPtr->tk_CanvasSetStippleOrigin) /* 17 */ (tkStubsPtr->tk_CanvasSetStippleOrigin) /* 17 */
#endif
#ifndef Tk_CanvasTagsParseProc
#define Tk_CanvasTagsParseProc \ #define Tk_CanvasTagsParseProc \
(tkStubsPtr->tk_CanvasTagsParseProc) /* 18 */ (tkStubsPtr->tk_CanvasTagsParseProc) /* 18 */
#endif
#ifndef Tk_CanvasTagsPrintProc
#define Tk_CanvasTagsPrintProc \ #define Tk_CanvasTagsPrintProc \
(tkStubsPtr->tk_CanvasTagsPrintProc) /* 19 */ (tkStubsPtr->tk_CanvasTagsPrintProc) /* 19 */
#endif
#ifndef Tk_CanvasTkwin
#define Tk_CanvasTkwin \ #define Tk_CanvasTkwin \
(tkStubsPtr->tk_CanvasTkwin) /* 20 */ (tkStubsPtr->tk_CanvasTkwin) /* 20 */
#endif
#ifndef Tk_CanvasWindowCoords
#define Tk_CanvasWindowCoords \ #define Tk_CanvasWindowCoords \
(tkStubsPtr->tk_CanvasWindowCoords) /* 21 */ (tkStubsPtr->tk_CanvasWindowCoords) /* 21 */
#endif
#ifndef Tk_ChangeWindowAttributes
#define Tk_ChangeWindowAttributes \ #define Tk_ChangeWindowAttributes \
(tkStubsPtr->tk_ChangeWindowAttributes) /* 22 */ (tkStubsPtr->tk_ChangeWindowAttributes) /* 22 */
#endif
#ifndef Tk_CharBbox
#define Tk_CharBbox \ #define Tk_CharBbox \
(tkStubsPtr->tk_CharBbox) /* 23 */ (tkStubsPtr->tk_CharBbox) /* 23 */
#endif
#ifndef Tk_ClearSelection
#define Tk_ClearSelection \ #define Tk_ClearSelection \
(tkStubsPtr->tk_ClearSelection) /* 24 */ (tkStubsPtr->tk_ClearSelection) /* 24 */
#endif
#ifndef Tk_ClipboardAppend
#define Tk_ClipboardAppend \ #define Tk_ClipboardAppend \
(tkStubsPtr->tk_ClipboardAppend) /* 25 */ (tkStubsPtr->tk_ClipboardAppend) /* 25 */
#endif
#ifndef Tk_ClipboardClear
#define Tk_ClipboardClear \ #define Tk_ClipboardClear \
(tkStubsPtr->tk_ClipboardClear) /* 26 */ (tkStubsPtr->tk_ClipboardClear) /* 26 */
#endif
#ifndef Tk_ConfigureInfo
#define Tk_ConfigureInfo \ #define Tk_ConfigureInfo \
(tkStubsPtr->tk_ConfigureInfo) /* 27 */ (tkStubsPtr->tk_ConfigureInfo) /* 27 */
#endif
#ifndef Tk_ConfigureValue
#define Tk_ConfigureValue \ #define Tk_ConfigureValue \
(tkStubsPtr->tk_ConfigureValue) /* 28 */ (tkStubsPtr->tk_ConfigureValue) /* 28 */
#endif
#ifndef Tk_ConfigureWidget
#define Tk_ConfigureWidget \ #define Tk_ConfigureWidget \
(tkStubsPtr->tk_ConfigureWidget) /* 29 */ (tkStubsPtr->tk_ConfigureWidget) /* 29 */
#endif
#ifndef Tk_ConfigureWindow
#define Tk_ConfigureWindow \ #define Tk_ConfigureWindow \
(tkStubsPtr->tk_ConfigureWindow) /* 30 */ (tkStubsPtr->tk_ConfigureWindow) /* 30 */
#endif
#ifndef Tk_ComputeTextLayout
#define Tk_ComputeTextLayout \ #define Tk_ComputeTextLayout \
(tkStubsPtr->tk_ComputeTextLayout) /* 31 */ (tkStubsPtr->tk_ComputeTextLayout) /* 31 */
#endif
#ifndef Tk_CoordsToWindow
#define Tk_CoordsToWindow \ #define Tk_CoordsToWindow \
(tkStubsPtr->tk_CoordsToWindow) /* 32 */ (tkStubsPtr->tk_CoordsToWindow) /* 32 */
#endif
#ifndef Tk_CreateBinding
#define Tk_CreateBinding \ #define Tk_CreateBinding \
(tkStubsPtr->tk_CreateBinding) /* 33 */ (tkStubsPtr->tk_CreateBinding) /* 33 */
#endif
#ifndef Tk_CreateBindingTable
#define Tk_CreateBindingTable \ #define Tk_CreateBindingTable \
(tkStubsPtr->tk_CreateBindingTable) /* 34 */ (tkStubsPtr->tk_CreateBindingTable) /* 34 */
#endif
#ifndef Tk_CreateErrorHandler
#define Tk_CreateErrorHandler \ #define Tk_CreateErrorHandler \
(tkStubsPtr->tk_CreateErrorHandler) /* 35 */ (tkStubsPtr->tk_CreateErrorHandler) /* 35 */
#endif
#ifndef Tk_CreateEventHandler
#define Tk_CreateEventHandler \ #define Tk_CreateEventHandler \
(tkStubsPtr->tk_CreateEventHandler) /* 36 */ (tkStubsPtr->tk_CreateEventHandler) /* 36 */
#endif
#ifndef Tk_CreateGenericHandler
#define Tk_CreateGenericHandler \ #define Tk_CreateGenericHandler \
(tkStubsPtr->tk_CreateGenericHandler) /* 37 */ (tkStubsPtr->tk_CreateGenericHandler) /* 37 */
#endif
#ifndef Tk_CreateImageType
#define Tk_CreateImageType \ #define Tk_CreateImageType \
(tkStubsPtr->tk_CreateImageType) /* 38 */ (tkStubsPtr->tk_CreateImageType) /* 38 */
#endif
#ifndef Tk_CreateItemType
#define Tk_CreateItemType \ #define Tk_CreateItemType \
(tkStubsPtr->tk_CreateItemType) /* 39 */ (tkStubsPtr->tk_CreateItemType) /* 39 */
#endif
#ifndef Tk_CreatePhotoImageFormat
#define Tk_CreatePhotoImageFormat \ #define Tk_CreatePhotoImageFormat \
(tkStubsPtr->tk_CreatePhotoImageFormat) /* 40 */ (tkStubsPtr->tk_CreatePhotoImageFormat) /* 40 */
#endif
#ifndef Tk_CreateSelHandler
#define Tk_CreateSelHandler \ #define Tk_CreateSelHandler \
(tkStubsPtr->tk_CreateSelHandler) /* 41 */ (tkStubsPtr->tk_CreateSelHandler) /* 41 */
#endif
#ifndef Tk_CreateWindow
#define Tk_CreateWindow \ #define Tk_CreateWindow \
(tkStubsPtr->tk_CreateWindow) /* 42 */ (tkStubsPtr->tk_CreateWindow) /* 42 */
#endif
#ifndef Tk_CreateWindowFromPath
#define Tk_CreateWindowFromPath \ #define Tk_CreateWindowFromPath \
(tkStubsPtr->tk_CreateWindowFromPath) /* 43 */ (tkStubsPtr->tk_CreateWindowFromPath) /* 43 */
#endif
#ifndef Tk_DefineBitmap
#define Tk_DefineBitmap \ #define Tk_DefineBitmap \
(tkStubsPtr->tk_DefineBitmap) /* 44 */ (tkStubsPtr->tk_DefineBitmap) /* 44 */
#endif
#ifndef Tk_DefineCursor
#define Tk_DefineCursor \ #define Tk_DefineCursor \
(tkStubsPtr->tk_DefineCursor) /* 45 */ (tkStubsPtr->tk_DefineCursor) /* 45 */
#endif
#ifndef Tk_DeleteAllBindings
#define Tk_DeleteAllBindings \ #define Tk_DeleteAllBindings \
(tkStubsPtr->tk_DeleteAllBindings) /* 46 */ (tkStubsPtr->tk_DeleteAllBindings) /* 46 */
#endif
#ifndef Tk_DeleteBinding
#define Tk_DeleteBinding \ #define Tk_DeleteBinding \
(tkStubsPtr->tk_DeleteBinding) /* 47 */ (tkStubsPtr->tk_DeleteBinding) /* 47 */
#endif
#ifndef Tk_DeleteBindingTable
#define Tk_DeleteBindingTable \ #define Tk_DeleteBindingTable \
(tkStubsPtr->tk_DeleteBindingTable) /* 48 */ (tkStubsPtr->tk_DeleteBindingTable) /* 48 */
#endif
#ifndef Tk_DeleteErrorHandler
#define Tk_DeleteErrorHandler \ #define Tk_DeleteErrorHandler \
(tkStubsPtr->tk_DeleteErrorHandler) /* 49 */ (tkStubsPtr->tk_DeleteErrorHandler) /* 49 */
#endif
#ifndef Tk_DeleteEventHandler
#define Tk_DeleteEventHandler \ #define Tk_DeleteEventHandler \
(tkStubsPtr->tk_DeleteEventHandler) /* 50 */ (tkStubsPtr->tk_DeleteEventHandler) /* 50 */
#endif
#ifndef Tk_DeleteGenericHandler
#define Tk_DeleteGenericHandler \ #define Tk_DeleteGenericHandler \
(tkStubsPtr->tk_DeleteGenericHandler) /* 51 */ (tkStubsPtr->tk_DeleteGenericHandler) /* 51 */
#endif
#ifndef Tk_DeleteImage
#define Tk_DeleteImage \ #define Tk_DeleteImage \
(tkStubsPtr->tk_DeleteImage) /* 52 */ (tkStubsPtr->tk_DeleteImage) /* 52 */
#endif
#ifndef Tk_DeleteSelHandler
#define Tk_DeleteSelHandler \ #define Tk_DeleteSelHandler \
(tkStubsPtr->tk_DeleteSelHandler) /* 53 */ (tkStubsPtr->tk_DeleteSelHandler) /* 53 */
#endif
#ifndef Tk_DestroyWindow
#define Tk_DestroyWindow \ #define Tk_DestroyWindow \
(tkStubsPtr->tk_DestroyWindow) /* 54 */ (tkStubsPtr->tk_DestroyWindow) /* 54 */
#endif
#ifndef Tk_DisplayName
#define Tk_DisplayName \ #define Tk_DisplayName \
(tkStubsPtr->tk_DisplayName) /* 55 */ (tkStubsPtr->tk_DisplayName) /* 55 */
#endif
#ifndef Tk_DistanceToTextLayout
#define Tk_DistanceToTextLayout \ #define Tk_DistanceToTextLayout \
(tkStubsPtr->tk_DistanceToTextLayout) /* 56 */ (tkStubsPtr->tk_DistanceToTextLayout) /* 56 */
#endif
#ifndef Tk_Draw3DPolygon
#define Tk_Draw3DPolygon \ #define Tk_Draw3DPolygon \
(tkStubsPtr->tk_Draw3DPolygon) /* 57 */ (tkStubsPtr->tk_Draw3DPolygon) /* 57 */
#endif
#ifndef Tk_Draw3DRectangle
#define Tk_Draw3DRectangle \ #define Tk_Draw3DRectangle \
(tkStubsPtr->tk_Draw3DRectangle) /* 58 */ (tkStubsPtr->tk_Draw3DRectangle) /* 58 */
#endif
#ifndef Tk_DrawChars
#define Tk_DrawChars \ #define Tk_DrawChars \
(tkStubsPtr->tk_DrawChars) /* 59 */ (tkStubsPtr->tk_DrawChars) /* 59 */
#endif
#ifndef Tk_DrawFocusHighlight
#define Tk_DrawFocusHighlight \ #define Tk_DrawFocusHighlight \
(tkStubsPtr->tk_DrawFocusHighlight) /* 60 */ (tkStubsPtr->tk_DrawFocusHighlight) /* 60 */
#endif
#ifndef Tk_DrawTextLayout
#define Tk_DrawTextLayout \ #define Tk_DrawTextLayout \
(tkStubsPtr->tk_DrawTextLayout) /* 61 */ (tkStubsPtr->tk_DrawTextLayout) /* 61 */
#endif
#ifndef Tk_Fill3DPolygon
#define Tk_Fill3DPolygon \ #define Tk_Fill3DPolygon \
(tkStubsPtr->tk_Fill3DPolygon) /* 62 */ (tkStubsPtr->tk_Fill3DPolygon) /* 62 */
#endif
#ifndef Tk_Fill3DRectangle
#define Tk_Fill3DRectangle \ #define Tk_Fill3DRectangle \
(tkStubsPtr->tk_Fill3DRectangle) /* 63 */ (tkStubsPtr->tk_Fill3DRectangle) /* 63 */
#endif
#ifndef Tk_FindPhoto
#define Tk_FindPhoto \ #define Tk_FindPhoto \
(tkStubsPtr->tk_FindPhoto) /* 64 */ (tkStubsPtr->tk_FindPhoto) /* 64 */
#endif
#ifndef Tk_FontId
#define Tk_FontId \ #define Tk_FontId \
(tkStubsPtr->tk_FontId) /* 65 */ (tkStubsPtr->tk_FontId) /* 65 */
#endif
#ifndef Tk_Free3DBorder
#define Tk_Free3DBorder \ #define Tk_Free3DBorder \
(tkStubsPtr->tk_Free3DBorder) /* 66 */ (tkStubsPtr->tk_Free3DBorder) /* 66 */
#endif
#ifndef Tk_FreeBitmap
#define Tk_FreeBitmap \ #define Tk_FreeBitmap \
(tkStubsPtr->tk_FreeBitmap) /* 67 */ (tkStubsPtr->tk_FreeBitmap) /* 67 */
#endif
#ifndef Tk_FreeColor
#define Tk_FreeColor \ #define Tk_FreeColor \
(tkStubsPtr->tk_FreeColor) /* 68 */ (tkStubsPtr->tk_FreeColor) /* 68 */
#endif
#ifndef Tk_FreeColormap
#define Tk_FreeColormap \ #define Tk_FreeColormap \
(tkStubsPtr->tk_FreeColormap) /* 69 */ (tkStubsPtr->tk_FreeColormap) /* 69 */
#endif
#ifndef Tk_FreeCursor
#define Tk_FreeCursor \ #define Tk_FreeCursor \
(tkStubsPtr->tk_FreeCursor) /* 70 */ (tkStubsPtr->tk_FreeCursor) /* 70 */
#endif
#ifndef Tk_FreeFont
#define Tk_FreeFont \ #define Tk_FreeFont \
(tkStubsPtr->tk_FreeFont) /* 71 */ (tkStubsPtr->tk_FreeFont) /* 71 */
#endif
#ifndef Tk_FreeGC
#define Tk_FreeGC \ #define Tk_FreeGC \
(tkStubsPtr->tk_FreeGC) /* 72 */ (tkStubsPtr->tk_FreeGC) /* 72 */
#endif
#ifndef Tk_FreeImage
#define Tk_FreeImage \ #define Tk_FreeImage \
(tkStubsPtr->tk_FreeImage) /* 73 */ (tkStubsPtr->tk_FreeImage) /* 73 */
#endif
#ifndef Tk_FreeOptions
#define Tk_FreeOptions \ #define Tk_FreeOptions \
(tkStubsPtr->tk_FreeOptions) /* 74 */ (tkStubsPtr->tk_FreeOptions) /* 74 */
#endif
#ifndef Tk_FreePixmap
#define Tk_FreePixmap \ #define Tk_FreePixmap \
(tkStubsPtr->tk_FreePixmap) /* 75 */ (tkStubsPtr->tk_FreePixmap) /* 75 */
#endif
#ifndef Tk_FreeTextLayout
#define Tk_FreeTextLayout \ #define Tk_FreeTextLayout \
(tkStubsPtr->tk_FreeTextLayout) /* 76 */ (tkStubsPtr->tk_FreeTextLayout) /* 76 */
#endif
#ifndef Tk_FreeXId
#define Tk_FreeXId \ #define Tk_FreeXId \
(tkStubsPtr->tk_FreeXId) /* 77 */ (tkStubsPtr->tk_FreeXId) /* 77 */
#endif
#ifndef Tk_GCForColor
#define Tk_GCForColor \ #define Tk_GCForColor \
(tkStubsPtr->tk_GCForColor) /* 78 */ (tkStubsPtr->tk_GCForColor) /* 78 */
#endif
#ifndef Tk_GeometryRequest
#define Tk_GeometryRequest \ #define Tk_GeometryRequest \
(tkStubsPtr->tk_GeometryRequest) /* 79 */ (tkStubsPtr->tk_GeometryRequest) /* 79 */
#endif
#ifndef Tk_Get3DBorder
#define Tk_Get3DBorder \ #define Tk_Get3DBorder \
(tkStubsPtr->tk_Get3DBorder) /* 80 */ (tkStubsPtr->tk_Get3DBorder) /* 80 */
#endif
#ifndef Tk_GetAllBindings
#define Tk_GetAllBindings \ #define Tk_GetAllBindings \
(tkStubsPtr->tk_GetAllBindings) /* 81 */ (tkStubsPtr->tk_GetAllBindings) /* 81 */
#endif
#ifndef Tk_GetAnchor
#define Tk_GetAnchor \ #define Tk_GetAnchor \
(tkStubsPtr->tk_GetAnchor) /* 82 */ (tkStubsPtr->tk_GetAnchor) /* 82 */
#endif
#ifndef Tk_GetAtomName
#define Tk_GetAtomName \ #define Tk_GetAtomName \
(tkStubsPtr->tk_GetAtomName) /* 83 */ (tkStubsPtr->tk_GetAtomName) /* 83 */
#endif
#ifndef Tk_GetBinding
#define Tk_GetBinding \ #define Tk_GetBinding \
(tkStubsPtr->tk_GetBinding) /* 84 */ (tkStubsPtr->tk_GetBinding) /* 84 */
#endif
#ifndef Tk_GetBitmap
#define Tk_GetBitmap \ #define Tk_GetBitmap \
(tkStubsPtr->tk_GetBitmap) /* 85 */ (tkStubsPtr->tk_GetBitmap) /* 85 */
#endif
#ifndef Tk_GetBitmapFromData
#define Tk_GetBitmapFromData \ #define Tk_GetBitmapFromData \
(tkStubsPtr->tk_GetBitmapFromData) /* 86 */ (tkStubsPtr->tk_GetBitmapFromData) /* 86 */
#endif
#ifndef Tk_GetCapStyle
#define Tk_GetCapStyle \ #define Tk_GetCapStyle \
(tkStubsPtr->tk_GetCapStyle) /* 87 */ (tkStubsPtr->tk_GetCapStyle) /* 87 */
#endif
#ifndef Tk_GetColor
#define Tk_GetColor \ #define Tk_GetColor \
(tkStubsPtr->tk_GetColor) /* 88 */ (tkStubsPtr->tk_GetColor) /* 88 */
#endif
#ifndef Tk_GetColorByValue
#define Tk_GetColorByValue \ #define Tk_GetColorByValue \
(tkStubsPtr->tk_GetColorByValue) /* 89 */ (tkStubsPtr->tk_GetColorByValue) /* 89 */
#endif
#ifndef Tk_GetColormap
#define Tk_GetColormap \ #define Tk_GetColormap \
(tkStubsPtr->tk_GetColormap) /* 90 */ (tkStubsPtr->tk_GetColormap) /* 90 */
#endif
#ifndef Tk_GetCursor
#define Tk_GetCursor \ #define Tk_GetCursor \
(tkStubsPtr->tk_GetCursor) /* 91 */ (tkStubsPtr->tk_GetCursor) /* 91 */
#endif
#ifndef Tk_GetCursorFromData
#define Tk_GetCursorFromData \ #define Tk_GetCursorFromData \
(tkStubsPtr->tk_GetCursorFromData) /* 92 */ (tkStubsPtr->tk_GetCursorFromData) /* 92 */
#endif
#ifndef Tk_GetFont
#define Tk_GetFont \ #define Tk_GetFont \
(tkStubsPtr->tk_GetFont) /* 93 */ (tkStubsPtr->tk_GetFont) /* 93 */
#endif
#ifndef Tk_GetFontFromObj
#define Tk_GetFontFromObj \ #define Tk_GetFontFromObj \
(tkStubsPtr->tk_GetFontFromObj) /* 94 */ (tkStubsPtr->tk_GetFontFromObj) /* 94 */
#endif
#ifndef Tk_GetFontMetrics
#define Tk_GetFontMetrics \ #define Tk_GetFontMetrics \
(tkStubsPtr->tk_GetFontMetrics) /* 95 */ (tkStubsPtr->tk_GetFontMetrics) /* 95 */
#endif
#ifndef Tk_GetGC
#define Tk_GetGC \ #define Tk_GetGC \
(tkStubsPtr->tk_GetGC) /* 96 */ (tkStubsPtr->tk_GetGC) /* 96 */
#endif
#ifndef Tk_GetImage
#define Tk_GetImage \ #define Tk_GetImage \
(tkStubsPtr->tk_GetImage) /* 97 */ (tkStubsPtr->tk_GetImage) /* 97 */
#endif
#ifndef Tk_GetImageMasterData
#define Tk_GetImageMasterData \ #define Tk_GetImageMasterData \
(tkStubsPtr->tk_GetImageMasterData) /* 98 */ (tkStubsPtr->tk_GetImageMasterData) /* 98 */
#endif
#ifndef Tk_GetItemTypes
#define Tk_GetItemTypes \ #define Tk_GetItemTypes \
(tkStubsPtr->tk_GetItemTypes) /* 99 */ (tkStubsPtr->tk_GetItemTypes) /* 99 */
#endif
#ifndef Tk_GetJoinStyle
#define Tk_GetJoinStyle \ #define Tk_GetJoinStyle \
(tkStubsPtr->tk_GetJoinStyle) /* 100 */ (tkStubsPtr->tk_GetJoinStyle) /* 100 */
#endif
#ifndef Tk_GetJustify
#define Tk_GetJustify \ #define Tk_GetJustify \
(tkStubsPtr->tk_GetJustify) /* 101 */ (tkStubsPtr->tk_GetJustify) /* 101 */
#endif
#ifndef Tk_GetNumMainWindows
#define Tk_GetNumMainWindows \ #define Tk_GetNumMainWindows \
(tkStubsPtr->tk_GetNumMainWindows) /* 102 */ (tkStubsPtr->tk_GetNumMainWindows) /* 102 */
#endif
#ifndef Tk_GetOption
#define Tk_GetOption \ #define Tk_GetOption \
(tkStubsPtr->tk_GetOption) /* 103 */ (tkStubsPtr->tk_GetOption) /* 103 */
#endif
#ifndef Tk_GetPixels
#define Tk_GetPixels \ #define Tk_GetPixels \
(tkStubsPtr->tk_GetPixels) /* 104 */ (tkStubsPtr->tk_GetPixels) /* 104 */
#endif
#ifndef Tk_GetPixmap
#define Tk_GetPixmap \ #define Tk_GetPixmap \
(tkStubsPtr->tk_GetPixmap) /* 105 */ (tkStubsPtr->tk_GetPixmap) /* 105 */
#endif
#ifndef Tk_GetRelief
#define Tk_GetRelief \ #define Tk_GetRelief \
(tkStubsPtr->tk_GetRelief) /* 106 */ (tkStubsPtr->tk_GetRelief) /* 106 */
#endif
#ifndef Tk_GetRootCoords
#define Tk_GetRootCoords \ #define Tk_GetRootCoords \
(tkStubsPtr->tk_GetRootCoords) /* 107 */ (tkStubsPtr->tk_GetRootCoords) /* 107 */
#endif
#ifndef Tk_GetScrollInfo
#define Tk_GetScrollInfo \ #define Tk_GetScrollInfo \
(tkStubsPtr->tk_GetScrollInfo) /* 108 */ (tkStubsPtr->tk_GetScrollInfo) /* 108 */
#endif
#ifndef Tk_GetScreenMM
#define Tk_GetScreenMM \ #define Tk_GetScreenMM \
(tkStubsPtr->tk_GetScreenMM) /* 109 */ (tkStubsPtr->tk_GetScreenMM) /* 109 */
#endif
#ifndef Tk_GetSelection
#define Tk_GetSelection \ #define Tk_GetSelection \
(tkStubsPtr->tk_GetSelection) /* 110 */ (tkStubsPtr->tk_GetSelection) /* 110 */
#endif
#ifndef Tk_GetUid
#define Tk_GetUid \ #define Tk_GetUid \
(tkStubsPtr->tk_GetUid) /* 111 */ (tkStubsPtr->tk_GetUid) /* 111 */
#endif
#ifndef Tk_GetVisual
#define Tk_GetVisual \ #define Tk_GetVisual \
(tkStubsPtr->tk_GetVisual) /* 112 */ (tkStubsPtr->tk_GetVisual) /* 112 */
#endif
#ifndef Tk_GetVRootGeometry
#define Tk_GetVRootGeometry \ #define Tk_GetVRootGeometry \
(tkStubsPtr->tk_GetVRootGeometry) /* 113 */ (tkStubsPtr->tk_GetVRootGeometry) /* 113 */
#endif
#ifndef Tk_Grab
#define Tk_Grab \ #define Tk_Grab \
(tkStubsPtr->tk_Grab) /* 114 */ (tkStubsPtr->tk_Grab) /* 114 */
#endif
#ifndef Tk_HandleEvent
#define Tk_HandleEvent \ #define Tk_HandleEvent \
(tkStubsPtr->tk_HandleEvent) /* 115 */ (tkStubsPtr->tk_HandleEvent) /* 115 */
#endif
#ifndef Tk_IdToWindow
#define Tk_IdToWindow \ #define Tk_IdToWindow \
(tkStubsPtr->tk_IdToWindow) /* 116 */ (tkStubsPtr->tk_IdToWindow) /* 116 */
#endif
#ifndef Tk_ImageChanged
#define Tk_ImageChanged \ #define Tk_ImageChanged \
(tkStubsPtr->tk_ImageChanged) /* 117 */ (tkStubsPtr->tk_ImageChanged) /* 117 */
#endif
#ifndef Tk_Init
#define Tk_Init \ #define Tk_Init \
(tkStubsPtr->tk_Init) /* 118 */ (tkStubsPtr->tk_Init) /* 118 */
#endif
#ifndef Tk_InternAtom
#define Tk_InternAtom \ #define Tk_InternAtom \
(tkStubsPtr->tk_InternAtom) /* 119 */ (tkStubsPtr->tk_InternAtom) /* 119 */
#endif
#ifndef Tk_IntersectTextLayout
#define Tk_IntersectTextLayout \ #define Tk_IntersectTextLayout \
(tkStubsPtr->tk_IntersectTextLayout) /* 120 */ (tkStubsPtr->tk_IntersectTextLayout) /* 120 */
#endif
#ifndef Tk_MaintainGeometry
#define Tk_MaintainGeometry \ #define Tk_MaintainGeometry \
(tkStubsPtr->tk_MaintainGeometry) /* 121 */ (tkStubsPtr->tk_MaintainGeometry) /* 121 */
#endif
#ifndef Tk_MainWindow
#define Tk_MainWindow \ #define Tk_MainWindow \
(tkStubsPtr->tk_MainWindow) /* 122 */ (tkStubsPtr->tk_MainWindow) /* 122 */
#endif
#ifndef Tk_MakeWindowExist
#define Tk_MakeWindowExist \ #define Tk_MakeWindowExist \
(tkStubsPtr->tk_MakeWindowExist) /* 123 */ (tkStubsPtr->tk_MakeWindowExist) /* 123 */
#endif
#ifndef Tk_ManageGeometry
#define Tk_ManageGeometry \ #define Tk_ManageGeometry \
(tkStubsPtr->tk_ManageGeometry) /* 124 */ (tkStubsPtr->tk_ManageGeometry) /* 124 */
#endif
#ifndef Tk_MapWindow
#define Tk_MapWindow \ #define Tk_MapWindow \
(tkStubsPtr->tk_MapWindow) /* 125 */ (tkStubsPtr->tk_MapWindow) /* 125 */
#endif
#ifndef Tk_MeasureChars
#define Tk_MeasureChars \ #define Tk_MeasureChars \
(tkStubsPtr->tk_MeasureChars) /* 126 */ (tkStubsPtr->tk_MeasureChars) /* 126 */
#endif
#ifndef Tk_MoveResizeWindow
#define Tk_MoveResizeWindow \ #define Tk_MoveResizeWindow \
(tkStubsPtr->tk_MoveResizeWindow) /* 127 */ (tkStubsPtr->tk_MoveResizeWindow) /* 127 */
#endif
#ifndef Tk_MoveWindow
#define Tk_MoveWindow \ #define Tk_MoveWindow \
(tkStubsPtr->tk_MoveWindow) /* 128 */ (tkStubsPtr->tk_MoveWindow) /* 128 */
#endif
#ifndef Tk_MoveToplevelWindow
#define Tk_MoveToplevelWindow \ #define Tk_MoveToplevelWindow \
(tkStubsPtr->tk_MoveToplevelWindow) /* 129 */ (tkStubsPtr->tk_MoveToplevelWindow) /* 129 */
#endif
#ifndef Tk_NameOf3DBorder
#define Tk_NameOf3DBorder \ #define Tk_NameOf3DBorder \
(tkStubsPtr->tk_NameOf3DBorder) /* 130 */ (tkStubsPtr->tk_NameOf3DBorder) /* 130 */
#endif
#ifndef Tk_NameOfAnchor
#define Tk_NameOfAnchor \ #define Tk_NameOfAnchor \
(tkStubsPtr->tk_NameOfAnchor) /* 131 */ (tkStubsPtr->tk_NameOfAnchor) /* 131 */
#endif
#ifndef Tk_NameOfBitmap
#define Tk_NameOfBitmap \ #define Tk_NameOfBitmap \
(tkStubsPtr->tk_NameOfBitmap) /* 132 */ (tkStubsPtr->tk_NameOfBitmap) /* 132 */
#endif
#ifndef Tk_NameOfCapStyle
#define Tk_NameOfCapStyle \ #define Tk_NameOfCapStyle \
(tkStubsPtr->tk_NameOfCapStyle) /* 133 */ (tkStubsPtr->tk_NameOfCapStyle) /* 133 */
#endif
#ifndef Tk_NameOfColor
#define Tk_NameOfColor \ #define Tk_NameOfColor \
(tkStubsPtr->tk_NameOfColor) /* 134 */ (tkStubsPtr->tk_NameOfColor) /* 134 */
#endif
#ifndef Tk_NameOfCursor
#define Tk_NameOfCursor \ #define Tk_NameOfCursor \
(tkStubsPtr->tk_NameOfCursor) /* 135 */ (tkStubsPtr->tk_NameOfCursor) /* 135 */
#endif
#ifndef Tk_NameOfFont
#define Tk_NameOfFont \ #define Tk_NameOfFont \
(tkStubsPtr->tk_NameOfFont) /* 136 */ (tkStubsPtr->tk_NameOfFont) /* 136 */
#endif
#ifndef Tk_NameOfImage
#define Tk_NameOfImage \ #define Tk_NameOfImage \
(tkStubsPtr->tk_NameOfImage) /* 137 */ (tkStubsPtr->tk_NameOfImage) /* 137 */
#endif
#ifndef Tk_NameOfJoinStyle
#define Tk_NameOfJoinStyle \ #define Tk_NameOfJoinStyle \
(tkStubsPtr->tk_NameOfJoinStyle) /* 138 */ (tkStubsPtr->tk_NameOfJoinStyle) /* 138 */
#endif
#ifndef Tk_NameOfJustify
#define Tk_NameOfJustify \ #define Tk_NameOfJustify \
(tkStubsPtr->tk_NameOfJustify) /* 139 */ (tkStubsPtr->tk_NameOfJustify) /* 139 */
#endif
#ifndef Tk_NameOfRelief
#define Tk_NameOfRelief \ #define Tk_NameOfRelief \
(tkStubsPtr->tk_NameOfRelief) /* 140 */ (tkStubsPtr->tk_NameOfRelief) /* 140 */
#endif
#ifndef Tk_NameToWindow
#define Tk_NameToWindow \ #define Tk_NameToWindow \
(tkStubsPtr->tk_NameToWindow) /* 141 */ (tkStubsPtr->tk_NameToWindow) /* 141 */
#endif
#ifndef Tk_OwnSelection
#define Tk_OwnSelection \ #define Tk_OwnSelection \
(tkStubsPtr->tk_OwnSelection) /* 142 */ (tkStubsPtr->tk_OwnSelection) /* 142 */
#endif
#ifndef Tk_ParseArgv
#define Tk_ParseArgv \ #define Tk_ParseArgv \
(tkStubsPtr->tk_ParseArgv) /* 143 */ (tkStubsPtr->tk_ParseArgv) /* 143 */
#endif
#ifndef Tk_PhotoPutBlock_NoComposite
#define Tk_PhotoPutBlock_NoComposite \ #define Tk_PhotoPutBlock_NoComposite \
(tkStubsPtr->tk_PhotoPutBlock_NoComposite) /* 144 */ (tkStubsPtr->tk_PhotoPutBlock_NoComposite) /* 144 */
#endif
#ifndef Tk_PhotoPutZoomedBlock_NoComposite
#define Tk_PhotoPutZoomedBlock_NoComposite \ #define Tk_PhotoPutZoomedBlock_NoComposite \
(tkStubsPtr->tk_PhotoPutZoomedBlock_NoComposite) /* 145 */ (tkStubsPtr->tk_PhotoPutZoomedBlock_NoComposite) /* 145 */
#endif
#ifndef Tk_PhotoGetImage
#define Tk_PhotoGetImage \ #define Tk_PhotoGetImage \
(tkStubsPtr->tk_PhotoGetImage) /* 146 */ (tkStubsPtr->tk_PhotoGetImage) /* 146 */
#endif
#ifndef Tk_PhotoBlank
#define Tk_PhotoBlank \ #define Tk_PhotoBlank \
(tkStubsPtr->tk_PhotoBlank) /* 147 */ (tkStubsPtr->tk_PhotoBlank) /* 147 */
#endif
#ifndef Tk_PhotoExpand_Panic
#define Tk_PhotoExpand_Panic \ #define Tk_PhotoExpand_Panic \
(tkStubsPtr->tk_PhotoExpand_Panic) /* 148 */ (tkStubsPtr->tk_PhotoExpand_Panic) /* 148 */
#endif
#ifndef Tk_PhotoGetSize
#define Tk_PhotoGetSize \ #define Tk_PhotoGetSize \
(tkStubsPtr->tk_PhotoGetSize) /* 149 */ (tkStubsPtr->tk_PhotoGetSize) /* 149 */
#endif
#ifndef Tk_PhotoSetSize_Panic
#define Tk_PhotoSetSize_Panic \ #define Tk_PhotoSetSize_Panic \
(tkStubsPtr->tk_PhotoSetSize_Panic) /* 150 */ (tkStubsPtr->tk_PhotoSetSize_Panic) /* 150 */
#endif
#ifndef Tk_PointToChar
#define Tk_PointToChar \ #define Tk_PointToChar \
(tkStubsPtr->tk_PointToChar) /* 151 */ (tkStubsPtr->tk_PointToChar) /* 151 */
#endif
#ifndef Tk_PostscriptFontName
#define Tk_PostscriptFontName \ #define Tk_PostscriptFontName \
(tkStubsPtr->tk_PostscriptFontName) /* 152 */ (tkStubsPtr->tk_PostscriptFontName) /* 152 */
#endif
#ifndef Tk_PreserveColormap
#define Tk_PreserveColormap \ #define Tk_PreserveColormap \
(tkStubsPtr->tk_PreserveColormap) /* 153 */ (tkStubsPtr->tk_PreserveColormap) /* 153 */
#endif
#ifndef Tk_QueueWindowEvent
#define Tk_QueueWindowEvent \ #define Tk_QueueWindowEvent \
(tkStubsPtr->tk_QueueWindowEvent) /* 154 */ (tkStubsPtr->tk_QueueWindowEvent) /* 154 */
#endif
#ifndef Tk_RedrawImage
#define Tk_RedrawImage \ #define Tk_RedrawImage \
(tkStubsPtr->tk_RedrawImage) /* 155 */ (tkStubsPtr->tk_RedrawImage) /* 155 */
#endif
#ifndef Tk_ResizeWindow
#define Tk_ResizeWindow \ #define Tk_ResizeWindow \
(tkStubsPtr->tk_ResizeWindow) /* 156 */ (tkStubsPtr->tk_ResizeWindow) /* 156 */
#endif
#ifndef Tk_RestackWindow
#define Tk_RestackWindow \ #define Tk_RestackWindow \
(tkStubsPtr->tk_RestackWindow) /* 157 */ (tkStubsPtr->tk_RestackWindow) /* 157 */
#endif
#ifndef Tk_RestrictEvents
#define Tk_RestrictEvents \ #define Tk_RestrictEvents \
(tkStubsPtr->tk_RestrictEvents) /* 158 */ (tkStubsPtr->tk_RestrictEvents) /* 158 */
#endif
#ifndef Tk_SafeInit
#define Tk_SafeInit \ #define Tk_SafeInit \
(tkStubsPtr->tk_SafeInit) /* 159 */ (tkStubsPtr->tk_SafeInit) /* 159 */
#endif
#ifndef Tk_SetAppName
#define Tk_SetAppName \ #define Tk_SetAppName \
(tkStubsPtr->tk_SetAppName) /* 160 */ (tkStubsPtr->tk_SetAppName) /* 160 */
#endif
#ifndef Tk_SetBackgroundFromBorder
#define Tk_SetBackgroundFromBorder \ #define Tk_SetBackgroundFromBorder \
(tkStubsPtr->tk_SetBackgroundFromBorder) /* 161 */ (tkStubsPtr->tk_SetBackgroundFromBorder) /* 161 */
#endif
#ifndef Tk_SetClass
#define Tk_SetClass \ #define Tk_SetClass \
(tkStubsPtr->tk_SetClass) /* 162 */ (tkStubsPtr->tk_SetClass) /* 162 */
#endif
#ifndef Tk_SetGrid
#define Tk_SetGrid \ #define Tk_SetGrid \
(tkStubsPtr->tk_SetGrid) /* 163 */ (tkStubsPtr->tk_SetGrid) /* 163 */
#endif
#ifndef Tk_SetInternalBorder
#define Tk_SetInternalBorder \ #define Tk_SetInternalBorder \
(tkStubsPtr->tk_SetInternalBorder) /* 164 */ (tkStubsPtr->tk_SetInternalBorder) /* 164 */
#endif
#ifndef Tk_SetWindowBackground
#define Tk_SetWindowBackground \ #define Tk_SetWindowBackground \
(tkStubsPtr->tk_SetWindowBackground) /* 165 */ (tkStubsPtr->tk_SetWindowBackground) /* 165 */
#endif
#ifndef Tk_SetWindowBackgroundPixmap
#define Tk_SetWindowBackgroundPixmap \ #define Tk_SetWindowBackgroundPixmap \
(tkStubsPtr->tk_SetWindowBackgroundPixmap) /* 166 */ (tkStubsPtr->tk_SetWindowBackgroundPixmap) /* 166 */
#endif
#ifndef Tk_SetWindowBorder
#define Tk_SetWindowBorder \ #define Tk_SetWindowBorder \
(tkStubsPtr->tk_SetWindowBorder) /* 167 */ (tkStubsPtr->tk_SetWindowBorder) /* 167 */
#endif
#ifndef Tk_SetWindowBorderWidth
#define Tk_SetWindowBorderWidth \ #define Tk_SetWindowBorderWidth \
(tkStubsPtr->tk_SetWindowBorderWidth) /* 168 */ (tkStubsPtr->tk_SetWindowBorderWidth) /* 168 */
#endif
#ifndef Tk_SetWindowBorderPixmap
#define Tk_SetWindowBorderPixmap \ #define Tk_SetWindowBorderPixmap \
(tkStubsPtr->tk_SetWindowBorderPixmap) /* 169 */ (tkStubsPtr->tk_SetWindowBorderPixmap) /* 169 */
#endif
#ifndef Tk_SetWindowColormap
#define Tk_SetWindowColormap \ #define Tk_SetWindowColormap \
(tkStubsPtr->tk_SetWindowColormap) /* 170 */ (tkStubsPtr->tk_SetWindowColormap) /* 170 */
#endif
#ifndef Tk_SetWindowVisual
#define Tk_SetWindowVisual \ #define Tk_SetWindowVisual \
(tkStubsPtr->tk_SetWindowVisual) /* 171 */ (tkStubsPtr->tk_SetWindowVisual) /* 171 */
#endif
#ifndef Tk_SizeOfBitmap
#define Tk_SizeOfBitmap \ #define Tk_SizeOfBitmap \
(tkStubsPtr->tk_SizeOfBitmap) /* 172 */ (tkStubsPtr->tk_SizeOfBitmap) /* 172 */
#endif
#ifndef Tk_SizeOfImage
#define Tk_SizeOfImage \ #define Tk_SizeOfImage \
(tkStubsPtr->tk_SizeOfImage) /* 173 */ (tkStubsPtr->tk_SizeOfImage) /* 173 */
#endif
#ifndef Tk_StrictMotif
#define Tk_StrictMotif \ #define Tk_StrictMotif \
(tkStubsPtr->tk_StrictMotif) /* 174 */ (tkStubsPtr->tk_StrictMotif) /* 174 */
#endif
#ifndef Tk_TextLayoutToPostscript
#define Tk_TextLayoutToPostscript \ #define Tk_TextLayoutToPostscript \
(tkStubsPtr->tk_TextLayoutToPostscript) /* 175 */ (tkStubsPtr->tk_TextLayoutToPostscript) /* 175 */
#endif
#ifndef Tk_TextWidth
#define Tk_TextWidth \ #define Tk_TextWidth \
(tkStubsPtr->tk_TextWidth) /* 176 */ (tkStubsPtr->tk_TextWidth) /* 176 */
#endif
#ifndef Tk_UndefineCursor
#define Tk_UndefineCursor \ #define Tk_UndefineCursor \
(tkStubsPtr->tk_UndefineCursor) /* 177 */ (tkStubsPtr->tk_UndefineCursor) /* 177 */
#endif
#ifndef Tk_UnderlineChars
#define Tk_UnderlineChars \ #define Tk_UnderlineChars \
(tkStubsPtr->tk_UnderlineChars) /* 178 */ (tkStubsPtr->tk_UnderlineChars) /* 178 */
#endif
#ifndef Tk_UnderlineTextLayout
#define Tk_UnderlineTextLayout \ #define Tk_UnderlineTextLayout \
(tkStubsPtr->tk_UnderlineTextLayout) /* 179 */ (tkStubsPtr->tk_UnderlineTextLayout) /* 179 */
#endif
#ifndef Tk_Ungrab
#define Tk_Ungrab \ #define Tk_Ungrab \
(tkStubsPtr->tk_Ungrab) /* 180 */ (tkStubsPtr->tk_Ungrab) /* 180 */
#endif
#ifndef Tk_UnmaintainGeometry
#define Tk_UnmaintainGeometry \ #define Tk_UnmaintainGeometry \
(tkStubsPtr->tk_UnmaintainGeometry) /* 181 */ (tkStubsPtr->tk_UnmaintainGeometry) /* 181 */
#endif
#ifndef Tk_UnmapWindow
#define Tk_UnmapWindow \ #define Tk_UnmapWindow \
(tkStubsPtr->tk_UnmapWindow) /* 182 */ (tkStubsPtr->tk_UnmapWindow) /* 182 */
#endif
#ifndef Tk_UnsetGrid
#define Tk_UnsetGrid \ #define Tk_UnsetGrid \
(tkStubsPtr->tk_UnsetGrid) /* 183 */ (tkStubsPtr->tk_UnsetGrid) /* 183 */
#endif
#ifndef Tk_UpdatePointer
#define Tk_UpdatePointer \ #define Tk_UpdatePointer \
(tkStubsPtr->tk_UpdatePointer) /* 184 */ (tkStubsPtr->tk_UpdatePointer) /* 184 */
#endif
#ifndef Tk_AllocBitmapFromObj
#define Tk_AllocBitmapFromObj \ #define Tk_AllocBitmapFromObj \
(tkStubsPtr->tk_AllocBitmapFromObj) /* 185 */ (tkStubsPtr->tk_AllocBitmapFromObj) /* 185 */
#endif
#ifndef Tk_Alloc3DBorderFromObj
#define Tk_Alloc3DBorderFromObj \ #define Tk_Alloc3DBorderFromObj \
(tkStubsPtr->tk_Alloc3DBorderFromObj) /* 186 */ (tkStubsPtr->tk_Alloc3DBorderFromObj) /* 186 */
#endif
#ifndef Tk_AllocColorFromObj
#define Tk_AllocColorFromObj \ #define Tk_AllocColorFromObj \
(tkStubsPtr->tk_AllocColorFromObj) /* 187 */ (tkStubsPtr->tk_AllocColorFromObj) /* 187 */
#endif
#ifndef Tk_AllocCursorFromObj
#define Tk_AllocCursorFromObj \ #define Tk_AllocCursorFromObj \
(tkStubsPtr->tk_AllocCursorFromObj) /* 188 */ (tkStubsPtr->tk_AllocCursorFromObj) /* 188 */
#endif
#ifndef Tk_AllocFontFromObj
#define Tk_AllocFontFromObj \ #define Tk_AllocFontFromObj \
(tkStubsPtr->tk_AllocFontFromObj) /* 189 */ (tkStubsPtr->tk_AllocFontFromObj) /* 189 */
#endif
#ifndef Tk_CreateOptionTable
#define Tk_CreateOptionTable \ #define Tk_CreateOptionTable \
(tkStubsPtr->tk_CreateOptionTable) /* 190 */ (tkStubsPtr->tk_CreateOptionTable) /* 190 */
#endif
#ifndef Tk_DeleteOptionTable
#define Tk_DeleteOptionTable \ #define Tk_DeleteOptionTable \
(tkStubsPtr->tk_DeleteOptionTable) /* 191 */ (tkStubsPtr->tk_DeleteOptionTable) /* 191 */
#endif
#ifndef Tk_Free3DBorderFromObj
#define Tk_Free3DBorderFromObj \ #define Tk_Free3DBorderFromObj \
(tkStubsPtr->tk_Free3DBorderFromObj) /* 192 */ (tkStubsPtr->tk_Free3DBorderFromObj) /* 192 */
#endif
#ifndef Tk_FreeBitmapFromObj
#define Tk_FreeBitmapFromObj \ #define Tk_FreeBitmapFromObj \
(tkStubsPtr->tk_FreeBitmapFromObj) /* 193 */ (tkStubsPtr->tk_FreeBitmapFromObj) /* 193 */
#endif
#ifndef Tk_FreeColorFromObj
#define Tk_FreeColorFromObj \ #define Tk_FreeColorFromObj \
(tkStubsPtr->tk_FreeColorFromObj) /* 194 */ (tkStubsPtr->tk_FreeColorFromObj) /* 194 */
#endif
#ifndef Tk_FreeConfigOptions
#define Tk_FreeConfigOptions \ #define Tk_FreeConfigOptions \
(tkStubsPtr->tk_FreeConfigOptions) /* 195 */ (tkStubsPtr->tk_FreeConfigOptions) /* 195 */
#endif
#ifndef Tk_FreeSavedOptions
#define Tk_FreeSavedOptions \ #define Tk_FreeSavedOptions \
(tkStubsPtr->tk_FreeSavedOptions) /* 196 */ (tkStubsPtr->tk_FreeSavedOptions) /* 196 */
#endif
#ifndef Tk_FreeCursorFromObj
#define Tk_FreeCursorFromObj \ #define Tk_FreeCursorFromObj \
(tkStubsPtr->tk_FreeCursorFromObj) /* 197 */ (tkStubsPtr->tk_FreeCursorFromObj) /* 197 */
#endif
#ifndef Tk_FreeFontFromObj
#define Tk_FreeFontFromObj \ #define Tk_FreeFontFromObj \
(tkStubsPtr->tk_FreeFontFromObj) /* 198 */ (tkStubsPtr->tk_FreeFontFromObj) /* 198 */
#endif
#ifndef Tk_Get3DBorderFromObj
#define Tk_Get3DBorderFromObj \ #define Tk_Get3DBorderFromObj \
(tkStubsPtr->tk_Get3DBorderFromObj) /* 199 */ (tkStubsPtr->tk_Get3DBorderFromObj) /* 199 */
#endif
#ifndef Tk_GetAnchorFromObj
#define Tk_GetAnchorFromObj \ #define Tk_GetAnchorFromObj \
(tkStubsPtr->tk_GetAnchorFromObj) /* 200 */ (tkStubsPtr->tk_GetAnchorFromObj) /* 200 */
#endif
#ifndef Tk_GetBitmapFromObj
#define Tk_GetBitmapFromObj \ #define Tk_GetBitmapFromObj \
(tkStubsPtr->tk_GetBitmapFromObj) /* 201 */ (tkStubsPtr->tk_GetBitmapFromObj) /* 201 */
#endif
#ifndef Tk_GetColorFromObj
#define Tk_GetColorFromObj \ #define Tk_GetColorFromObj \
(tkStubsPtr->tk_GetColorFromObj) /* 202 */ (tkStubsPtr->tk_GetColorFromObj) /* 202 */
#endif
#ifndef Tk_GetCursorFromObj
#define Tk_GetCursorFromObj \ #define Tk_GetCursorFromObj \
(tkStubsPtr->tk_GetCursorFromObj) /* 203 */ (tkStubsPtr->tk_GetCursorFromObj) /* 203 */
#endif
#ifndef Tk_GetOptionInfo
#define Tk_GetOptionInfo \ #define Tk_GetOptionInfo \
(tkStubsPtr->tk_GetOptionInfo) /* 204 */ (tkStubsPtr->tk_GetOptionInfo) /* 204 */
#endif
#ifndef Tk_GetOptionValue
#define Tk_GetOptionValue \ #define Tk_GetOptionValue \
(tkStubsPtr->tk_GetOptionValue) /* 205 */ (tkStubsPtr->tk_GetOptionValue) /* 205 */
#endif
#ifndef Tk_GetJustifyFromObj
#define Tk_GetJustifyFromObj \ #define Tk_GetJustifyFromObj \
(tkStubsPtr->tk_GetJustifyFromObj) /* 206 */ (tkStubsPtr->tk_GetJustifyFromObj) /* 206 */
#endif
#ifndef Tk_GetMMFromObj
#define Tk_GetMMFromObj \ #define Tk_GetMMFromObj \
(tkStubsPtr->tk_GetMMFromObj) /* 207 */ (tkStubsPtr->tk_GetMMFromObj) /* 207 */
#endif
#ifndef Tk_GetPixelsFromObj
#define Tk_GetPixelsFromObj \ #define Tk_GetPixelsFromObj \
(tkStubsPtr->tk_GetPixelsFromObj) /* 208 */ (tkStubsPtr->tk_GetPixelsFromObj) /* 208 */
#endif
#ifndef Tk_GetReliefFromObj
#define Tk_GetReliefFromObj \ #define Tk_GetReliefFromObj \
(tkStubsPtr->tk_GetReliefFromObj) /* 209 */ (tkStubsPtr->tk_GetReliefFromObj) /* 209 */
#endif
#ifndef Tk_GetScrollInfoObj
#define Tk_GetScrollInfoObj \ #define Tk_GetScrollInfoObj \
(tkStubsPtr->tk_GetScrollInfoObj) /* 210 */ (tkStubsPtr->tk_GetScrollInfoObj) /* 210 */
#endif
#ifndef Tk_InitOptions
#define Tk_InitOptions \ #define Tk_InitOptions \
(tkStubsPtr->tk_InitOptions) /* 211 */ (tkStubsPtr->tk_InitOptions) /* 211 */
#endif
#ifndef Tk_MainEx
#define Tk_MainEx \ #define Tk_MainEx \
(tkStubsPtr->tk_MainEx) /* 212 */ (tkStubsPtr->tk_MainEx) /* 212 */
#endif
#ifndef Tk_RestoreSavedOptions
#define Tk_RestoreSavedOptions \ #define Tk_RestoreSavedOptions \
(tkStubsPtr->tk_RestoreSavedOptions) /* 213 */ (tkStubsPtr->tk_RestoreSavedOptions) /* 213 */
#endif
#ifndef Tk_SetOptions
#define Tk_SetOptions \ #define Tk_SetOptions \
(tkStubsPtr->tk_SetOptions) /* 214 */ (tkStubsPtr->tk_SetOptions) /* 214 */
#endif
#ifndef Tk_InitConsoleChannels
#define Tk_InitConsoleChannels \ #define Tk_InitConsoleChannels \
(tkStubsPtr->tk_InitConsoleChannels) /* 215 */ (tkStubsPtr->tk_InitConsoleChannels) /* 215 */
#endif
#ifndef Tk_CreateConsoleWindow
#define Tk_CreateConsoleWindow \ #define Tk_CreateConsoleWindow \
(tkStubsPtr->tk_CreateConsoleWindow) /* 216 */ (tkStubsPtr->tk_CreateConsoleWindow) /* 216 */
#endif
#ifndef Tk_CreateSmoothMethod
#define Tk_CreateSmoothMethod \ #define Tk_CreateSmoothMethod \
(tkStubsPtr->tk_CreateSmoothMethod) /* 217 */ (tkStubsPtr->tk_CreateSmoothMethod) /* 217 */
#endif
/* Slot 218 is reserved */ /* Slot 218 is reserved */
/* Slot 219 is reserved */ /* Slot 219 is reserved */
#ifndef Tk_GetDash
#define Tk_GetDash \ #define Tk_GetDash \
(tkStubsPtr->tk_GetDash) /* 220 */ (tkStubsPtr->tk_GetDash) /* 220 */
#endif
#ifndef Tk_CreateOutline
#define Tk_CreateOutline \ #define Tk_CreateOutline \
(tkStubsPtr->tk_CreateOutline) /* 221 */ (tkStubsPtr->tk_CreateOutline) /* 221 */
#endif
#ifndef Tk_DeleteOutline
#define Tk_DeleteOutline \ #define Tk_DeleteOutline \
(tkStubsPtr->tk_DeleteOutline) /* 222 */ (tkStubsPtr->tk_DeleteOutline) /* 222 */
#endif
#ifndef Tk_ConfigOutlineGC
#define Tk_ConfigOutlineGC \ #define Tk_ConfigOutlineGC \
(tkStubsPtr->tk_ConfigOutlineGC) /* 223 */ (tkStubsPtr->tk_ConfigOutlineGC) /* 223 */
#endif
#ifndef Tk_ChangeOutlineGC
#define Tk_ChangeOutlineGC \ #define Tk_ChangeOutlineGC \
(tkStubsPtr->tk_ChangeOutlineGC) /* 224 */ (tkStubsPtr->tk_ChangeOutlineGC) /* 224 */
#endif
#ifndef Tk_ResetOutlineGC
#define Tk_ResetOutlineGC \ #define Tk_ResetOutlineGC \
(tkStubsPtr->tk_ResetOutlineGC) /* 225 */ (tkStubsPtr->tk_ResetOutlineGC) /* 225 */
#endif
#ifndef Tk_CanvasPsOutline
#define Tk_CanvasPsOutline \ #define Tk_CanvasPsOutline \
(tkStubsPtr->tk_CanvasPsOutline) /* 226 */ (tkStubsPtr->tk_CanvasPsOutline) /* 226 */
#endif
#ifndef Tk_SetTSOrigin
#define Tk_SetTSOrigin \ #define Tk_SetTSOrigin \
(tkStubsPtr->tk_SetTSOrigin) /* 227 */ (tkStubsPtr->tk_SetTSOrigin) /* 227 */
#endif
#ifndef Tk_CanvasGetCoordFromObj
#define Tk_CanvasGetCoordFromObj \ #define Tk_CanvasGetCoordFromObj \
(tkStubsPtr->tk_CanvasGetCoordFromObj) /* 228 */ (tkStubsPtr->tk_CanvasGetCoordFromObj) /* 228 */
#endif
#ifndef Tk_CanvasSetOffset
#define Tk_CanvasSetOffset \ #define Tk_CanvasSetOffset \
(tkStubsPtr->tk_CanvasSetOffset) /* 229 */ (tkStubsPtr->tk_CanvasSetOffset) /* 229 */
#endif
#ifndef Tk_DitherPhoto
#define Tk_DitherPhoto \ #define Tk_DitherPhoto \
(tkStubsPtr->tk_DitherPhoto) /* 230 */ (tkStubsPtr->tk_DitherPhoto) /* 230 */
#endif
#ifndef Tk_PostscriptBitmap
#define Tk_PostscriptBitmap \ #define Tk_PostscriptBitmap \
(tkStubsPtr->tk_PostscriptBitmap) /* 231 */ (tkStubsPtr->tk_PostscriptBitmap) /* 231 */
#endif
#ifndef Tk_PostscriptColor
#define Tk_PostscriptColor \ #define Tk_PostscriptColor \
(tkStubsPtr->tk_PostscriptColor) /* 232 */ (tkStubsPtr->tk_PostscriptColor) /* 232 */
#endif
#ifndef Tk_PostscriptFont
#define Tk_PostscriptFont \ #define Tk_PostscriptFont \
(tkStubsPtr->tk_PostscriptFont) /* 233 */ (tkStubsPtr->tk_PostscriptFont) /* 233 */
#endif
#ifndef Tk_PostscriptImage
#define Tk_PostscriptImage \ #define Tk_PostscriptImage \
(tkStubsPtr->tk_PostscriptImage) /* 234 */ (tkStubsPtr->tk_PostscriptImage) /* 234 */
#endif
#ifndef Tk_PostscriptPath
#define Tk_PostscriptPath \ #define Tk_PostscriptPath \
(tkStubsPtr->tk_PostscriptPath) /* 235 */ (tkStubsPtr->tk_PostscriptPath) /* 235 */
#endif
#ifndef Tk_PostscriptStipple
#define Tk_PostscriptStipple \ #define Tk_PostscriptStipple \
(tkStubsPtr->tk_PostscriptStipple) /* 236 */ (tkStubsPtr->tk_PostscriptStipple) /* 236 */
#endif
#ifndef Tk_PostscriptY
#define Tk_PostscriptY \ #define Tk_PostscriptY \
(tkStubsPtr->tk_PostscriptY) /* 237 */ (tkStubsPtr->tk_PostscriptY) /* 237 */
#endif
#ifndef Tk_PostscriptPhoto
#define Tk_PostscriptPhoto \ #define Tk_PostscriptPhoto \
(tkStubsPtr->tk_PostscriptPhoto) /* 238 */ (tkStubsPtr->tk_PostscriptPhoto) /* 238 */
#endif
#ifndef Tk_CreateClientMessageHandler
#define Tk_CreateClientMessageHandler \ #define Tk_CreateClientMessageHandler \
(tkStubsPtr->tk_CreateClientMessageHandler) /* 239 */ (tkStubsPtr->tk_CreateClientMessageHandler) /* 239 */
#endif
#ifndef Tk_DeleteClientMessageHandler
#define Tk_DeleteClientMessageHandler \ #define Tk_DeleteClientMessageHandler \
(tkStubsPtr->tk_DeleteClientMessageHandler) /* 240 */ (tkStubsPtr->tk_DeleteClientMessageHandler) /* 240 */
#endif
#ifndef Tk_CreateAnonymousWindow
#define Tk_CreateAnonymousWindow \ #define Tk_CreateAnonymousWindow \
(tkStubsPtr->tk_CreateAnonymousWindow) /* 241 */ (tkStubsPtr->tk_CreateAnonymousWindow) /* 241 */
#endif
#ifndef Tk_SetClassProcs
#define Tk_SetClassProcs \ #define Tk_SetClassProcs \
(tkStubsPtr->tk_SetClassProcs) /* 242 */ (tkStubsPtr->tk_SetClassProcs) /* 242 */
#endif
#ifndef Tk_SetInternalBorderEx
#define Tk_SetInternalBorderEx \ #define Tk_SetInternalBorderEx \
(tkStubsPtr->tk_SetInternalBorderEx) /* 243 */ (tkStubsPtr->tk_SetInternalBorderEx) /* 243 */
#endif
#ifndef Tk_SetMinimumRequestSize
#define Tk_SetMinimumRequestSize \ #define Tk_SetMinimumRequestSize \
(tkStubsPtr->tk_SetMinimumRequestSize) /* 244 */ (tkStubsPtr->tk_SetMinimumRequestSize) /* 244 */
#endif
#ifndef Tk_SetCaretPos
#define Tk_SetCaretPos \ #define Tk_SetCaretPos \
(tkStubsPtr->tk_SetCaretPos) /* 245 */ (tkStubsPtr->tk_SetCaretPos) /* 245 */
#endif
#ifndef Tk_PhotoPutBlock_Panic
#define Tk_PhotoPutBlock_Panic \ #define Tk_PhotoPutBlock_Panic \
(tkStubsPtr->tk_PhotoPutBlock_Panic) /* 246 */ (tkStubsPtr->tk_PhotoPutBlock_Panic) /* 246 */
#endif
#ifndef Tk_PhotoPutZoomedBlock_Panic
#define Tk_PhotoPutZoomedBlock_Panic \ #define Tk_PhotoPutZoomedBlock_Panic \
(tkStubsPtr->tk_PhotoPutZoomedBlock_Panic) /* 247 */ (tkStubsPtr->tk_PhotoPutZoomedBlock_Panic) /* 247 */
#endif
#ifndef Tk_CollapseMotionEvents
#define Tk_CollapseMotionEvents \ #define Tk_CollapseMotionEvents \
(tkStubsPtr->tk_CollapseMotionEvents) /* 248 */ (tkStubsPtr->tk_CollapseMotionEvents) /* 248 */
#endif
#ifndef Tk_RegisterStyleEngine
#define Tk_RegisterStyleEngine \ #define Tk_RegisterStyleEngine \
(tkStubsPtr->tk_RegisterStyleEngine) /* 249 */ (tkStubsPtr->tk_RegisterStyleEngine) /* 249 */
#endif
#ifndef Tk_GetStyleEngine
#define Tk_GetStyleEngine \ #define Tk_GetStyleEngine \
(tkStubsPtr->tk_GetStyleEngine) /* 250 */ (tkStubsPtr->tk_GetStyleEngine) /* 250 */
#endif
#ifndef Tk_RegisterStyledElement
#define Tk_RegisterStyledElement \ #define Tk_RegisterStyledElement \
(tkStubsPtr->tk_RegisterStyledElement) /* 251 */ (tkStubsPtr->tk_RegisterStyledElement) /* 251 */
#endif
#ifndef Tk_GetElementId
#define Tk_GetElementId \ #define Tk_GetElementId \
(tkStubsPtr->tk_GetElementId) /* 252 */ (tkStubsPtr->tk_GetElementId) /* 252 */
#endif
#ifndef Tk_CreateStyle
#define Tk_CreateStyle \ #define Tk_CreateStyle \
(tkStubsPtr->tk_CreateStyle) /* 253 */ (tkStubsPtr->tk_CreateStyle) /* 253 */
#endif
#ifndef Tk_GetStyle
#define Tk_GetStyle \ #define Tk_GetStyle \
(tkStubsPtr->tk_GetStyle) /* 254 */ (tkStubsPtr->tk_GetStyle) /* 254 */
#endif
#ifndef Tk_FreeStyle
#define Tk_FreeStyle \ #define Tk_FreeStyle \
(tkStubsPtr->tk_FreeStyle) /* 255 */ (tkStubsPtr->tk_FreeStyle) /* 255 */
#endif
#ifndef Tk_NameOfStyle
#define Tk_NameOfStyle \ #define Tk_NameOfStyle \
(tkStubsPtr->tk_NameOfStyle) /* 256 */ (tkStubsPtr->tk_NameOfStyle) /* 256 */
#endif
#ifndef Tk_AllocStyleFromObj
#define Tk_AllocStyleFromObj \ #define Tk_AllocStyleFromObj \
(tkStubsPtr->tk_AllocStyleFromObj) /* 257 */ (tkStubsPtr->tk_AllocStyleFromObj) /* 257 */
#endif
#ifndef Tk_GetStyleFromObj
#define Tk_GetStyleFromObj \ #define Tk_GetStyleFromObj \
(tkStubsPtr->tk_GetStyleFromObj) /* 258 */ (tkStubsPtr->tk_GetStyleFromObj) /* 258 */
#endif
#ifndef Tk_FreeStyleFromObj
#define Tk_FreeStyleFromObj \ #define Tk_FreeStyleFromObj \
(tkStubsPtr->tk_FreeStyleFromObj) /* 259 */ (tkStubsPtr->tk_FreeStyleFromObj) /* 259 */
#endif
#ifndef Tk_GetStyledElement
#define Tk_GetStyledElement \ #define Tk_GetStyledElement \
(tkStubsPtr->tk_GetStyledElement) /* 260 */ (tkStubsPtr->tk_GetStyledElement) /* 260 */
#endif
#ifndef Tk_GetElementSize
#define Tk_GetElementSize \ #define Tk_GetElementSize \
(tkStubsPtr->tk_GetElementSize) /* 261 */ (tkStubsPtr->tk_GetElementSize) /* 261 */
#endif
#ifndef Tk_GetElementBox
#define Tk_GetElementBox \ #define Tk_GetElementBox \
(tkStubsPtr->tk_GetElementBox) /* 262 */ (tkStubsPtr->tk_GetElementBox) /* 262 */
#endif
#ifndef Tk_GetElementBorderWidth
#define Tk_GetElementBorderWidth \ #define Tk_GetElementBorderWidth \
(tkStubsPtr->tk_GetElementBorderWidth) /* 263 */ (tkStubsPtr->tk_GetElementBorderWidth) /* 263 */
#endif
#ifndef Tk_DrawElement
#define Tk_DrawElement \ #define Tk_DrawElement \
(tkStubsPtr->tk_DrawElement) /* 264 */ (tkStubsPtr->tk_DrawElement) /* 264 */
#endif
#ifndef Tk_PhotoExpand
#define Tk_PhotoExpand \ #define Tk_PhotoExpand \
(tkStubsPtr->tk_PhotoExpand) /* 265 */ (tkStubsPtr->tk_PhotoExpand) /* 265 */
#endif
#ifndef Tk_PhotoPutBlock
#define Tk_PhotoPutBlock \ #define Tk_PhotoPutBlock \
(tkStubsPtr->tk_PhotoPutBlock) /* 266 */ (tkStubsPtr->tk_PhotoPutBlock) /* 266 */
#endif
#ifndef Tk_PhotoPutZoomedBlock
#define Tk_PhotoPutZoomedBlock \ #define Tk_PhotoPutZoomedBlock \
(tkStubsPtr->tk_PhotoPutZoomedBlock) /* 267 */ (tkStubsPtr->tk_PhotoPutZoomedBlock) /* 267 */
#endif
#ifndef Tk_PhotoSetSize
#define Tk_PhotoSetSize \ #define Tk_PhotoSetSize \
(tkStubsPtr->tk_PhotoSetSize) /* 268 */ (tkStubsPtr->tk_PhotoSetSize) /* 268 */
#endif
#ifndef Tk_GetUserInactiveTime
#define Tk_GetUserInactiveTime \ #define Tk_GetUserInactiveTime \
(tkStubsPtr->tk_GetUserInactiveTime) /* 269 */ (tkStubsPtr->tk_GetUserInactiveTime) /* 269 */
#endif
#ifndef Tk_ResetUserInactiveTime
#define Tk_ResetUserInactiveTime \ #define Tk_ResetUserInactiveTime \
(tkStubsPtr->tk_ResetUserInactiveTime) /* 270 */ (tkStubsPtr->tk_ResetUserInactiveTime) /* 270 */
#endif
#ifndef Tk_Interp
#define Tk_Interp \ #define Tk_Interp \
(tkStubsPtr->tk_Interp) /* 271 */ (tkStubsPtr->tk_Interp) /* 271 */
#endif
#ifndef Tk_CreateOldImageType
#define Tk_CreateOldImageType \ #define Tk_CreateOldImageType \
(tkStubsPtr->tk_CreateOldImageType) /* 272 */ (tkStubsPtr->tk_CreateOldImageType) /* 272 */
#endif
#ifndef Tk_CreateOldPhotoImageFormat
#define Tk_CreateOldPhotoImageFormat \ #define Tk_CreateOldPhotoImageFormat \
(tkStubsPtr->tk_CreateOldPhotoImageFormat) /* 273 */ (tkStubsPtr->tk_CreateOldPhotoImageFormat) /* 273 */
#endif #define reserved274 \
(tkStubsPtr->reserved274) /* 274 */
#define reserved275 \
(tkStubsPtr->reserved275) /* 275 */
#endif /* defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) */ #endif /* defined(USE_TK_STUBS) */
/* !END!: Do not edit above this line. */ /* !END!: Do not edit above this line. */
/* Functions that don't belong in the stub table */
#undef Tk_MainEx
#undef Tk_Init
#undef Tk_SafeInit
#undef Tk_CreateConsoleWindow
#if defined(_WIN32) && defined(UNICODE)
# define Tk_MainEx Tk_MainExW
EXTERN void Tk_MainExW(int argc, wchar_t **argv,
Tcl_AppInitProc *appInitProc, Tcl_Interp *interp);
#endif
#undef TCL_STORAGE_CLASS #undef TCL_STORAGE_CLASS
#define TCL_STORAGE_CLASS DLLIMPORT #define TCL_STORAGE_CLASS DLLIMPORT
#endif /* _TKDECLS */ #endif /* _TKDECLS */
 End of changes. 622 change blocks. 
1540 lines changed or deleted 205 lines changed or added


 tkPlatDecls.h   tkPlatDecls.h 
skipping to change at line 26 skipping to change at line 26
#undef TCL_STORAGE_CLASS #undef TCL_STORAGE_CLASS
#define TCL_STORAGE_CLASS DLLEXPORT #define TCL_STORAGE_CLASS DLLEXPORT
#endif #endif
/* /*
* WARNING: This file is automatically generated by the tools/genStubs.tcl * WARNING: This file is automatically generated by the tools/genStubs.tcl
* script. Any modifications to the function declarations below should be made * script. Any modifications to the function declarations below should be made
* in the generic/tk.decls script. * in the generic/tk.decls script.
*/ */
#ifdef __cplusplus
extern "C" {
#endif
/* !BEGIN!: Do not edit below this line. */ /* !BEGIN!: Do not edit below this line. */
/* /*
* Exported function declarations: * Exported function declarations:
*/ */
#ifdef __WIN32__ /* WIN */ #if defined(__WIN32__) || defined(__CYGWIN__) /* WIN */
#ifndef Tk_AttachHWND_TCL_DECLARED
#define Tk_AttachHWND_TCL_DECLARED
/* 0 */ /* 0 */
EXTERN Window Tk_AttachHWND(Tk_Window tkwin, HWND hwnd); EXTERN Window Tk_AttachHWND(Tk_Window tkwin, HWND hwnd);
#endif
#ifndef Tk_GetHINSTANCE_TCL_DECLARED
#define Tk_GetHINSTANCE_TCL_DECLARED
/* 1 */ /* 1 */
EXTERN HINSTANCE Tk_GetHINSTANCE(void); EXTERN HINSTANCE Tk_GetHINSTANCE(void);
#endif
#ifndef Tk_GetHWND_TCL_DECLARED
#define Tk_GetHWND_TCL_DECLARED
/* 2 */ /* 2 */
EXTERN HWND Tk_GetHWND(Window window); EXTERN HWND Tk_GetHWND(Window window);
#endif
#ifndef Tk_HWNDToWindow_TCL_DECLARED
#define Tk_HWNDToWindow_TCL_DECLARED
/* 3 */ /* 3 */
EXTERN Tk_Window Tk_HWNDToWindow(HWND hwnd); EXTERN Tk_Window Tk_HWNDToWindow(HWND hwnd);
#endif
#ifndef Tk_PointerEvent_TCL_DECLARED
#define Tk_PointerEvent_TCL_DECLARED
/* 4 */ /* 4 */
EXTERN void Tk_PointerEvent(HWND hwnd, int x, int y); EXTERN void Tk_PointerEvent(HWND hwnd, int x, int y);
#endif
#ifndef Tk_TranslateWinEvent_TCL_DECLARED
#define Tk_TranslateWinEvent_TCL_DECLARED
/* 5 */ /* 5 */
EXTERN int Tk_TranslateWinEvent(HWND hwnd, UINT message, EXTERN int Tk_TranslateWinEvent(HWND hwnd, UINT message,
WPARAM wParam, LPARAM lParam, WPARAM wParam, LPARAM lParam,
LRESULT *result); LRESULT *result);
#endif
#endif /* WIN */ #endif /* WIN */
#ifdef MAC_OSX_TK /* AQUA */ #ifdef MAC_OSX_TK /* AQUA */
#ifndef Tk_MacOSXSetEmbedHandler_TCL_DECLARED
#define Tk_MacOSXSetEmbedHandler_TCL_DECLARED
/* 0 */ /* 0 */
EXTERN void Tk_MacOSXSetEmbedHandler( EXTERN void Tk_MacOSXSetEmbedHandler(
Tk_MacOSXEmbedRegisterWinProc *registerWinPr ocPtr, Tk_MacOSXEmbedRegisterWinProc *registerWinPr ocPtr,
Tk_MacOSXEmbedGetGrafPortProc *getPortProcPt r, Tk_MacOSXEmbedGetGrafPortProc *getPortProcPt r,
Tk_MacOSXEmbedMakeContainerExistProc *contai nerExistProcPtr, Tk_MacOSXEmbedMakeContainerExistProc *contai nerExistProcPtr,
Tk_MacOSXEmbedGetClipProc *getClipProc, Tk_MacOSXEmbedGetClipProc *getClipProc,
Tk_MacOSXEmbedGetOffsetInParentProc *getOffs etProc); Tk_MacOSXEmbedGetOffsetInParentProc *getOffs etProc);
#endif
#ifndef Tk_MacOSXTurnOffMenus_TCL_DECLARED
#define Tk_MacOSXTurnOffMenus_TCL_DECLARED
/* 1 */ /* 1 */
EXTERN void Tk_MacOSXTurnOffMenus(void); EXTERN void Tk_MacOSXTurnOffMenus(void);
#endif
#ifndef Tk_MacOSXTkOwnsCursor_TCL_DECLARED
#define Tk_MacOSXTkOwnsCursor_TCL_DECLARED
/* 2 */ /* 2 */
EXTERN void Tk_MacOSXTkOwnsCursor(int tkOwnsIt); EXTERN void Tk_MacOSXTkOwnsCursor(int tkOwnsIt);
#endif
#ifndef TkMacOSXInitMenus_TCL_DECLARED
#define TkMacOSXInitMenus_TCL_DECLARED
/* 3 */ /* 3 */
EXTERN void TkMacOSXInitMenus(Tcl_Interp *interp); EXTERN void TkMacOSXInitMenus(Tcl_Interp *interp);
#endif
#ifndef TkMacOSXInitAppleEvents_TCL_DECLARED
#define TkMacOSXInitAppleEvents_TCL_DECLARED
/* 4 */ /* 4 */
EXTERN void TkMacOSXInitAppleEvents(Tcl_Interp *interp); EXTERN void TkMacOSXInitAppleEvents(Tcl_Interp *interp);
#endif
#ifndef TkGenWMConfigureEvent_TCL_DECLARED
#define TkGenWMConfigureEvent_TCL_DECLARED
/* 5 */ /* 5 */
EXTERN void TkGenWMConfigureEvent(Tk_Window tkwin, int x, int y, EXTERN void TkGenWMConfigureEvent(Tk_Window tkwin, int x, int y,
int width, int height, int flags); int width, int height, int flags);
#endif
#ifndef TkMacOSXInvalClipRgns_TCL_DECLARED
#define TkMacOSXInvalClipRgns_TCL_DECLARED
/* 6 */ /* 6 */
EXTERN void TkMacOSXInvalClipRgns(Tk_Window tkwin); EXTERN void TkMacOSXInvalClipRgns(Tk_Window tkwin);
#endif
#ifndef TkMacOSXGetDrawablePort_TCL_DECLARED
#define TkMacOSXGetDrawablePort_TCL_DECLARED
/* 7 */ /* 7 */
EXTERN GWorldPtr TkMacOSXGetDrawablePort(Drawable drawable); EXTERN void * TkMacOSXGetDrawablePort(Drawable drawable);
#endif
#ifndef TkMacOSXGetRootControl_TCL_DECLARED
#define TkMacOSXGetRootControl_TCL_DECLARED
/* 8 */ /* 8 */
EXTERN ControlRef TkMacOSXGetRootControl(Drawable drawable); EXTERN void * TkMacOSXGetRootControl(Drawable drawable);
#endif
#ifndef Tk_MacOSXSetupTkNotifier_TCL_DECLARED
#define Tk_MacOSXSetupTkNotifier_TCL_DECLARED
/* 9 */ /* 9 */
EXTERN void Tk_MacOSXSetupTkNotifier(void); EXTERN void Tk_MacOSXSetupTkNotifier(void);
#endif
#ifndef Tk_MacOSXIsAppInFront_TCL_DECLARED
#define Tk_MacOSXIsAppInFront_TCL_DECLARED
/* 10 */ /* 10 */
EXTERN int Tk_MacOSXIsAppInFront(void); EXTERN int Tk_MacOSXIsAppInFront(void);
#endif
#endif /* AQUA */ #endif /* AQUA */
typedef struct TkPlatStubs { typedef struct TkPlatStubs {
int magic; int magic;
struct TkPlatStubHooks *hooks; void *hooks;
#ifdef __WIN32__ /* WIN */ #if defined(__WIN32__) || defined(__CYGWIN__) /* WIN */
Window (*tk_AttachHWND) (Tk_Window tkwin, HWND hwnd); /* 0 */ Window (*tk_AttachHWND) (Tk_Window tkwin, HWND hwnd); /* 0 */
HINSTANCE (*tk_GetHINSTANCE) (void); /* 1 */ HINSTANCE (*tk_GetHINSTANCE) (void); /* 1 */
HWND (*tk_GetHWND) (Window window); /* 2 */ HWND (*tk_GetHWND) (Window window); /* 2 */
Tk_Window (*tk_HWNDToWindow) (HWND hwnd); /* 3 */ Tk_Window (*tk_HWNDToWindow) (HWND hwnd); /* 3 */
void (*tk_PointerEvent) (HWND hwnd, int x, int y); /* 4 */ void (*tk_PointerEvent) (HWND hwnd, int x, int y); /* 4 */
int (*tk_TranslateWinEvent) (HWND hwnd, UINT message, WPARAM wParam, LP ARAM lParam, LRESULT *result); /* 5 */ int (*tk_TranslateWinEvent) (HWND hwnd, UINT message, WPARAM wParam, LP ARAM lParam, LRESULT *result); /* 5 */
#endif /* WIN */ #endif /* WIN */
#ifdef MAC_OSX_TK /* AQUA */ #ifdef MAC_OSX_TK /* AQUA */
void (*tk_MacOSXSetEmbedHandler) (Tk_MacOSXEmbedRegisterWinProc *regist erWinProcPtr, Tk_MacOSXEmbedGetGrafPortProc *getPortProcPtr, Tk_MacOSXEmbed MakeContainerExistProc *containerExistProcPtr, Tk_MacOSXEmbedGetClipProc *g etClipProc, Tk_MacOSXEmbedGetOffsetInParentProc *getOffsetProc); /* 0 */ void (*tk_MacOSXSetEmbedHandler) (Tk_MacOSXEmbedRegisterWinProc *regist erWinProcPtr, Tk_MacOSXEmbedGetGrafPortProc *getPortProcPtr, Tk_MacOSXEmbed MakeContainerExistProc *containerExistProcPtr, Tk_MacOSXEmbedGetClipProc *g etClipProc, Tk_MacOSXEmbedGetOffsetInParentProc *getOffsetProc); /* 0 */
void (*tk_MacOSXTurnOffMenus) (void); /* 1 */ void (*tk_MacOSXTurnOffMenus) (void); /* 1 */
void (*tk_MacOSXTkOwnsCursor) (int tkOwnsIt); /* 2 */ void (*tk_MacOSXTkOwnsCursor) (int tkOwnsIt); /* 2 */
void (*tkMacOSXInitMenus) (Tcl_Interp *interp); /* 3 */ void (*tkMacOSXInitMenus) (Tcl_Interp *interp); /* 3 */
void (*tkMacOSXInitAppleEvents) (Tcl_Interp *interp); /* 4 */ void (*tkMacOSXInitAppleEvents) (Tcl_Interp *interp); /* 4 */
void (*tkGenWMConfigureEvent) (Tk_Window tkwin, int x, int y, int width , int height, int flags); /* 5 */ void (*tkGenWMConfigureEvent) (Tk_Window tkwin, int x, int y, int width , int height, int flags); /* 5 */
void (*tkMacOSXInvalClipRgns) (Tk_Window tkwin); /* 6 */ void (*tkMacOSXInvalClipRgns) (Tk_Window tkwin); /* 6 */
GWorldPtr (*tkMacOSXGetDrawablePort) (Drawable drawable); /* 7 */ void * (*tkMacOSXGetDrawablePort) (Drawable drawable); /* 7 */
ControlRef (*tkMacOSXGetRootControl) (Drawable drawable); /* 8 */ void * (*tkMacOSXGetRootControl) (Drawable drawable); /* 8 */
void (*tk_MacOSXSetupTkNotifier) (void); /* 9 */ void (*tk_MacOSXSetupTkNotifier) (void); /* 9 */
int (*tk_MacOSXIsAppInFront) (void); /* 10 */ int (*tk_MacOSXIsAppInFront) (void); /* 10 */
#endif /* AQUA */ #endif /* AQUA */
} TkPlatStubs; } TkPlatStubs;
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
extern TkPlatStubs *tkPlatStubsPtr; extern const TkPlatStubs *tkPlatStubsPtr;
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) #if defined(USE_TK_STUBS)
/* /*
* Inline function declarations: * Inline function declarations:
*/ */
#ifdef __WIN32__ /* WIN */ #if defined(__WIN32__) || defined(__CYGWIN__) /* WIN */
#ifndef Tk_AttachHWND
#define Tk_AttachHWND \ #define Tk_AttachHWND \
(tkPlatStubsPtr->tk_AttachHWND) /* 0 */ (tkPlatStubsPtr->tk_AttachHWND) /* 0 */
#endif
#ifndef Tk_GetHINSTANCE
#define Tk_GetHINSTANCE \ #define Tk_GetHINSTANCE \
(tkPlatStubsPtr->tk_GetHINSTANCE) /* 1 */ (tkPlatStubsPtr->tk_GetHINSTANCE) /* 1 */
#endif
#ifndef Tk_GetHWND
#define Tk_GetHWND \ #define Tk_GetHWND \
(tkPlatStubsPtr->tk_GetHWND) /* 2 */ (tkPlatStubsPtr->tk_GetHWND) /* 2 */
#endif
#ifndef Tk_HWNDToWindow
#define Tk_HWNDToWindow \ #define Tk_HWNDToWindow \
(tkPlatStubsPtr->tk_HWNDToWindow) /* 3 */ (tkPlatStubsPtr->tk_HWNDToWindow) /* 3 */
#endif
#ifndef Tk_PointerEvent
#define Tk_PointerEvent \ #define Tk_PointerEvent \
(tkPlatStubsPtr->tk_PointerEvent) /* 4 */ (tkPlatStubsPtr->tk_PointerEvent) /* 4 */
#endif
#ifndef Tk_TranslateWinEvent
#define Tk_TranslateWinEvent \ #define Tk_TranslateWinEvent \
(tkPlatStubsPtr->tk_TranslateWinEvent) /* 5 */ (tkPlatStubsPtr->tk_TranslateWinEvent) /* 5 */
#endif
#endif /* WIN */ #endif /* WIN */
#ifdef MAC_OSX_TK /* AQUA */ #ifdef MAC_OSX_TK /* AQUA */
#ifndef Tk_MacOSXSetEmbedHandler
#define Tk_MacOSXSetEmbedHandler \ #define Tk_MacOSXSetEmbedHandler \
(tkPlatStubsPtr->tk_MacOSXSetEmbedHandler) /* 0 */ (tkPlatStubsPtr->tk_MacOSXSetEmbedHandler) /* 0 */
#endif
#ifndef Tk_MacOSXTurnOffMenus
#define Tk_MacOSXTurnOffMenus \ #define Tk_MacOSXTurnOffMenus \
(tkPlatStubsPtr->tk_MacOSXTurnOffMenus) /* 1 */ (tkPlatStubsPtr->tk_MacOSXTurnOffMenus) /* 1 */
#endif
#ifndef Tk_MacOSXTkOwnsCursor
#define Tk_MacOSXTkOwnsCursor \ #define Tk_MacOSXTkOwnsCursor \
(tkPlatStubsPtr->tk_MacOSXTkOwnsCursor) /* 2 */ (tkPlatStubsPtr->tk_MacOSXTkOwnsCursor) /* 2 */
#endif
#ifndef TkMacOSXInitMenus
#define TkMacOSXInitMenus \ #define TkMacOSXInitMenus \
(tkPlatStubsPtr->tkMacOSXInitMenus) /* 3 */ (tkPlatStubsPtr->tkMacOSXInitMenus) /* 3 */
#endif
#ifndef TkMacOSXInitAppleEvents
#define TkMacOSXInitAppleEvents \ #define TkMacOSXInitAppleEvents \
(tkPlatStubsPtr->tkMacOSXInitAppleEvents) /* 4 */ (tkPlatStubsPtr->tkMacOSXInitAppleEvents) /* 4 */
#endif
#ifndef TkGenWMConfigureEvent
#define TkGenWMConfigureEvent \ #define TkGenWMConfigureEvent \
(tkPlatStubsPtr->tkGenWMConfigureEvent) /* 5 */ (tkPlatStubsPtr->tkGenWMConfigureEvent) /* 5 */
#endif
#ifndef TkMacOSXInvalClipRgns
#define TkMacOSXInvalClipRgns \ #define TkMacOSXInvalClipRgns \
(tkPlatStubsPtr->tkMacOSXInvalClipRgns) /* 6 */ (tkPlatStubsPtr->tkMacOSXInvalClipRgns) /* 6 */
#endif
#ifndef TkMacOSXGetDrawablePort
#define TkMacOSXGetDrawablePort \ #define TkMacOSXGetDrawablePort \
(tkPlatStubsPtr->tkMacOSXGetDrawablePort) /* 7 */ (tkPlatStubsPtr->tkMacOSXGetDrawablePort) /* 7 */
#endif
#ifndef TkMacOSXGetRootControl
#define TkMacOSXGetRootControl \ #define TkMacOSXGetRootControl \
(tkPlatStubsPtr->tkMacOSXGetRootControl) /* 8 */ (tkPlatStubsPtr->tkMacOSXGetRootControl) /* 8 */
#endif
#ifndef Tk_MacOSXSetupTkNotifier
#define Tk_MacOSXSetupTkNotifier \ #define Tk_MacOSXSetupTkNotifier \
(tkPlatStubsPtr->tk_MacOSXSetupTkNotifier) /* 9 */ (tkPlatStubsPtr->tk_MacOSXSetupTkNotifier) /* 9 */
#endif
#ifndef Tk_MacOSXIsAppInFront
#define Tk_MacOSXIsAppInFront \ #define Tk_MacOSXIsAppInFront \
(tkPlatStubsPtr->tk_MacOSXIsAppInFront) /* 10 */ (tkPlatStubsPtr->tk_MacOSXIsAppInFront) /* 10 */
#endif
#endif /* AQUA */ #endif /* AQUA */
#endif /* defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) */ #endif /* defined(USE_TK_STUBS) */
/* !END!: Do not edit above this line. */ /* !END!: Do not edit above this line. */
#ifdef __cplusplus
}
#endif
#undef TCL_STORAGE_CLASS #undef TCL_STORAGE_CLASS
#define TCL_STORAGE_CLASS DLLIMPORT #define TCL_STORAGE_CLASS DLLIMPORT
#endif /* _TKPLATDECLS */ #endif /* _TKPLATDECLS */
 End of changes. 46 change blocks. 
96 lines changed or deleted 19 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/