Tk Library Manual


Tk_Get3DBorder
Tk_Draw3DRectangle
Tk_Fill3DRectangle
Tk_Draw3DPolygon
Tk_Fill3DPolygon
Tk_3DVerticalBevel
Tk_3DHorizontalBevel
Tk_SetBackgroundFromBorder
Tk_NameOf3DBorder
Tk_3DBorderColor
Tk_3DBorderGC
Tk_Free3DBorder
draw borders with three-dimensional appearance

Tk_WindowId
Tk_Parent
Tk_Display
Tk_DisplayName
Tk_ScreenNumber
Tk_Screen
Tk_X
Tk_Y
Tk_Width
Tk_Height
Tk_Changes
Tk_Attributes
Tk_IsMapped
Tk_IsTopLevel
Tk_ReqWidth
Tk_ReqHeight
Tk_InternalBorderWidth
Tk_Visual
Tk_Depth
Tk_Colormap
retrieve information from Tk's local data structure

Tk_BackgroundError
report Tcl error that occurred in background processing

Tk_CreateBindingTable
Tk_DeleteBindingTable
Tk_CreateBinding
Tk_DeleteBinding
Tk_GetBinding
Tk_GetAllBindings
Tk_DeleteAllBindings
Tk_BindEvent
invoke scripts in response to X events

Tk_DoWhenIdle
Tk_CancelIdleCall
invoke a procedure when there are no pending events

Tk_CanvasTkwin
Tk_CanvasGetCoord
Tk_CanvasDrawableCoords
Tk_CanvasSetStippleOrigin
Tk_CanvasWindowCoords
Tk_CanvasEventuallyRedraw
utility procedures for canvas type managers

Tk_CanvasPsY
Tk_CanvasPsBitmap
Tk_CanvasPsColor
Tk_CanvasPsFont
Tk_CanvasPsPath
Tk_CanvasPsStipple
utility procedures for generating Postscript for canvases

Tk_CanvasTextInfo
additional information for managing text items in canvases

Tk_ConfigureWindow
Tk_MoveWindow
Tk_ResizeWindow
Tk_MoveResizeWindow
Tk_SetWindowBorderWidth
Tk_ChangeWindowAttributes
Tk_SetWindowBackground
Tk_SetWindowBackgroundPixmap
Tk_SetWindowBorder
Tk_SetWindowBorderPixmap
Tk_SetWindowColormap
Tk_DefineCursor
Tk_UndefineCursor
change window configuration or attributes

Tk_SetClass
Tk_Class
set or retrieve a window's class

Tk_ClearSelection
Deselect a selection

Tk_ClipboardClear
Tk_ClipboardAppend
Manage the clipboard

Tk_ConfigureWidget
Tk_Offset
Tk_ConfigureInfo
Tk_ConfigureValue
Tk_FreeOptions
process configuration options for widgets

Tk_CoordsToWindow
Find window containing a point

Tk_CreateErrorHandler
Tk_DeleteErrorHandler
handle X protocol errors

Tk_CreateEventHandler
Tk_DeleteEventHandler
associate procedure callback with an X event

Tk_CreateFileHandler
Tk_CreateFileHandler2
Tk_DeleteFileHandler
associate procedure callbacks with files or devices

Tk_CreateGenericHandler
Tk_DeleteGenericHandler
associate procedure callback with all X events

Tk_CreateImageType
define new kind of image

Tk_CreateItemType
Tk_GetItemTypes
define new kind of canvas item

Tk_CreateMainWindow
Tk_CreateWindow
Tk_CreateWindowFromPath
Tk_DestroyWindow
Tk_MakeWindowExist
create or delete window

Tk_CreatePhotoImageFormat
define new file format for photo images

Tk_CreateSelHandler
Tk_DeleteSelHandler
arrange to handle requests for a selection

Tk_CreateTimerHandler
Tk_DeleteTimerHandler
call a procedure at a given time

Tk_GetBitmap
Tk_DefineBitmap
Tk_NameOfBitmap
Tk_SizeOfBitmap
Tk_FreeBitmap
Tk_GetBitmapFromData
maintain database of single-plane pixmaps

Tk_DeleteImage
Destroy an image.

Tk_DoOneEvent
Tk_MainLoop
Tk_HandleEvent
wait for events and invoke event handlers

Tk_DrawFocusHighlight
draw the traversal highlight ring for a widget

Tk_EventInit
Use the Tk event loop without the rest of Tk

Tk_Preserve
Tk_Release
Tk_EventuallyFree
avoid freeing storage while it's being used

Tk_FindPhoto
Tk_PhotoPutBlock
Tk_PhotoPutZoomedBlock
Tk_PhotoGetImage
Tk_PhotoBlank
Tk_PhotoExpand
Tk_PhotoGetSize
Tk_PhotoSetSize
manipulate the image data stored in a photo image.

Tk_GetColor
Tk_GetColorByValue
Tk_NameOfColor
Tk_FreeColor
maintain database of colors

Tk_GetColormap
Tk_FreeColormap
allocate and free colormaps

Tk_GetCursor
Tk_GetCursorFromData
Tk_NameOfCursor
Tk_FreeCursor
maintain database of cursors

Tk_GetFontStruct
Tk_NameOfFontStruct
Tk_FreeFontStruct
maintain database of fonts

Tk_GetGC
Tk_FreeGC
maintain database of read-only graphics contexts

Tk_GetImage
Tk_RedrawImage
Tk_SizeOfImage
Tk_FreeImage
use an image in a widget

Tk_GetPixmap
Tk_FreePixmap
allocate and free pixmaps

Tk_FreeXId
make X resource identifier available for reuse

Tk_GeometryRequest
Tk_SetInternalBorder
specify desired geometry or internal border for a window

Tk_GetAnchor
Tk_NameOfAnchor
translate between strings and anchor positions

Tk_InternAtom
Tk_GetAtomName
manage cache of X atoms

Tk_GetCapStyle
Tk_NameOfCapStyle
translate between strings and cap styles

Tk_GetJoinStyle
Tk_NameOfJoinStyle
translate between strings and join styles

Tk_GetJustify
Tk_NameOfJustify
translate between strings and justification styles

Tk_GetOption
retrieve an option from the option database

Tk_GetPixels
Tk_GetScreenMM
translate between strings and screen units

Tk_GetRelief
Tk_NameOfRelief
translate between strings and relief values

Tk_GetRootCoords
Compute root-window coordinates of window

Tk_GetScrollInfo
parse arguments for scrolling commands

Tk_GetSelection
retrieve the contents of a selection

Tk_GetUid
Tk_Uid
convert from string to unique identifier

Tk_GetVRootGeometry
Get location and size of virtual root for window

Tk_GetVisual
translate from string to visual

Tk_IdToWindow
Find Tk's window information for an X window

Tk_ImageChanged
notify widgets that image needs to be redrawn

Tk_Main
main program for Tk-based applications

Tk_MainWindow
find the main window for an application

Tk_MaintainGeometry
Tk_UnmaintainGeometry
maintain geometry of one window relative to another

Tk_ManageGeometry
arrange to handle geometry requests for a window

Tk_MapWindow
Tk_UnmapWindow
map or unmap a window

Tk_MoveToplevelWindow
Adjust the position of a top-level window

Tk_Name
Tk_PathName
Tk_NameToWindow
convert between names and window tokens

Tk_NameOfImage
Return name of image.

Tk_OwnSelection
make a window the owner of the primary selection

Tk_ParseArgv
process command-line options

Tk_RestackWindow
Change a window's position in the stacking order

Tk_RestrictEvents
filter and selectively delay X events

Tk_SetAppName
Set the name of an application for ``send'' commands

Tk_SetGrid
Tk_UnsetGrid
control the grid for interactive resizing

Tk_SetWindowVisual
change visual characteristics of window

Tk_Sleep
delay execution for a given number of milliseconds

Tk_StrictMotif
Return value of tk_strictMotif variable

Copyright © 1990-1994 The Regents of the University of California.
Copyright © 1994 The Australian National University
Copyright © 1994-1995 Sun Microsystems, Inc.
Copyright © 1995 Roger E. Critchlow Jr.