tk.h File Reference

#include "common.h"
#include <tcl.h>
#include <X11/Xlib.h>
#include "tkDecls.h"

Include dependency graph for tk.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Tk_OptionSpec
struct  Tk_ObjCustomOption
struct  Tk_SavedOption
struct  Tk_SavedOptions
struct  Tk_CustomOption
struct  Tk_ConfigSpec
struct  Tk_ArgvInfo
struct  Tk_FontMetrics
struct  Tk_ClassProcs
struct  Tk_GeomMgr
struct  XVirtualEvent
struct  XActivateDeactivateEvent
struct  Tk_FakeWin
struct  Tk_SmoothMethod
struct  Tk_Item
struct  Tk_ItemType
struct  Tk_CanvasTextInfo
struct  Tk_Dash
struct  Tk_TSOffset
struct  Tk_Outline
struct  Tk_ImageType
struct  Tk_PhotoImageBlock
struct  Tk_PhotoImageFormat
struct  Tk_ElementOptionSpec
struct  Tk_ElementSpec

Defines

#define TK_MAJOR_VERSION   8
#define TK_MINOR_VERSION   4
#define TK_RELEASE_LEVEL   TCL_FINAL_RELEASE
#define TK_RELEASE_SERIAL   6
#define TK_VERSION   "8.4"
#define TK_PATCH_LEVEL   "8.4.6"
#define TK_OPTION_NULL_OK   (1 << 0)
#define TK_OPTION_DONT_SET_DEFAULT   (1 << 3)
#define Tk_Offset(type, field)   ((int) ((char *) &((type *) 0)->field))
#define TK_NUM_SAVED_OPTIONS   20
#define TK_CONFIG_ARGV_ONLY   1
#define TK_CONFIG_OBJS   0x80
#define TK_CONFIG_NULL_OK   (1 << 0)
#define TK_CONFIG_COLOR_ONLY   (1 << 1)
#define TK_CONFIG_MONO_ONLY   (1 << 2)
#define TK_CONFIG_DONT_SET_DEFAULT   (1 << 3)
#define TK_CONFIG_OPTION_SPECIFIED   (1 << 4)
#define TK_CONFIG_USER_BIT   0x100
#define TK_ARGV_CONSTANT   15
#define TK_ARGV_INT   16
#define TK_ARGV_STRING   17
#define TK_ARGV_UID   18
#define TK_ARGV_REST   19
#define TK_ARGV_FLOAT   20
#define TK_ARGV_FUNC   21
#define TK_ARGV_GENFUNC   22
#define TK_ARGV_HELP   23
#define TK_ARGV_CONST_OPTION   24
#define TK_ARGV_OPTION_VALUE   25
#define TK_ARGV_OPTION_NAME_VALUE   26
#define TK_ARGV_END   27
#define TK_ARGV_NO_DEFAULTS   0x1
#define TK_ARGV_NO_LEFTOVERS   0x2
#define TK_ARGV_NO_ABBREV   0x4
#define TK_ARGV_DONT_SKIP_FIRST_ARG   0x8
#define TK_WIDGET_DEFAULT_PRIO   20
#define TK_STARTUP_FILE_PRIO   40
#define TK_USER_DEFAULT_PRIO   60
#define TK_INTERACTIVE_PRIO   80
#define TK_MAX_PRIO   100
#define TK_RELIEF_NULL   -1
#define TK_RELIEF_FLAT   0
#define TK_RELIEF_GROOVE   1
#define TK_RELIEF_RAISED   2
#define TK_RELIEF_RIDGE   3
#define TK_RELIEF_SOLID   4
#define TK_RELIEF_SUNKEN   5
#define TK_3D_FLAT_GC   1
#define TK_3D_LIGHT_GC   2
#define TK_3D_DARK_GC   3
#define TK_NOTIFY_SHARE   20
#define TK_WHOLE_WORDS   1
#define TK_AT_LEAST_ONE   2
#define TK_PARTIAL_OK   4
#define TK_IGNORE_TABS   8
#define TK_IGNORE_NEWLINES   16
#define Tk_GetClassProc(procs, which)
#define TK_SCROLL_MOVETO   1
#define TK_SCROLL_PAGES   2
#define TK_SCROLL_UNITS   3
#define TK_SCROLL_ERROR   4
#define VirtualEvent   (LASTEvent)
#define ActivateNotify   (LASTEvent + 1)
#define DeactivateNotify   (LASTEvent + 2)
#define MouseWheelEvent   (LASTEvent + 3)
#define TK_LASTEVENT   (LASTEvent + 4)
#define MouseWheelMask   (1L << 28)
#define ActivateMask   (1L << 29)
#define VirtualEventMask   (1L << 30)
#define TK_LASTEVENT   (LASTEvent + 4)
#define Tk_Display(tkwin)   (((Tk_FakeWin *) (tkwin))->display)
#define Tk_ScreenNumber(tkwin)   (((Tk_FakeWin *) (tkwin))->screenNum)
#define Tk_Screen(tkwin)
#define Tk_Depth(tkwin)   (((Tk_FakeWin *) (tkwin))->depth)
#define Tk_Visual(tkwin)   (((Tk_FakeWin *) (tkwin))->visual)
#define Tk_WindowId(tkwin)   (((Tk_FakeWin *) (tkwin))->window)
#define Tk_PathName(tkwin)   (((Tk_FakeWin *) (tkwin))->pathName)
#define Tk_Name(tkwin)   (((Tk_FakeWin *) (tkwin))->nameUid)
#define Tk_Class(tkwin)   (((Tk_FakeWin *) (tkwin))->classUid)
#define Tk_X(tkwin)   (((Tk_FakeWin *) (tkwin))->changes.x)
#define Tk_Y(tkwin)   (((Tk_FakeWin *) (tkwin))->changes.y)
#define Tk_Width(tkwin)   (((Tk_FakeWin *) (tkwin))->changes.width)
#define Tk_Height(tkwin)   (((Tk_FakeWin *) (tkwin))->changes.height)
#define Tk_Changes(tkwin)   (&((Tk_FakeWin *) (tkwin))->changes)
#define Tk_Attributes(tkwin)   (&((Tk_FakeWin *) (tkwin))->atts)
#define Tk_IsEmbedded(tkwin)   (((Tk_FakeWin *) (tkwin))->flags & TK_EMBEDDED)
#define Tk_IsContainer(tkwin)   (((Tk_FakeWin *) (tkwin))->flags & TK_CONTAINER)
#define Tk_IsMapped(tkwin)   (((Tk_FakeWin *) (tkwin))->flags & TK_MAPPED)
#define Tk_IsTopLevel(tkwin)   (((Tk_FakeWin *) (tkwin))->flags & TK_TOP_LEVEL)
#define Tk_HasWrapper(tkwin)   (((Tk_FakeWin *) (tkwin))->flags & TK_HAS_WRAPPER)
#define Tk_WinManaged(tkwin)   (((Tk_FakeWin *) (tkwin))->flags & TK_WIN_MANAGED)
#define Tk_TopWinHierarchy(tkwin)   (((Tk_FakeWin *) (tkwin))->flags & TK_TOP_HIERARCHY)
#define Tk_ReqWidth(tkwin)   (((Tk_FakeWin *) (tkwin))->reqWidth)
#define Tk_ReqHeight(tkwin)   (((Tk_FakeWin *) (tkwin))->reqHeight)
#define Tk_InternalBorderWidth(tkwin)   (((Tk_FakeWin *) (tkwin))->internalBorderLeft)
#define Tk_InternalBorderLeft(tkwin)   (((Tk_FakeWin *) (tkwin))->internalBorderLeft)
#define Tk_InternalBorderRight(tkwin)   (((Tk_FakeWin *) (tkwin))->internalBorderRight)
#define Tk_InternalBorderTop(tkwin)   (((Tk_FakeWin *) (tkwin))->internalBorderTop)
#define Tk_InternalBorderBottom(tkwin)   (((Tk_FakeWin *) (tkwin))->internalBorderBottom)
#define Tk_MinReqWidth(tkwin)   (((Tk_FakeWin *) (tkwin))->minReqWidth)
#define Tk_MinReqHeight(tkwin)   (((Tk_FakeWin *) (tkwin))->minReqHeight)
#define Tk_Parent(tkwin)   (((Tk_FakeWin *) (tkwin))->parentPtr)
#define Tk_Colormap(tkwin)   (((Tk_FakeWin *) (tkwin))->atts.colormap)
#define TK_MAPPED   1
#define TK_TOP_LEVEL   2
#define TK_ALREADY_DEAD   4
#define TK_NEED_CONFIG_NOTIFY   8
#define TK_GRAB_FLAG   0x10
#define TK_CHECKED_IC   0x20
#define TK_DONT_DESTROY_WINDOW   0x40
#define TK_WM_COLORMAP_WINDOW   0x80
#define TK_EMBEDDED   0x100
#define TK_CONTAINER   0x200
#define TK_BOTH_HALVES   0x400
#define TK_DEFER_MODAL   0x800
#define TK_WRAPPER   0x1000
#define TK_REPARENTED   0x2000
#define TK_ANONYMOUS_WINDOW   0x4000
#define TK_HAS_WRAPPER   0x8000
#define TK_WIN_MANAGED   0x10000
#define TK_TOP_HIERARCHY   0x20000
#define TK_PROP_PROPCHANGE   0x40000
#define TK_TAG_SPACE   3
#define TK_ITEM_STATE_DEPENDANT   1
#define TK_ITEM_DONT_REDRAW   2
#define TK_OFFSET_INDEX   1
#define TK_OFFSET_RELATIVE   2
#define TK_OFFSET_LEFT   4
#define TK_OFFSET_CENTER   8
#define TK_OFFSET_RIGHT   16
#define TK_OFFSET_TOP   32
#define TK_OFFSET_MIDDLE   64
#define TK_OFFSET_BOTTOM   128
#define TK_PHOTO_COMPOSITE_OVERLAY   0
#define TK_PHOTO_COMPOSITE_SET   1
#define TK_STYLE_VERSION_1   0x1
#define TK_STYLE_VERSION   TK_STYLE_VERSION_1
#define TK_ELEMENT_STATE_ACTIVE   1<<0
#define TK_ELEMENT_STATE_DISABLED   1<<1
#define TK_ELEMENT_STATE_FOCUS   1<<2
#define TK_ELEMENT_STATE_PRESSED   1<<3
#define TK_READABLE   TCL_READABLE
#define TK_WRITABLE   TCL_WRITABLE
#define TK_EXCEPTION   TCL_EXCEPTION
#define TK_DONT_WAIT   TCL_DONT_WAIT
#define TK_X_EVENTS   TCL_WINDOW_EVENTS
#define TK_WINDOW_EVENTS   TCL_WINDOW_EVENTS
#define TK_FILE_EVENTS   TCL_FILE_EVENTS
#define TK_TIMER_EVENTS   TCL_TIMER_EVENTS
#define TK_IDLE_EVENTS   TCL_IDLE_EVENTS
#define TK_ALL_EVENTS   TCL_ALL_EVENTS
#define Tk_IdleProc   Tcl_IdleProc
#define Tk_FileProc   Tcl_FileProc
#define Tk_TimerProc   Tcl_TimerProc
#define Tk_TimerToken   Tcl_TimerToken
#define Tk_BackgroundError   Tcl_BackgroundError
#define Tk_CancelIdleCall   Tcl_CancelIdleCall
#define Tk_CreateFileHandler   Tcl_CreateFileHandler
#define Tk_CreateTimerHandler   Tcl_CreateTimerHandler
#define Tk_DeleteFileHandler   Tcl_DeleteFileHandler
#define Tk_DeleteTimerHandler   Tcl_DeleteTimerHandler
#define Tk_DoOneEvent   Tcl_DoOneEvent
#define Tk_DoWhenIdle   Tcl_DoWhenIdle
#define Tk_Sleep   Tcl_Sleep
#define Tk_EventuallyFree   Tcl_EventuallyFree
#define Tk_FreeProc   Tcl_FreeProc
#define Tk_Preserve   Tcl_Preserve
#define Tk_Release   Tcl_Release
#define Tk_Main(argc, argv, proc)   Tk_MainEx(argc, argv, proc, Tcl_CreateInterp())
#define Tk_InitStubs(interp, version, exact)   Tcl_PkgRequire(interp, "Tk", version, exact)
#define Tk_InitImageArgs(interp, argc, argv)
#define TCL_STORAGE_CLASS   DLLIMPORT

Typedefs

typedef Tk_BindingTable_ * Tk_BindingTable
typedef Tk_Canvas_ * Tk_Canvas
typedef Tk_Cursor_ * Tk_Cursor
typedef Tk_ErrorHandler_ * Tk_ErrorHandler
typedef Tk_Font_ * Tk_Font
typedef Tk_Image__ * Tk_Image
typedef Tk_ImageMaster_ * Tk_ImageMaster
typedef Tk_OptionTable_ * Tk_OptionTable
typedef Tk_PostscriptInfo_ * Tk_PostscriptInfo
typedef Tk_TextLayout_ * Tk_TextLayout
typedef Tk_Window_ * Tk_Window
typedef Tk_3DBorder_ * Tk_3DBorder
typedef Tk_Style_ * Tk_Style
typedef Tk_StyleEngine_ * Tk_StyleEngine
typedef Tk_StyledElement_ * Tk_StyledElement
typedef CONST char * Tk_Uid
typedef Tcl_Interpinterp
typedef Tcl_Interp Tk_Window tkwin
typedef Tcl_Interp Tk_Window
Tcl_Obj ** 
value
typedef Tcl_Interp Tk_Window
Tcl_Obj char * 
widgRec
typedef Tcl_Interp Tk_Window
Tcl_Obj char int 
offset
typedef Tcl_Interp Tk_Window
Tcl_Obj char int char * 
saveInternalPtr
typedef Tcl_Interp Tk_Window
Tcl_Obj char int char int 
flags
typedef Tcl_Obj *Tk_CustomOptionGetProc _ANSI_ARGS_ ((ClientData clientData, Tk_Window tkwin, char *widgRec, int offset))
typedef Tk_Window tkwin
typedef Tk_Window char * internalPtr
typedef Tk_Window char char * saveInternalPtr
typedef Tk_Window tkwin
typedef Tk_Window char * internalPtr
typedef Tcl_Interpinterp
typedef Tcl_Interp Tk_Window tkwin
typedef Tcl_Interp Tk_Window
CONST84 char * 
value
typedef Tcl_Interp Tk_Window
CONST84 char char * 
widgRec
typedef Tcl_Interp Tk_Window
CONST84 char char int 
offset
typedef char *Tk_OptionPrintProc _ANSI_ARGS_ ((ClientData clientData, Tk_Window tkwin, char *widgRec, int offset, Tcl_FreeProc **freeProcPtr))
typedef Window parent
typedef Window ClientData instanceData
typedef XEvent * eventPtr
typedef Tk_Window tkwin
typedef Tk_Window tkwin
typedef XActivateDeactivateEvent XActivateEvent
typedef XActivateDeactivateEvent XDeactivateEvent
typedef void Tk_ItemDeleteProc _ANSI_ARGS_ ((Tk_Canvas canvas, Tk_Item *itemPtr, Display *display))
typedef void Tk_ItemDisplayProc _ANSI_ARGS_ ((Tk_Canvas canvas, Tk_Item *itemPtr, Display *display, Drawable dst, int x, int y, int width, int height))
typedef double Tk_ItemPointProc _ANSI_ARGS_ ((Tk_Canvas canvas, Tk_Item *itemPtr, double *pointPtr))
typedef int Tk_ItemAreaProc _ANSI_ARGS_ ((Tk_Canvas canvas, Tk_Item *itemPtr, double *rectPtr))
typedef int Tk_ItemPostscriptProc _ANSI_ARGS_ ((Tcl_Interp *interp, Tk_Canvas canvas, Tk_Item *itemPtr, int prepass))
typedef void Tk_ItemScaleProc _ANSI_ARGS_ ((Tk_Canvas canvas, Tk_Item *itemPtr, double originX, double originY, double scaleX, double scaleY))
typedef void Tk_ItemTranslateProc _ANSI_ARGS_ ((Tk_Canvas canvas, Tk_Item *itemPtr, double deltaX, double deltaY))
typedef int Tk_ItemIndexProc _ANSI_ARGS_ ((Tcl_Interp *interp, Tk_Canvas canvas, Tk_Item *itemPtr, char *indexString, int *indexPtr))
typedef void Tk_ItemCursorProc _ANSI_ARGS_ ((Tk_Canvas canvas, Tk_Item *itemPtr, int index))
typedef int Tk_ItemSelectionProc _ANSI_ARGS_ ((Tk_Canvas canvas, Tk_Item *itemPtr, int offset, char *buffer, int maxBytes))
typedef void Tk_ItemInsertProc _ANSI_ARGS_ ((Tk_Canvas canvas, Tk_Item *itemPtr, int beforeThis, char *string))
typedef void Tk_ItemDCharsProc _ANSI_ARGS_ ((Tk_Canvas canvas, Tk_Item *itemPtr, int first, int last))
typedef Tk_ImageType Tk_ImageType
typedef char * name
typedef char int objc
typedef char int Tcl_Obj
*CONST 
objv []
typedef char int Tcl_Obj
*CONST Tk_ImageType
typePtr
typedef char int Tcl_Obj
*CONST Tk_ImageType Tk_ImageMaster 
master
typedef char int Tcl_Obj
*CONST Tk_ImageType Tk_ImageMaster
ClientData * 
masterDataPtr
typedef ClientData masterData
typedef Display * display
typedef Display Drawable drawable
typedef Display Drawable int imageX
typedef Display Drawable int
int 
imageY
typedef Display Drawable int
int int 
width
typedef Display Drawable int
int int int 
height
typedef Display Drawable int
int int int int 
drawableX
typedef Display Drawable int
int int int int int 
drawableY
typedef Display * display
typedef int x
typedef int int y
typedef int int int width
typedef int int int int height
typedef int int int int int imageWidth
typedef int int int int int
int 
imageHeight
typedef Tcl_Interpinterp
typedef Tcl_Interp Tk_Window tkwin
typedef Tcl_Interp Tk_Window
Tk_PostscriptInfo 
psinfo
typedef Tcl_Interp Tk_Window
Tk_PostscriptInfo int 
x
typedef Tcl_Interp Tk_Window
Tk_PostscriptInfo int int 
y
typedef Tcl_Interp Tk_Window
Tk_PostscriptInfo int int
int 
width
typedef Tcl_Interp Tk_Window
Tk_PostscriptInfo int int
int int 
height
typedef Tcl_Interp Tk_Window
Tk_PostscriptInfo int int
int int int 
prepass
typedef void * Tk_PhotoHandle
typedef Tk_PhotoImageFormat Tk_PhotoImageFormat
typedef CONST char * fileName
typedef CONST char Tcl_Objformat
typedef CONST char Tcl_Obj
int * 
widthPtr
typedef CONST char Tcl_Obj
int int * 
heightPtr
typedef CONST char Tcl_Obj
int int Tcl_Interp
interp
typedef Tcl_Objformat
typedef Tcl_Obj int * widthPtr
typedef Tcl_Obj int int * heightPtr
typedef Tcl_Obj int int Tcl_Interpinterp
typedef Tcl_Channel chan
typedef Tcl_Channel CONST
char * 
fileName
typedef Tcl_Channel CONST
char Tcl_Obj
format
typedef Tcl_Channel CONST
char Tcl_Obj Tk_PhotoHandle 
imageHandle
typedef Tcl_Channel CONST
char Tcl_Obj Tk_PhotoHandle
int 
destX
typedef Tcl_Channel CONST
char Tcl_Obj Tk_PhotoHandle
int int 
destY
typedef Tcl_Channel CONST
char Tcl_Obj Tk_PhotoHandle
int int int 
width
typedef Tcl_Channel CONST
char Tcl_Obj Tk_PhotoHandle
int int int int 
height
typedef Tcl_Channel CONST
char Tcl_Obj Tk_PhotoHandle
int int int int int 
srcX
typedef Tcl_Channel CONST
char Tcl_Obj Tk_PhotoHandle
int int int int int int 
srcY
typedef Tcl_ObjdataObj
typedef Tcl_Obj Tcl_Objformat
typedef Tcl_Obj Tcl_Obj Tk_PhotoHandle imageHandle
typedef Tcl_Obj Tcl_Obj Tk_PhotoHandle
int 
destX
typedef Tcl_Obj Tcl_Obj Tk_PhotoHandle
int int 
destY
typedef Tcl_Obj Tcl_Obj Tk_PhotoHandle
int int int 
width
typedef Tcl_Obj Tcl_Obj Tk_PhotoHandle
int int int int 
height
typedef Tcl_Obj Tcl_Obj Tk_PhotoHandle
int int int int int 
srcX
typedef Tcl_Obj Tcl_Obj Tk_PhotoHandle
int int int int int int 
srcY
typedef CONST char * fileName
typedef CONST char Tcl_Objformat
typedef CONST char Tcl_Obj
Tk_PhotoImageBlock
blockPtr
typedef Tcl_Objformat
typedef Tcl_Obj Tk_PhotoImageBlockblockPtr
typedef char * recordPtr
typedef char CONST Tk_OptionSpec ** optionsPtr
typedef char CONST Tk_OptionSpec
Tk_Window 
tkwin
typedef char CONST Tk_OptionSpec
Tk_Window int 
width
typedef char CONST Tk_OptionSpec
Tk_Window int int 
height
typedef char CONST Tk_OptionSpec
Tk_Window int int int 
inner
typedef char CONST Tk_OptionSpec
Tk_Window int int int int * 
widthPtr
typedef char CONST Tk_OptionSpec
Tk_Window int int int int
int * 
heightPtr
typedef char * recordPtr
typedef char CONST Tk_OptionSpec ** optionsPtr
typedef char CONST Tk_OptionSpec
Tk_Window 
tkwin
typedef char CONST Tk_OptionSpec
Tk_Window int 
x
typedef char CONST Tk_OptionSpec
Tk_Window int int 
y
typedef char CONST Tk_OptionSpec
Tk_Window int int int 
width
typedef char CONST Tk_OptionSpec
Tk_Window int int int int 
height
typedef char CONST Tk_OptionSpec
Tk_Window int int int int
int 
inner
typedef char CONST Tk_OptionSpec
Tk_Window int int int int
int int * 
xPtr
typedef char CONST Tk_OptionSpec
Tk_Window int int int int
int int int * 
yPtr
typedef char CONST Tk_OptionSpec
Tk_Window int int int int
int int int int * 
widthPtr
typedef char CONST Tk_OptionSpec
Tk_Window int int int int
int int int int int * 
heightPtr
typedef char * recordPtr
typedef char CONST Tk_OptionSpec ** optionsPtr
typedef char CONST Tk_OptionSpec
Tk_Window 
tkwin
typedef char * recordPtr
typedef char CONST Tk_OptionSpec ** optionsPtr
typedef char CONST Tk_OptionSpec
Tk_Window 
tkwin
typedef char CONST Tk_OptionSpec
Tk_Window Drawable 
d
typedef char CONST Tk_OptionSpec
Tk_Window Drawable int 
x
typedef char CONST Tk_OptionSpec
Tk_Window Drawable int int 
y
typedef char CONST Tk_OptionSpec
Tk_Window Drawable int int
int 
width
typedef char CONST Tk_OptionSpec
Tk_Window Drawable int int
int int 
height
typedef char CONST Tk_OptionSpec
Tk_Window Drawable int int
int int int 
state
typedef XErrorEvent * errEventPtr
typedef XEvent * eventPtr
typedef XEvent * eventPtr
typedef XEvent * eventPtr
typedef Tcl_Interpinterp
typedef Tcl_Interp char * portion
typedef XEvent * eventPtr
typedef int offset
typedef int char * buffer
typedef int char int maxBytes

Enumerations

enum  Tk_OptionType {
  TK_OPTION_BOOLEAN, TK_OPTION_INT, TK_OPTION_DOUBLE, TK_OPTION_STRING,
  TK_OPTION_STRING_TABLE, TK_OPTION_COLOR, TK_OPTION_FONT, TK_OPTION_BITMAP,
  TK_OPTION_BORDER, TK_OPTION_RELIEF, TK_OPTION_CURSOR, TK_OPTION_JUSTIFY,
  TK_OPTION_ANCHOR, TK_OPTION_SYNONYM, TK_OPTION_PIXELS, TK_OPTION_WINDOW,
  TK_OPTION_END, TK_OPTION_CUSTOM, TK_OPTION_STYLE
}
enum  Tk_ConfigTypes {
  TK_CONFIG_BOOLEAN, TK_CONFIG_INT, TK_CONFIG_DOUBLE, TK_CONFIG_STRING,
  TK_CONFIG_UID, TK_CONFIG_COLOR, TK_CONFIG_FONT, TK_CONFIG_BITMAP,
  TK_CONFIG_BORDER, TK_CONFIG_RELIEF, TK_CONFIG_CURSOR, TK_CONFIG_ACTIVE_CURSOR,
  TK_CONFIG_JUSTIFY, TK_CONFIG_ANCHOR, TK_CONFIG_SYNONYM, TK_CONFIG_CAP_STYLE,
  TK_CONFIG_JOIN_STYLE, TK_CONFIG_PIXELS, TK_CONFIG_MM, TK_CONFIG_WINDOW,
  TK_CONFIG_CUSTOM, TK_CONFIG_END
}
enum  Tk_RestrictAction { TK_DEFER_EVENT, TK_PROCESS_EVENT, TK_DISCARD_EVENT }
enum  Tk_Anchor {
  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_CENTER
}
enum  Tk_Justify { TK_JUSTIFY_LEFT, TK_JUSTIFY_RIGHT, TK_JUSTIFY_CENTER }
enum  Tk_State {
  TK_STATE_NULL = -1, TK_STATE_ACTIVE, TK_STATE_DISABLED, TK_STATE_NORMAL,
  TK_STATE_HIDDEN
}

Functions

typedef int (Tk_CustomOptionSetProc) _ANSI_ARGS_((ClientData clientData
typedef void (Tk_CustomOptionRestoreProc) _ANSI_ARGS_((ClientData clientData
typedef void (Tk_CustomOptionFreeProc) _ANSI_ARGS_((ClientData clientData
typedef int (Tk_OptionParseProc) _ANSI_ARGS_((ClientData clientData
typedef Window (Tk_ClassCreateProc) _ANSI_ARGS_((Tk_Window tkwin
typedef void (Tk_ClassWorldChangedProc) _ANSI_ARGS_((ClientData instanceData))
typedef void (Tk_ClassModalProc) _ANSI_ARGS_((Tk_Window tkwin
typedef void (Tk_GeomRequestProc) _ANSI_ARGS_((ClientData clientData
typedef void (Tk_GeomLostSlaveProc) _ANSI_ARGS_((ClientData clientData
typedef int (Tk_ImageCreateProc) _ANSI_ARGS_((Tcl_Interp *interp
typedef ClientData (Tk_ImageGetProc) _ANSI_ARGS_((Tk_Window tkwin
typedef void (Tk_ImageDisplayProc) _ANSI_ARGS_((ClientData instanceData
typedef void (Tk_ImageFreeProc) _ANSI_ARGS_((ClientData instanceData
typedef void (Tk_ImageDeleteProc) _ANSI_ARGS_((ClientData masterData))
typedef void (Tk_ImageChangedProc) _ANSI_ARGS_((ClientData clientData
typedef int (Tk_ImagePostscriptProc) _ANSI_ARGS_((ClientData clientData
typedef int (Tk_ImageFileMatchProc) _ANSI_ARGS_((Tcl_Channel chan
typedef int (Tk_ImageStringMatchProc) _ANSI_ARGS_((Tcl_Obj *dataObj
typedef int (Tk_ImageFileReadProc) _ANSI_ARGS_((Tcl_Interp *interp
typedef int (Tk_ImageStringReadProc) _ANSI_ARGS_((Tcl_Interp *interp
typedef int (Tk_ImageFileWriteProc) _ANSI_ARGS_((Tcl_Interp *interp
typedef int (Tk_ImageStringWriteProc) _ANSI_ARGS_((Tcl_Interp *interp
EXTERN void Tk_CreateOldImageType _ANSI_ARGS_ ((Tk_ImageType *typePtr))
EXTERN void Tk_CreateOldPhotoImageFormat _ANSI_ARGS_ ((Tk_PhotoImageFormat *formatPtr))
typedef void (Tk_GetElementSizeProc) _ANSI_ARGS_((ClientData clientData
typedef void (Tk_GetElementBoxProc) _ANSI_ARGS_((ClientData clientData
typedef int (Tk_GetElementBorderWidthProc) _ANSI_ARGS_((ClientData clientData
typedef void (Tk_DrawElementProc) _ANSI_ARGS_((ClientData clientData
CONST char *Tk_InitStubs _ANSI_ARGS_ ((Tcl_Interp *interp, char *version, int exact))
void Tk_InitImageArgs _ANSI_ARGS_ ((Tcl_Interp *interp, int argc, char ***argv))
typedef int (Tk_ErrorProc) _ANSI_ARGS_((ClientData clientData
typedef void (Tk_EventProc) _ANSI_ARGS_((ClientData clientData
typedef int (Tk_GenericProc) _ANSI_ARGS_((ClientData clientData
typedef int (Tk_ClientMessageProc) _ANSI_ARGS_((Tk_Window tkwin
typedef int (Tk_GetSelProc) _ANSI_ARGS_((ClientData clientData
typedef void (Tk_LostSelProc) _ANSI_ARGS_((ClientData clientData))
typedef Tk_RestrictAction (Tk_RestrictProc) _ANSI_ARGS_((ClientData clientData
typedef int (Tk_SelectionProc) _ANSI_ARGS_((ClientData clientData


Define Documentation

#define TK_MAJOR_VERSION   8
 

Definition at line 52 of file tk.h.

#define TK_MINOR_VERSION   4
 

Definition at line 53 of file tk.h.

#define TK_RELEASE_LEVEL   TCL_FINAL_RELEASE
 

Definition at line 54 of file tk.h.

#define TK_RELEASE_SERIAL   6
 

Definition at line 55 of file tk.h.

#define TK_VERSION   "8.4"
 

Definition at line 57 of file tk.h.

#define TK_PATCH_LEVEL   "8.4.6"
 

Definition at line 58 of file tk.h.

#define TK_OPTION_NULL_OK   (1 << 0)
 

Definition at line 224 of file tk.h.

#define TK_OPTION_DONT_SET_DEFAULT   (1 << 3)
 

Definition at line 225 of file tk.h.

#define Tk_Offset type,
field   )     ((int) ((char *) &((type *) 0)->field))
 

Definition at line 269 of file tk.h.

#define TK_NUM_SAVED_OPTIONS   20
 

Definition at line 306 of file tk.h.

#define TK_CONFIG_ARGV_ONLY   1
 

Definition at line 406 of file tk.h.

#define TK_CONFIG_OBJS   0x80
 

Definition at line 407 of file tk.h.

#define TK_CONFIG_NULL_OK   (1 << 0)
 

Definition at line 416 of file tk.h.

#define TK_CONFIG_COLOR_ONLY   (1 << 1)
 

Definition at line 417 of file tk.h.

#define TK_CONFIG_MONO_ONLY   (1 << 2)
 

Definition at line 418 of file tk.h.

#define TK_CONFIG_DONT_SET_DEFAULT   (1 << 3)
 

Definition at line 419 of file tk.h.

#define TK_CONFIG_OPTION_SPECIFIED   (1 << 4)
 

Definition at line 420 of file tk.h.

#define TK_CONFIG_USER_BIT   0x100
 

Definition at line 421 of file tk.h.

#define TK_ARGV_CONSTANT   15
 

Definition at line 444 of file tk.h.

#define TK_ARGV_INT   16
 

Definition at line 445 of file tk.h.

#define TK_ARGV_STRING   17
 

Definition at line 446 of file tk.h.

#define TK_ARGV_UID   18
 

Definition at line 447 of file tk.h.

#define TK_ARGV_REST   19
 

Definition at line 448 of file tk.h.

#define TK_ARGV_FLOAT   20
 

Definition at line 449 of file tk.h.

#define TK_ARGV_FUNC   21
 

Definition at line 450 of file tk.h.

#define TK_ARGV_GENFUNC   22
 

Definition at line 451 of file tk.h.

#define TK_ARGV_HELP   23
 

Definition at line 452 of file tk.h.

#define TK_ARGV_CONST_OPTION   24
 

Definition at line 453 of file tk.h.

#define TK_ARGV_OPTION_VALUE   25
 

Definition at line 454 of file tk.h.

#define TK_ARGV_OPTION_NAME_VALUE   26
 

Definition at line 455 of file tk.h.

#define TK_ARGV_END   27
 

Definition at line 456 of file tk.h.

#define TK_ARGV_NO_DEFAULTS   0x1
 

Definition at line 462 of file tk.h.

#define TK_ARGV_NO_LEFTOVERS   0x2
 

Definition at line 463 of file tk.h.

#define TK_ARGV_NO_ABBREV   0x4
 

Definition at line 464 of file tk.h.

#define TK_ARGV_DONT_SKIP_FIRST_ARG   0x8
 

Definition at line 465 of file tk.h.

#define TK_WIDGET_DEFAULT_PRIO   20
 

Definition at line 480 of file tk.h.

#define TK_STARTUP_FILE_PRIO   40
 

Definition at line 481 of file tk.h.

#define TK_USER_DEFAULT_PRIO   60
 

Definition at line 482 of file tk.h.

#define TK_INTERACTIVE_PRIO   80
 

Definition at line 483 of file tk.h.

#define TK_MAX_PRIO   100
 

Definition at line 484 of file tk.h.

#define TK_RELIEF_NULL   -1
 

Definition at line 490 of file tk.h.

#define TK_RELIEF_FLAT   0
 

Definition at line 491 of file tk.h.

#define TK_RELIEF_GROOVE   1
 

Definition at line 492 of file tk.h.

#define TK_RELIEF_RAISED   2
 

Definition at line 493 of file tk.h.

#define TK_RELIEF_RIDGE   3
 

Definition at line 494 of file tk.h.

#define TK_RELIEF_SOLID   4
 

Definition at line 495 of file tk.h.

#define TK_RELIEF_SUNKEN   5
 

Definition at line 496 of file tk.h.

#define TK_3D_FLAT_GC   1
 

Definition at line 502 of file tk.h.

#define TK_3D_LIGHT_GC   2
 

Definition at line 503 of file tk.h.

#define TK_3D_DARK_GC   3
 

Definition at line 504 of file tk.h.

#define TK_NOTIFY_SHARE   20
 

Definition at line 513 of file tk.h.

#define TK_WHOLE_WORDS   1
 

Definition at line 558 of file tk.h.

#define TK_AT_LEAST_ONE   2
 

Definition at line 559 of file tk.h.

#define TK_PARTIAL_OK   4
 

Definition at line 560 of file tk.h.

#define TK_IGNORE_TABS   8
 

Definition at line 566 of file tk.h.

#define TK_IGNORE_NEWLINES   16
 

Definition at line 567 of file tk.h.

#define Tk_GetClassProc procs,
which   ) 
 

Value:

(((procs) == NULL) ? NULL : \
    (((procs)->size <= Tk_Offset(Tk_ClassProcs, which)) ? NULL:(procs)->which))

Definition at line 610 of file tk.h.

#define TK_SCROLL_MOVETO   1
 

Definition at line 643 of file tk.h.

#define TK_SCROLL_PAGES   2
 

Definition at line 644 of file tk.h.

#define TK_SCROLL_UNITS   3
 

Definition at line 645 of file tk.h.

#define TK_SCROLL_ERROR   4
 

Definition at line 646 of file tk.h.

#define VirtualEvent   (LASTEvent)
 

Definition at line 655 of file tk.h.

#define ActivateNotify   (LASTEvent + 1)
 

Definition at line 656 of file tk.h.

#define DeactivateNotify   (LASTEvent + 2)
 

Definition at line 657 of file tk.h.

#define MouseWheelEvent   (LASTEvent + 3)
 

Definition at line 658 of file tk.h.

#define TK_LASTEVENT   (LASTEvent + 4)
 

Definition at line 665 of file tk.h.

#define MouseWheelMask   (1L << 28)
 

Definition at line 661 of file tk.h.

#define ActivateMask   (1L << 29)
 

Definition at line 663 of file tk.h.

#define VirtualEventMask   (1L << 30)
 

Definition at line 664 of file tk.h.

#define TK_LASTEVENT   (LASTEvent + 4)
 

Definition at line 665 of file tk.h.

#define Tk_Display tkwin   )     (((Tk_FakeWin *) (tkwin))->display)
 

Definition at line 712 of file tk.h.

#define Tk_ScreenNumber tkwin   )     (((Tk_FakeWin *) (tkwin))->screenNum)
 

Definition at line 713 of file tk.h.

#define Tk_Screen tkwin   ) 
 

Value:

(ScreenOfDisplay(Tk_Display(tkwin), \
        Tk_ScreenNumber(tkwin)))

Definition at line 714 of file tk.h.

#define Tk_Depth tkwin   )     (((Tk_FakeWin *) (tkwin))->depth)
 

Definition at line 716 of file tk.h.

#define Tk_Visual tkwin   )     (((Tk_FakeWin *) (tkwin))->visual)
 

Definition at line 717 of file tk.h.

#define Tk_WindowId tkwin   )     (((Tk_FakeWin *) (tkwin))->window)
 

Definition at line 718 of file tk.h.

#define Tk_PathName tkwin   )     (((Tk_FakeWin *) (tkwin))->pathName)
 

Definition at line 719 of file tk.h.

#define Tk_Name tkwin   )     (((Tk_FakeWin *) (tkwin))->nameUid)
 

Definition at line 720 of file tk.h.

#define Tk_Class tkwin   )     (((Tk_FakeWin *) (tkwin))->classUid)
 

Definition at line 721 of file tk.h.

#define Tk_X tkwin   )     (((Tk_FakeWin *) (tkwin))->changes.x)
 

Definition at line 722 of file tk.h.

#define Tk_Y tkwin   )     (((Tk_FakeWin *) (tkwin))->changes.y)
 

Definition at line 723 of file tk.h.

#define Tk_Width tkwin   )     (((Tk_FakeWin *) (tkwin))->changes.width)
 

Definition at line 724 of file tk.h.

#define Tk_Height tkwin   )     (((Tk_FakeWin *) (tkwin))->changes.height)
 

Definition at line 725 of file tk.h.

#define Tk_Changes tkwin   )     (&((Tk_FakeWin *) (tkwin))->changes)
 

Definition at line 727 of file tk.h.

#define Tk_Attributes tkwin   )     (&((Tk_FakeWin *) (tkwin))->atts)
 

Definition at line 728 of file tk.h.

#define Tk_IsEmbedded tkwin   )     (((Tk_FakeWin *) (tkwin))->flags & TK_EMBEDDED)
 

Definition at line 729 of file tk.h.

#define Tk_IsContainer tkwin   )     (((Tk_FakeWin *) (tkwin))->flags & TK_CONTAINER)
 

Definition at line 731 of file tk.h.

#define Tk_IsMapped tkwin   )     (((Tk_FakeWin *) (tkwin))->flags & TK_MAPPED)
 

Definition at line 733 of file tk.h.

#define Tk_IsTopLevel tkwin   )     (((Tk_FakeWin *) (tkwin))->flags & TK_TOP_LEVEL)
 

Definition at line 735 of file tk.h.

#define Tk_HasWrapper tkwin   )     (((Tk_FakeWin *) (tkwin))->flags & TK_HAS_WRAPPER)
 

Definition at line 737 of file tk.h.

#define Tk_WinManaged tkwin   )     (((Tk_FakeWin *) (tkwin))->flags & TK_WIN_MANAGED)
 

Definition at line 739 of file tk.h.

#define Tk_TopWinHierarchy tkwin   )     (((Tk_FakeWin *) (tkwin))->flags & TK_TOP_HIERARCHY)
 

Definition at line 741 of file tk.h.

#define Tk_ReqWidth tkwin   )     (((Tk_FakeWin *) (tkwin))->reqWidth)
 

Definition at line 743 of file tk.h.

#define Tk_ReqHeight tkwin   )     (((Tk_FakeWin *) (tkwin))->reqHeight)
 

Definition at line 744 of file tk.h.

#define Tk_InternalBorderWidth tkwin   )     (((Tk_FakeWin *) (tkwin))->internalBorderLeft)
 

Definition at line 746 of file tk.h.

#define Tk_InternalBorderLeft tkwin   )     (((Tk_FakeWin *) (tkwin))->internalBorderLeft)
 

Definition at line 748 of file tk.h.

#define Tk_InternalBorderRight tkwin   )     (((Tk_FakeWin *) (tkwin))->internalBorderRight)
 

Definition at line 750 of file tk.h.

#define Tk_InternalBorderTop tkwin   )     (((Tk_FakeWin *) (tkwin))->internalBorderTop)
 

Definition at line 752 of file tk.h.

#define Tk_InternalBorderBottom tkwin   )     (((Tk_FakeWin *) (tkwin))->internalBorderBottom)
 

Definition at line 754 of file tk.h.

#define Tk_MinReqWidth tkwin   )     (((Tk_FakeWin *) (tkwin))->minReqWidth)
 

Definition at line 756 of file tk.h.

#define Tk_MinReqHeight tkwin   )     (((Tk_FakeWin *) (tkwin))->minReqHeight)
 

Definition at line 757 of file tk.h.

#define Tk_Parent tkwin   )     (((Tk_FakeWin *) (tkwin))->parentPtr)
 

Definition at line 758 of file tk.h.

#define Tk_Colormap tkwin   )     (((Tk_FakeWin *) (tkwin))->atts.colormap)
 

Definition at line 759 of file tk.h.

#define TK_MAPPED   1
 

Definition at line 887 of file tk.h.

#define TK_TOP_LEVEL   2
 

Definition at line 888 of file tk.h.

#define TK_ALREADY_DEAD   4
 

Definition at line 889 of file tk.h.

#define TK_NEED_CONFIG_NOTIFY   8
 

Definition at line 890 of file tk.h.

#define TK_GRAB_FLAG   0x10
 

Definition at line 891 of file tk.h.

#define TK_CHECKED_IC   0x20
 

Definition at line 892 of file tk.h.

#define TK_DONT_DESTROY_WINDOW   0x40
 

Definition at line 893 of file tk.h.

#define TK_WM_COLORMAP_WINDOW   0x80
 

Definition at line 894 of file tk.h.

#define TK_EMBEDDED   0x100
 

Definition at line 895 of file tk.h.

#define TK_CONTAINER   0x200
 

Definition at line 896 of file tk.h.

#define TK_BOTH_HALVES   0x400
 

Definition at line 897 of file tk.h.

#define TK_DEFER_MODAL   0x800
 

Definition at line 898 of file tk.h.

#define TK_WRAPPER   0x1000
 

Definition at line 899 of file tk.h.

#define TK_REPARENTED   0x2000
 

Definition at line 900 of file tk.h.

#define TK_ANONYMOUS_WINDOW   0x4000
 

Definition at line 901 of file tk.h.

#define TK_HAS_WRAPPER   0x8000
 

Definition at line 902 of file tk.h.

#define TK_WIN_MANAGED   0x10000
 

Definition at line 903 of file tk.h.

#define TK_TOP_HIERARCHY   0x20000
 

Definition at line 904 of file tk.h.

#define TK_PROP_PROPCHANGE   0x40000
 

Definition at line 905 of file tk.h.

#define TK_TAG_SPACE   3
 

Definition at line 938 of file tk.h.

#define TK_ITEM_STATE_DEPENDANT   1
 

Definition at line 994 of file tk.h.

#define TK_ITEM_DONT_REDRAW   2
 

Definition at line 995 of file tk.h.

#define TK_OFFSET_INDEX   1
 

Definition at line 1177 of file tk.h.

#define TK_OFFSET_RELATIVE   2
 

Definition at line 1178 of file tk.h.

#define TK_OFFSET_LEFT   4
 

Definition at line 1179 of file tk.h.

#define TK_OFFSET_CENTER   8
 

Definition at line 1180 of file tk.h.

#define TK_OFFSET_RIGHT   16
 

Definition at line 1181 of file tk.h.

#define TK_OFFSET_TOP   32
 

Definition at line 1182 of file tk.h.

#define TK_OFFSET_MIDDLE   64
 

Definition at line 1183 of file tk.h.

#define TK_OFFSET_BOTTOM   128
 

Definition at line 1184 of file tk.h.

#define TK_PHOTO_COMPOSITE_OVERLAY   0
 

Definition at line 1317 of file tk.h.

#define TK_PHOTO_COMPOSITE_SET   1
 

Definition at line 1318 of file tk.h.

#define TK_STYLE_VERSION_1   0x1
 

Definition at line 1419 of file tk.h.

#define TK_STYLE_VERSION   TK_STYLE_VERSION_1
 

Definition at line 1420 of file tk.h.

#define TK_ELEMENT_STATE_ACTIVE   1<<0
 

Definition at line 1474 of file tk.h.

#define TK_ELEMENT_STATE_DISABLED   1<<1
 

Definition at line 1475 of file tk.h.

#define TK_ELEMENT_STATE_FOCUS   1<<2
 

Definition at line 1476 of file tk.h.

#define TK_ELEMENT_STATE_PRESSED   1<<3
 

Definition at line 1477 of file tk.h.

#define TK_READABLE   TCL_READABLE
 

Definition at line 1489 of file tk.h.

#define TK_WRITABLE   TCL_WRITABLE
 

Definition at line 1490 of file tk.h.

#define TK_EXCEPTION   TCL_EXCEPTION
 

Definition at line 1491 of file tk.h.

#define TK_DONT_WAIT   TCL_DONT_WAIT
 

Definition at line 1493 of file tk.h.

#define TK_X_EVENTS   TCL_WINDOW_EVENTS
 

Definition at line 1494 of file tk.h.

#define TK_WINDOW_EVENTS   TCL_WINDOW_EVENTS
 

Definition at line 1495 of file tk.h.

#define TK_FILE_EVENTS   TCL_FILE_EVENTS
 

Definition at line 1496 of file tk.h.

#define TK_TIMER_EVENTS   TCL_TIMER_EVENTS
 

Definition at line 1497 of file tk.h.

#define TK_IDLE_EVENTS   TCL_IDLE_EVENTS
 

Definition at line 1498 of file tk.h.

#define TK_ALL_EVENTS   TCL_ALL_EVENTS
 

Definition at line 1499 of file tk.h.

#define Tk_IdleProc   Tcl_IdleProc
 

Definition at line 1501 of file tk.h.

#define Tk_FileProc   Tcl_FileProc
 

Definition at line 1502 of file tk.h.

#define Tk_TimerProc   Tcl_TimerProc
 

Definition at line 1503 of file tk.h.

#define Tk_TimerToken   Tcl_TimerToken
 

Definition at line 1504 of file tk.h.

#define Tk_BackgroundError   Tcl_BackgroundError
 

Definition at line 1506 of file tk.h.

#define Tk_CancelIdleCall   Tcl_CancelIdleCall
 

Definition at line 1507 of file tk.h.

#define Tk_CreateFileHandler   Tcl_CreateFileHandler
 

Definition at line 1508 of file tk.h.

#define Tk_CreateTimerHandler   Tcl_CreateTimerHandler
 

Definition at line 1509 of file tk.h.

#define Tk_DeleteFileHandler   Tcl_DeleteFileHandler
 

Definition at line 1510 of file tk.h.

#define Tk_DeleteTimerHandler   Tcl_DeleteTimerHandler
 

Definition at line 1511 of file tk.h.

#define Tk_DoOneEvent   Tcl_DoOneEvent
 

Definition at line 1512 of file tk.h.

#define Tk_DoWhenIdle   Tcl_DoWhenIdle
 

Definition at line 1513 of file tk.h.

#define Tk_Sleep   Tcl_Sleep
 

Definition at line 1514 of file tk.h.

#define Tk_EventuallyFree   Tcl_EventuallyFree
 

Definition at line 1518 of file tk.h.

#define Tk_FreeProc   Tcl_FreeProc
 

Definition at line 1519 of file tk.h.

#define Tk_Preserve   Tcl_Preserve
 

Definition at line 1520 of file tk.h.

#define Tk_Release   Tcl_Release
 

Definition at line 1521 of file tk.h.

#define Tk_Main argc,
argv,
proc   )     Tk_MainEx(argc, argv, proc, Tcl_CreateInterp())
 

Definition at line 1524 of file tk.h.

#define Tk_InitStubs interp,
version,
exact   )     Tcl_PkgRequire(interp, "Tk", version, exact)
 

Definition at line 1531 of file tk.h.

#define Tk_InitImageArgs interp,
argc,
argv   ) 
 

Definition at line 1540 of file tk.h.

#define TCL_STORAGE_CLASS   DLLIMPORT
 

Definition at line 1606 of file tk.h.


Typedef Documentation

typedef struct Tk_BindingTable_* Tk_BindingTable
 

Definition at line 122 of file tk.h.

typedef struct Tk_Canvas_* Tk_Canvas
 

Definition at line 123 of file tk.h.

typedef struct Tk_Cursor_* Tk_Cursor
 

Definition at line 124 of file tk.h.

typedef struct Tk_ErrorHandler_* Tk_ErrorHandler
 

Definition at line 125 of file tk.h.

typedef struct Tk_Font_* Tk_Font
 

Definition at line 126 of file tk.h.

typedef struct Tk_Image__* Tk_Image
 

Definition at line 127 of file tk.h.

typedef struct Tk_ImageMaster_* Tk_ImageMaster
 

Definition at line 128 of file tk.h.

typedef struct Tk_OptionTable_* Tk_OptionTable
 

Definition at line 129 of file tk.h.

typedef struct Tk_PostscriptInfo_* Tk_PostscriptInfo
 

Definition at line 130 of file tk.h.

typedef struct Tk_TextLayout_* Tk_TextLayout
 

Definition at line 131 of file tk.h.

typedef struct Tk_Window_* Tk_Window
 

Definition at line 132 of file tk.h.

typedef struct Tk_3DBorder_* Tk_3DBorder
 

Definition at line 133 of file tk.h.

typedef struct Tk_Style_* Tk_Style
 

Definition at line 134 of file tk.h.

typedef struct Tk_StyleEngine_* Tk_StyleEngine
 

Definition at line 135 of file tk.h.

typedef struct Tk_StyledElement_* Tk_StyledElement
 

Definition at line 136 of file tk.h.

typedef CONST char* Tk_Uid
 

Definition at line 142 of file tk.h.

typedef Tcl_Interp* interp
 

Definition at line 234 of file tk.h.

typedef Tcl_Interp Tk_Window tkwin
 

Definition at line 234 of file tk.h.

typedef Tcl_Interp Tk_Window Tcl_Obj** value
 

Definition at line 234 of file tk.h.

typedef Tcl_Interp Tk_Window Tcl_Obj char* widgRec
 

Definition at line 234 of file tk.h.

typedef Tcl_Interp Tk_Window Tcl_Obj char int offset
 

Definition at line 234 of file tk.h.

typedef Tcl_Interp Tk_Window Tcl_Obj char int char* saveInternalPtr
 

Definition at line 234 of file tk.h.

typedef Tcl_Interp Tk_Window Tcl_Obj char int char int flags
 

Definition at line 234 of file tk.h.

typedef int Tk_ItemCoordProc _ANSI_ARGS_((Tcl_Interp *interp,Tk_Canvas canvas, Tk_Item *itemPtr, int argc,Tcl_Obj *CONST argv[]))
 

Definition at line 236 of file tk.h.

typedef Tk_Window tkwin
 

Definition at line 239 of file tk.h.

typedef Tk_Window char* internalPtr
 

Definition at line 239 of file tk.h.

typedef Tk_Window char char* saveInternalPtr
 

Definition at line 239 of file tk.h.

typedef Tk_Window tkwin
 

Definition at line 241 of file tk.h.

typedef Tk_Window char* internalPtr
 

Definition at line 241 of file tk.h.

typedef Tcl_Interp* interp
 

Definition at line 340 of file tk.h.

typedef Tcl_Interp Tk_Window tkwin
 

Definition at line 340 of file tk.h.

typedef Tcl_Interp Tk_Window CONST84 char* value
 

Definition at line 340 of file tk.h.

typedef Tcl_Interp Tk_Window CONST84 char char* widgRec
 

Definition at line 340 of file tk.h.

typedef Tcl_Interp Tk_Window CONST84 char char int offset
 

Definition at line 340 of file tk.h.

typedef char* Tk_OptionPrintProc _ANSI_ARGS_((ClientData clientData,Tk_Window tkwin, char *widgRec, int offset,Tcl_FreeProc **freeProcPtr))
 

Definition at line 342 of file tk.h.

typedef Window parent
 

Definition at line 575 of file tk.h.

typedef Window ClientData instanceData
 

Definition at line 575 of file tk.h.

typedef XEvent* eventPtr
 

Definition at line 578 of file tk.h.

typedef Tk_Window tkwin
 

Definition at line 621 of file tk.h.

typedef Tk_Window tkwin
 

Definition at line 623 of file tk.h.

typedef XActivateDeactivateEvent XActivateEvent
 

Definition at line 700 of file tk.h.

typedef XActivateDeactivateEvent XDeactivateEvent
 

Definition at line 701 of file tk.h.

typedef void Tk_ItemDeleteProc _ANSI_ARGS_((Tk_Canvas canvas,Tk_Item *itemPtr, Display *display))
 

Definition at line 1024 of file tk.h.

typedef void Tk_ItemDisplayProc _ANSI_ARGS_((Tk_Canvas canvas,Tk_Item *itemPtr, Display *display, Drawable dst,int x, int y, int width, int height))
 

Definition at line 1026 of file tk.h.

typedef double Tk_ItemPointProc _ANSI_ARGS_((Tk_Canvas canvas,Tk_Item *itemPtr, double *pointPtr))
 

Definition at line 1029 of file tk.h.

typedef int Tk_ItemAreaProc _ANSI_ARGS_((Tk_Canvas canvas,Tk_Item *itemPtr, double *rectPtr))
 

Definition at line 1031 of file tk.h.

typedef int Tk_ItemPostscriptProc _ANSI_ARGS_((Tcl_Interp *interp,Tk_Canvas canvas, Tk_Item *itemPtr, int prepass))
 

Definition at line 1033 of file tk.h.

typedef void Tk_ItemScaleProc _ANSI_ARGS_((Tk_Canvas canvas,Tk_Item *itemPtr, double originX, double originY,double scaleX, double scaleY))
 

Definition at line 1035 of file tk.h.

typedef void Tk_ItemTranslateProc _ANSI_ARGS_((Tk_Canvas canvas,Tk_Item *itemPtr, double deltaX, double deltaY))
 

Definition at line 1038 of file tk.h.

typedef int Tk_ItemIndexProc _ANSI_ARGS_((Tcl_Interp *interp,Tk_Canvas canvas, Tk_Item *itemPtr, char *indexString,int *indexPtr))
 

Definition at line 1040 of file tk.h.

typedef void Tk_ItemCursorProc _ANSI_ARGS_((Tk_Canvas canvas,Tk_Item *itemPtr, int index))
 

Definition at line 1043 of file tk.h.

typedef int Tk_ItemSelectionProc _ANSI_ARGS_((Tk_Canvas canvas,Tk_Item *itemPtr, int offset, char *buffer,int maxBytes))
 

Definition at line 1045 of file tk.h.

typedef void Tk_ItemInsertProc _ANSI_ARGS_((Tk_Canvas canvas,Tk_Item *itemPtr, int beforeThis, char *string))
 

Definition at line 1048 of file tk.h.

typedef void Tk_ItemDCharsProc _ANSI_ARGS_((Tk_Canvas canvas,Tk_Item *itemPtr, int first, int last))
 

Definition at line 1050 of file tk.h.

typedef struct Tk_ImageType Tk_ImageType
 

Definition at line 1216 of file tk.h.

typedef char* name
 

Definition at line 1223 of file tk.h.

typedef char int objc
 

Definition at line 1223 of file tk.h.

typedef char int Tcl_Obj* CONST objv[]
 

Definition at line 1223 of file tk.h.

typedef char int Tcl_Obj* CONST Tk_ImageType* typePtr
 

Definition at line 1223 of file tk.h.

typedef char int Tcl_Obj* CONST Tk_ImageType Tk_ImageMaster master
 

Definition at line 1223 of file tk.h.

typedef char int Tcl_Obj* CONST Tk_ImageType Tk_ImageMaster ClientData* masterDataPtr
 

Definition at line 1223 of file tk.h.

typedef ClientData masterData
 

Definition at line 1227 of file tk.h.

typedef Display* display
 

Definition at line 1229 of file tk.h.

typedef Display Drawable drawable
 

Definition at line 1229 of file tk.h.

typedef Display Drawable int imageX
 

Definition at line 1229 of file tk.h.

typedef Display Drawable int int imageY
 

Definition at line 1229 of file tk.h.

typedef Display Drawable int int int width
 

Definition at line 1229 of file tk.h.

typedef Display Drawable int int int int height
 

Definition at line 1229 of file tk.h.

typedef Display Drawable int int int int int drawableX
 

Definition at line 1229 of file tk.h.

typedef Display Drawable int int int int int int drawableY
 

Definition at line 1229 of file tk.h.

typedef Display* display
 

Definition at line 1232 of file tk.h.

typedef int x
 

Definition at line 1235 of file tk.h.

typedef int int y
 

Definition at line 1235 of file tk.h.

typedef int int int width
 

Definition at line 1235 of file tk.h.

typedef int int int int height
 

Definition at line 1235 of file tk.h.

typedef int int int int int imageWidth
 

Definition at line 1235 of file tk.h.

typedef int int int int int int imageHeight
 

Definition at line 1235 of file tk.h.

typedef Tcl_Interp* interp
 

Definition at line 1238 of file tk.h.

typedef Tcl_Interp Tk_Window tkwin
 

Definition at line 1238 of file tk.h.

typedef Tcl_Interp Tk_Window Tk_PostscriptInfo psinfo
 

Definition at line 1238 of file tk.h.

typedef Tcl_Interp Tk_Window Tk_PostscriptInfo int x
 

Definition at line 1238 of file tk.h.

typedef Tcl_Interp Tk_Window Tk_PostscriptInfo int int y
 

Definition at line 1238 of file tk.h.

typedef Tcl_Interp Tk_Window Tk_PostscriptInfo int int int width
 

Definition at line 1238 of file tk.h.

typedef Tcl_Interp Tk_Window Tk_PostscriptInfo int int int int height
 

Definition at line 1238 of file tk.h.

typedef Tcl_Interp Tk_Window Tk_PostscriptInfo int int int int int prepass
 

Definition at line 1238 of file tk.h.

typedef void* Tk_PhotoHandle
 

Definition at line 1292 of file tk.h.

typedef struct Tk_PhotoImageFormat Tk_PhotoImageFormat
 

Definition at line 1325 of file tk.h.

typedef CONST char* fileName
 

Definition at line 1345 of file tk.h.

typedef CONST char Tcl_Obj* format
 

Definition at line 1345 of file tk.h.

typedef CONST char Tcl_Obj int* widthPtr
 

Definition at line 1345 of file tk.h.

typedef CONST char Tcl_Obj int int* heightPtr
 

Definition at line 1345 of file tk.h.

typedef CONST char Tcl_Obj int int Tcl_Interp* interp
 

Definition at line 1345 of file tk.h.

typedef Tcl_Obj* format
 

Definition at line 1348 of file tk.h.

typedef Tcl_Obj int* widthPtr
 

Definition at line 1348 of file tk.h.

typedef Tcl_Obj int int* heightPtr
 

Definition at line 1348 of file tk.h.

typedef Tcl_Obj int int Tcl_Interp* interp
 

Definition at line 1348 of file tk.h.

typedef Tcl_Channel chan
 

Definition at line 1351 of file tk.h.

typedef Tcl_Channel CONST char* fileName
 

Definition at line 1351 of file tk.h.

typedef Tcl_Channel CONST char Tcl_Obj* format
 

Definition at line 1351 of file tk.h.

typedef Tcl_Channel CONST char Tcl_Obj Tk_PhotoHandle imageHandle
 

Definition at line 1351 of file tk.h.

typedef Tcl_Channel CONST char Tcl_Obj Tk_PhotoHandle int destX
 

Definition at line 1351 of file tk.h.

typedef Tcl_Channel CONST char Tcl_Obj Tk_PhotoHandle int int destY
 

Definition at line 1351 of file tk.h.

typedef Tcl_Channel CONST char Tcl_Obj Tk_PhotoHandle int int int width
 

Definition at line 1351 of file tk.h.

typedef Tcl_Channel CONST char Tcl_Obj Tk_PhotoHandle int int int int height
 

Definition at line 1351 of file tk.h.

typedef Tcl_Channel CONST char Tcl_Obj Tk_PhotoHandle int int int int int srcX
 

Definition at line 1351 of file tk.h.

typedef Tcl_Channel CONST char Tcl_Obj Tk_PhotoHandle int int int int int int srcY
 

Definition at line 1351 of file tk.h.

typedef Tcl_Obj* dataObj
 

Definition at line 1355 of file tk.h.

typedef Tcl_Obj Tcl_Obj* format
 

Definition at line 1355 of file tk.h.

typedef Tcl_Obj Tcl_Obj Tk_PhotoHandle imageHandle
 

Definition at line 1355 of file tk.h.

typedef Tcl_Obj Tcl_Obj Tk_PhotoHandle int destX
 

Definition at line 1355 of file tk.h.

typedef Tcl_Obj Tcl_Obj Tk_PhotoHandle int int destY
 

Definition at line 1355 of file tk.h.

typedef Tcl_Obj Tcl_Obj Tk_PhotoHandle int int int width
 

Definition at line 1355 of file tk.h.

typedef Tcl_Obj Tcl_Obj Tk_PhotoHandle int int int int height
 

Definition at line 1355 of file tk.h.

typedef Tcl_Obj Tcl_Obj Tk_PhotoHandle int int int int int srcX
 

Definition at line 1355 of file tk.h.

typedef Tcl_Obj Tcl_Obj Tk_PhotoHandle int int int int int int srcY
 

Definition at line 1355 of file tk.h.

typedef CONST char* fileName
 

Definition at line 1358 of file tk.h.

typedef CONST char Tcl_Obj* format
 

Definition at line 1358 of file tk.h.

typedef CONST char Tcl_Obj Tk_PhotoImageBlock* blockPtr
 

Definition at line 1358 of file tk.h.

typedef Tcl_Obj* format
 

Definition at line 1360 of file tk.h.

typedef Tcl_Obj Tk_PhotoImageBlock* blockPtr
 

Definition at line 1360 of file tk.h.

typedef char* recordPtr
 

Definition at line 1428 of file tk.h.

typedef char CONST Tk_OptionSpec** optionsPtr
 

Definition at line 1428 of file tk.h.

typedef char CONST Tk_OptionSpec Tk_Window tkwin
 

Definition at line 1428 of file tk.h.

typedef char CONST Tk_OptionSpec Tk_Window int width
 

Definition at line 1428 of file tk.h.

typedef char CONST Tk_OptionSpec Tk_Window int int height
 

Definition at line 1428 of file tk.h.

typedef char CONST Tk_OptionSpec Tk_Window int int int inner
 

Definition at line 1428 of file tk.h.

typedef char CONST Tk_OptionSpec Tk_Window int int int int* widthPtr
 

Definition at line 1428 of file tk.h.

typedef char CONST Tk_OptionSpec Tk_Window int int int int int* heightPtr
 

Definition at line 1428 of file tk.h.

typedef char* recordPtr
 

Definition at line 1431 of file tk.h.

typedef char CONST Tk_OptionSpec** optionsPtr
 

Definition at line 1431 of file tk.h.

typedef char CONST Tk_OptionSpec Tk_Window tkwin
 

Definition at line 1431 of file tk.h.

typedef char CONST Tk_OptionSpec Tk_Window int x
 

Definition at line 1431 of file tk.h.

typedef char CONST Tk_OptionSpec Tk_Window int int y
 

Definition at line 1431 of file tk.h.

typedef char CONST Tk_OptionSpec Tk_Window int int int width
 

Definition at line 1431 of file tk.h.

typedef char CONST Tk_OptionSpec Tk_Window int int int int height
 

Definition at line 1431 of file tk.h.

typedef char CONST Tk_OptionSpec Tk_Window int int int int int inner
 

Definition at line 1431 of file tk.h.

typedef char CONST Tk_OptionSpec Tk_Window int int int int int int* xPtr
 

Definition at line 1431 of file tk.h.

typedef char CONST Tk_OptionSpec Tk_Window int int int int int int int* yPtr
 

Definition at line 1431 of file tk.h.

typedef char CONST Tk_OptionSpec Tk_Window int int int int int int int int* widthPtr
 

Definition at line 1431 of file tk.h.

typedef char CONST Tk_OptionSpec Tk_Window int int int int int int int int int* heightPtr
 

Definition at line 1431 of file tk.h.

typedef char* recordPtr
 

Definition at line 1435 of file tk.h.

typedef char CONST Tk_OptionSpec** optionsPtr
 

Definition at line 1435 of file tk.h.

typedef char CONST Tk_OptionSpec Tk_Window tkwin
 

Definition at line 1435 of file tk.h.

typedef char* recordPtr
 

Definition at line 1437 of file tk.h.

typedef char CONST Tk_OptionSpec** optionsPtr
 

Definition at line 1437 of file tk.h.

typedef char CONST Tk_OptionSpec Tk_Window tkwin
 

Definition at line 1437 of file tk.h.

typedef char CONST Tk_OptionSpec Tk_Window Drawable d
 

Definition at line 1437 of file tk.h.

typedef char CONST Tk_OptionSpec Tk_Window Drawable int x
 

Definition at line 1437 of file tk.h.

typedef char CONST Tk_OptionSpec Tk_Window Drawable int int y
 

Definition at line 1437 of file tk.h.

typedef char CONST Tk_OptionSpec Tk_Window Drawable int int int width
 

Definition at line 1437 of file tk.h.

typedef char CONST Tk_OptionSpec Tk_Window Drawable int int int int height
 

Definition at line 1437 of file tk.h.

typedef char CONST Tk_OptionSpec Tk_Window Drawable int int int int int state
 

Definition at line 1437 of file tk.h.

typedef XErrorEvent* errEventPtr
 

Definition at line 1554 of file tk.h.

typedef XEvent* eventPtr
 

Definition at line 1556 of file tk.h.

typedef XEvent* eventPtr
 

Definition at line 1558 of file tk.h.

typedef XEvent* eventPtr
 

Definition at line 1560 of file tk.h.

typedef Tcl_Interp* interp
 

Definition at line 1562 of file tk.h.

typedef Tcl_Interp char* portion
 

Definition at line 1562 of file tk.h.

typedef XEvent* eventPtr
 

Definition at line 1565 of file tk.h.

typedef int offset
 

Definition at line 1567 of file tk.h.

typedef int char* buffer
 

Definition at line 1567 of file tk.h.

typedef int char int maxBytes
 

Definition at line 1567 of file tk.h.


Enumeration Type Documentation

enum Tk_OptionType
 

Enumerator:
TK_OPTION_BOOLEAN 
TK_OPTION_INT 
TK_OPTION_DOUBLE 
TK_OPTION_STRING 
TK_OPTION_STRING_TABLE 
TK_OPTION_COLOR 
TK_OPTION_FONT 
TK_OPTION_BITMAP 
TK_OPTION_BORDER 
TK_OPTION_RELIEF 
TK_OPTION_CURSOR 
TK_OPTION_JUSTIFY 
TK_OPTION_ANCHOR 
TK_OPTION_SYNONYM 
TK_OPTION_PIXELS 
TK_OPTION_WINDOW 
TK_OPTION_END 
TK_OPTION_CUSTOM 
TK_OPTION_STYLE 

Definition at line 149 of file tk.h.

enum Tk_ConfigTypes
 

Enumerator:
TK_CONFIG_BOOLEAN 
TK_CONFIG_INT 
TK_CONFIG_DOUBLE 
TK_CONFIG_STRING 
TK_CONFIG_UID 
TK_CONFIG_COLOR 
TK_CONFIG_FONT 
TK_CONFIG_BITMAP 
TK_CONFIG_BORDER 
TK_CONFIG_RELIEF 
TK_CONFIG_CURSOR 
TK_CONFIG_ACTIVE_CURSOR 
TK_CONFIG_JUSTIFY 
TK_CONFIG_ANCHOR 
TK_CONFIG_SYNONYM 
TK_CONFIG_CAP_STYLE 
TK_CONFIG_JOIN_STYLE 
TK_CONFIG_PIXELS 
TK_CONFIG_MM 
TK_CONFIG_WINDOW 
TK_CONFIG_CUSTOM 
TK_CONFIG_END 

Definition at line 392 of file tk.h.

enum Tk_RestrictAction
 

Enumerator:
TK_DEFER_EVENT 
TK_PROCESS_EVENT 
TK_DISCARD_EVENT 

Definition at line 472 of file tk.h.

enum Tk_Anchor
 

Enumerator:
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_CENTER 

Definition at line 519 of file tk.h.

enum Tk_Justify
 

Enumerator:
TK_JUSTIFY_LEFT 
TK_JUSTIFY_RIGHT 
TK_JUSTIFY_CENTER 

Definition at line 529 of file tk.h.

enum Tk_State
 

Enumerator:
TK_STATE_NULL 
TK_STATE_ACTIVE 
TK_STATE_DISABLED 
TK_STATE_NORMAL 
TK_STATE_HIDDEN 

Definition at line 916 of file tk.h.


Function Documentation

typedef int Tk_CustomOptionSetProc   ) 
 

typedef void Tk_CustomOptionRestoreProc   ) 
 

typedef void Tk_CustomOptionFreeProc   ) 
 

typedef int Tk_OptionParseProc   ) 
 

typedef Window Tk_ClassCreateProc   ) 
 

typedef void Tk_ClassWorldChangedProc   ) 
 

typedef void Tk_ClassModalProc   ) 
 

typedef void Tk_GeomRequestProc   ) 
 

typedef void Tk_GeomLostSlaveProc   ) 
 

typedef int Tk_ImageCreateProc   ) 
 

typedef ClientData Tk_ImageGetProc   ) 
 

typedef void Tk_ImageDisplayProc   ) 
 

typedef void Tk_ImageFreeProc   ) 
 

typedef void Tk_ImageDeleteProc   ) 
 

typedef void Tk_ImageChangedProc   ) 
 

typedef int Tk_ImagePostscriptProc   ) 
 

typedef int Tk_ImageFileMatchProc   ) 
 

typedef int Tk_ImageStringMatchProc   ) 
 

typedef int Tk_ImageFileReadProc   ) 
 

typedef int Tk_ImageStringReadProc   ) 
 

typedef int Tk_ImageFileWriteProc   ) 
 

typedef int Tk_ImageStringWriteProc   ) 
 

EXTERN void Tk_CreateOldImageType _ANSI_ARGS_ (Tk_ImageType *typePtr  ) 
 

EXTERN void Tk_CreateOldPhotoImageFormat _ANSI_ARGS_ (Tk_PhotoImageFormat *formatPtr)   ) 
 

typedef void Tk_GetElementSizeProc   ) 
 

typedef void Tk_GetElementBoxProc   ) 
 

typedef int Tk_GetElementBorderWidthProc   ) 
 

typedef void Tk_DrawElementProc   ) 
 

CONST char* Tk_InitStubs _ANSI_ARGS_ (Tcl_Interp *interp, char *version, int exact)   ) 
 

void Tk_InitImageArgs _ANSI_ARGS_ (Tcl_Interp *interp, int argc, char ***argv  ) 
 

typedef int Tk_ErrorProc   ) 
 

typedef void Tk_EventProc   ) 
 

typedef int Tk_GenericProc   ) 
 

typedef int Tk_ClientMessageProc   ) 
 

typedef int Tk_GetSelProc   ) 
 

typedef void Tk_LostSelProc   ) 
 

typedef Tk_RestrictAction Tk_RestrictProc   ) 
 

typedef int Tk_SelectionProc   ) 
 


Generated on Mon Sep 18 01:25:02 2006 for BRL-CAD by  doxygen 1.4.6