Your company here — click to reach over 10,000 unique daily visitors

Package tk-devel

Tk graphical toolkit development files


When paired with the Tcl scripting language, Tk provides a fast and powerful
way to create cross-platform GUI applications.

The package contains the development files and man pages for tk.

Version: 8.6.14

See also: tk.

Library Functions

FindPhoto alias for Tk_FindPhoto
FontId alias for Tk_FontId
MeasureChar alias for Tk_MeasureChars
Tk_3DBorderColor alias for Tk_Alloc3DBorderFromObj
Tk_3DBorderGC alias for Tk_Alloc3DBorderFromObj
Tk_3DHorizontalBevel alias for Tk_Alloc3DBorderFromObj
Tk_3DVerticalBevel alias for Tk_Alloc3DBorderFromObj
Tk_AddOption Add an option to the option database
Tk_Alloc3DBorderFromObj draw borders with three-dimensional appearance
Tk_AllocBitmapFromObj maintain database of single-plane pixmaps
Tk_AllocColorFromObj maintain database of colors
Tk_AllocCursorFromObj maintain database of cursors
Tk_AllocFontFromObj maintain database of fonts
Tk_AttachHWND alias for Tk_GetHWND
Tk_Attributes alias for Tk_WindowId
Tk_BindEvent alias for Tk_CreateBindingTable
Tk_CanvasDrawableCoords alias for Tk_CanvasTkwin
Tk_CanvasEventuallyRedraw alias for Tk_CanvasTkwin
Tk_CanvasGetCoord alias for Tk_CanvasTkwin
Tk_CanvasPsBitmap alias for Tk_CanvasPsY
Tk_CanvasPsColor alias for Tk_CanvasPsY
Tk_CanvasPsFont alias for Tk_CanvasPsY
Tk_CanvasPsPath alias for Tk_CanvasPsY
Tk_CanvasPsStipple alias for Tk_CanvasPsY
Tk_CanvasPsY utility procedures for generating Postscript for canvases
Tk_CanvasSetStippleOrigin alias for Tk_CanvasTkwin
Tk_CanvasTagsOption alias for Tk_CanvasTkwin
Tk_CanvasTextInfo additional information for managing text items in canvases
Tk_CanvasTkwin utility procedures for canvas type managers
Tk_CanvasWindowCoords alias for Tk_CanvasTkwin
Tk_ChangeWindowAttributes alias for Tk_ConfigureWindow
Tk_Changes alias for Tk_WindowId
Tk_CharBbox alias for Tk_ComputeTextLayout
Tk_Class alias for Tk_SetClass
Tk_ClearSelection Deselect a selection
Tk_ClipboardAppend alias for Tk_ClipboardClear
Tk_ClipboardClear Manage the clipboard
Tk_CollapseMotionEvents Add a window event to the Tcl event queue
Tk_Colormap alias for Tk_WindowId
Tk_ComputeTextLayout routines to measure and display single-font, multi-line, justified text.
Tk_ConfigureInfo alias for Tk_ConfigureWidget
Tk_ConfigureValue alias for Tk_ConfigureWidget
Tk_ConfigureWidget process configuration options for widgets
Tk_ConfigureWindow change window configuration or attributes
Tk_CoordsToWindow Find window containing a point
Tk_CreateBinding alias for Tk_CreateBindingTable
Tk_CreateBindingTable invoke scripts in response to X events
Tk_CreateClientMessageHandler associate procedure callback with ClientMessage type X events
Tk_CreateErrorHandler handle X protocol errors
Tk_CreateEventHandler associate procedure callback with an X event
Tk_CreateGenericHandler associate procedure callback with all X events
Tk_CreateImageType define new kind of image
Tk_CreateItemType define new kind of canvas item
Tk_CreateOptionTable process configuration options
Tk_CreatePhotoImageFormat define new file format for photo images
Tk_CreateSelHandler arrange to handle requests for a selection
Tk_CreateWindow create or delete window
Tk_CreateWindowFromPath alias for Tk_CreateWindow
Tk_DefineBitmap alias for Tk_AllocBitmapFromObj
Tk_DefineCursor alias for Tk_ConfigureWindow
Tk_DeleteAllBindings alias for Tk_CreateBindingTable
Tk_DeleteBinding alias for Tk_CreateBindingTable
Tk_DeleteBindingTable alias for Tk_CreateBindingTable
Tk_DeleteClientMessageHandler alias for Tk_CreateClientMessageHandler
Tk_DeleteErrorHandler alias for Tk_CreateErrorHandler
Tk_DeleteEventHandler alias for Tk_CreateEventHandler
Tk_DeleteGenericHandler alias for Tk_CreateGenericHandler
Tk_DeleteImage Destroy an image.
Tk_DeleteOptionTable alias for Tk_CreateOptionTable
Tk_DeleteSelHandler alias for Tk_CreateSelHandler
Tk_Depth alias for Tk_WindowId
Tk_DestroyWindow alias for Tk_CreateWindow
Tk_Display alias for Tk_WindowId
Tk_DisplayName alias for Tk_WindowId
Tk_DistanceToTextLayout alias for Tk_ComputeTextLayout
Tk_Draw3DPolygon alias for Tk_Alloc3DBorderFromObj
Tk_Draw3DRectangle alias for Tk_Alloc3DBorderFromObj
Tk_DrawChars alias for Tk_MeasureChars
Tk_DrawFocusHighlight draw the traversal highlight ring for a widget
Tk_DrawTextLayout alias for Tk_ComputeTextLayout
Tk_Fill3DPolygon alias for Tk_Alloc3DBorderFromObj
Tk_Fill3DRectangle alias for Tk_Alloc3DBorderFromObj
Tk_FindPhoto manipulate the image data stored in a photo image.
Tk_FontId accessor functions for fonts
Tk_Free3DBorder alias for Tk_Alloc3DBorderFromObj
Tk_Free3DBorderFromObj alias for Tk_Alloc3DBorderFromObj
Tk_FreeBitmap alias for Tk_AllocBitmapFromObj
Tk_FreeBitmapFromObj alias for Tk_AllocBitmapFromObj
Tk_FreeColor alias for Tk_AllocColorFromObj
Tk_FreeColorFromObj alias for Tk_AllocColorFromObj
Tk_FreeColormap alias for Tk_GetColormap
Tk_FreeConfigOptions alias for Tk_CreateOptionTable
Tk_FreeCursor alias for Tk_AllocCursorFromObj
Tk_FreeCursorFromObj alias for Tk_AllocCursorFromObj
Tk_FreeFont alias for Tk_AllocFontFromObj
Tk_FreeFontFromObj alias for Tk_AllocFontFromObj
Tk_FreeGC alias for Tk_GetGC
Tk_FreeImage alias for Tk_GetImage
Tk_FreeOptions alias for Tk_ConfigureWidget
Tk_FreePixmap alias for Tk_GetPixmap
Tk_FreeSavedOptions alias for Tk_CreateOptionTable
Tk_FreeTextLayout alias for Tk_ComputeTextLayout
Tk_FreeXId make X resource identifier available for reuse
Tk_GeometryRequest specify desired geometry or internal border for a window
Tk_Get3DBorder alias for Tk_Alloc3DBorderFromObj
Tk_Get3DBorderFromObj alias for Tk_Alloc3DBorderFromObj
Tk_GetAllBindings alias for Tk_CreateBindingTable
Tk_GetAnchor alias for Tk_GetAnchorFromObj
Tk_GetAnchorFromObj translate between strings and anchor positions
Tk_GetAtomName alias for Tk_InternAtom
Tk_GetBinding alias for Tk_CreateBindingTable
Tk_GetBitmap alias for Tk_AllocBitmapFromObj
Tk_GetBitmapFromObj alias for Tk_AllocBitmapFromObj
Tk_GetCapStyle translate between strings and cap styles
Tk_GetColor alias for Tk_AllocColorFromObj
Tk_GetColorByValue alias for Tk_AllocColorFromObj
Tk_GetColorFromObj alias for Tk_AllocColorFromObj
Tk_GetColormap allocate and free colormaps
Tk_GetCursor alias for Tk_AllocCursorFromObj
Tk_GetCursorFromData alias for Tk_AllocCursorFromObj
Tk_GetCursorFromObj alias for Tk_AllocCursorFromObj
Tk_GetDash convert from string to valid dash structure.
Tk_GetFont alias for Tk_AllocFontFromObj
Tk_GetFontFromObj alias for Tk_AllocFontFromObj
Tk_GetFontMetrics alias for Tk_FontId
Tk_GetGC maintain database of read-only graphics contexts
Tk_GetHINSTANCE retrieve the global application instance handle
Tk_GetHWND manage interactions between the Windows handle and an X window
Tk_GetImage use an image in a widget
Tk_GetImageMasterData alias for Tk_CreateImageType
Tk_GetImageModelData alias for Tk_CreateImageType
Tk_GetItemTypes alias for Tk_CreateItemType
Tk_GetJoinStyle translate between strings and join styles
Tk_GetJustify alias for Tk_GetJustifyFromObj
Tk_GetJustifyFromObj translate between strings and justification styles
Tk_GetMMFromObj alias for Tk_GetPixelsFromObj
Tk_GetNumMainWindows alias for Tk_MainWindow
Tk_GetOption retrieve an option from the option database
Tk_GetOptionInfo alias for Tk_CreateOptionTable
Tk_GetOptionValue alias for Tk_CreateOptionTable
Tk_GetPixels alias for Tk_GetPixelsFromObj
Tk_GetPixelsFromObj translate between strings and screen units
Tk_GetPixmap allocate and free pixmaps
Tk_GetRelief alias for Tk_GetReliefFromObj
Tk_GetReliefFromObj translate between strings and relief values
Tk_GetRootCoords Compute root-window coordinates of window
Tk_GetScreenMM alias for Tk_GetPixelsFromObj
Tk_GetScrollInfo alias for Tk_GetScrollInfoObj
Tk_GetScrollInfoObj parse arguments for scrolling commands
Tk_GetSelection retrieve the contents of a selection
Tk_GetUid convert from string to unique identifier
Tk_GetUserInactiveTime discover user inactivity time
Tk_GetVRootGeometry Get location and size of virtual root for window
Tk_GetVisual translate from string to visual
Tk_Grab manipulate grab state in an application
Tk_HWNDToWindow Find Tk's window information for a Windows window
Tk_HandleEvent invoke event handlers for window system events
Tk_Height alias for Tk_WindowId
Tk_IdToWindow Find Tk's window information for an X window
Tk_ImageChanged notify widgets that image needs to be redrawn
Tk_Init add Tk to an interpreter and make a new Tk application.
Tk_InitConsoleChannels Install the console channels as standard channels
Tk_InitImageArgs alias for Tk_CreateImageType
Tk_InitOptions alias for Tk_CreateOptionTable
Tk_InitStubs initialize the Tk stubs mechanism
Tk_InternAtom manage cache of X atoms
Tk_InternalBorderBottom alias for Tk_WindowId
Tk_InternalBorderLeft alias for Tk_WindowId
Tk_InternalBorderRight alias for Tk_WindowId
Tk_InternalBorderTop alias for Tk_WindowId
Tk_Interp alias for Tk_WindowId
Tk_IntersectTextLayout alias for Tk_ComputeTextLayout
Tk_IsContainer alias for Tk_WindowId
Tk_IsEmbedded alias for Tk_WindowId
Tk_IsMapped alias for Tk_WindowId
Tk_IsTopLevel alias for Tk_WindowId
Tk_Main main program for Tk-based applications
Tk_MainLoop loop for events until all windows are deleted
Tk_MainWindow functions for querying main window information
Tk_MaintainGeometry maintain geometry of one window relative to another
Tk_MakeWindowExist alias for Tk_CreateWindow
Tk_ManageGeometry arrange to handle geometry requests for a window
Tk_MapWindow map or unmap a window
Tk_MeasureChars routines to measure and display simple single-line strings.
Tk_MinReqHeight alias for Tk_WindowId
Tk_MinReqWidth alias for Tk_WindowId
Tk_MoveResizeWindow alias for Tk_ConfigureWindow
Tk_MoveToplevelWindow Adjust the position of a top-level window
Tk_MoveWindow alias for Tk_ConfigureWindow
Tk_Name convert between names and window tokens
Tk_NameOf3DBorder alias for Tk_Alloc3DBorderFromObj
Tk_NameOfAnchor alias for Tk_GetAnchorFromObj
Tk_NameOfBitmap alias for Tk_AllocBitmapFromObj
Tk_NameOfCapStyle alias for Tk_GetCapStyle
Tk_NameOfColor alias for Tk_AllocColorFromObj
Tk_NameOfCursor alias for Tk_AllocCursorFromObj
Tk_NameOfFont alias for Tk_AllocFontFromObj
Tk_NameOfImage Return name of image.
Tk_NameOfJoinStyle alias for Tk_GetJoinStyle
Tk_NameOfJustify alias for Tk_GetJustifyFromObj
Tk_NameOfRelief alias for Tk_GetReliefFromObj
Tk_NameToWindow alias for Tk_Name
Tk_Offset alias for Tk_CreateOptionTable
Tk_OwnSelection make a window the owner of the primary selection
Tk_Parent alias for Tk_WindowId
Tk_ParseArgv process command-line options
Tk_PathName alias for Tk_Name
Tk_PhotoBlank alias for Tk_FindPhoto
Tk_PhotoExpand alias for Tk_FindPhoto
Tk_PhotoGetImage alias for Tk_FindPhoto
Tk_PhotoGetSize alias for Tk_FindPhoto
Tk_PhotoPutBlock alias for Tk_FindPhoto
Tk_PhotoPutZoomedBlock alias for Tk_FindPhoto
Tk_PhotoSetSize alias for Tk_FindPhoto
Tk_PointToChar alias for Tk_ComputeTextLayout
Tk_PostscriptFontName alias for Tk_FontId
Tk_PreserveColormap alias for Tk_GetColormap
Tk_QueueWindowEvent alias for Tk_CollapseMotionEvents
Tk_RedrawImage alias for Tk_GetImage
Tk_ReqHeight alias for Tk_WindowId
Tk_ReqWidth alias for Tk_WindowId
Tk_ResetUserInactiveTime alias for Tk_GetUserInactiveTime
Tk_ResizeWindow alias for Tk_ConfigureWindow
Tk_RestackWindow Change a window's position in the stacking order
Tk_RestoreSavedOptions alias for Tk_CreateOptionTable
Tk_RestrictEvents filter and selectively delay X events
Tk_SafeInit alias for Tk_Init
Tk_Screen alias for Tk_WindowId
Tk_ScreenNumber alias for Tk_WindowId
Tk_SetAppName Set the name of an application for 'send' commands
Tk_SetBackgroundFromBorder alias for Tk_Alloc3DBorderFromObj
Tk_SetCaretPos set the display caret location
Tk_SetClass set or retrieve a window's class
Tk_SetClassProcs register widget specific procedures
Tk_SetGrid control the grid for interactive resizing
Tk_SetInternalBorder alias for Tk_GeometryRequest
Tk_SetInternalBorderEx alias for Tk_GeometryRequest
Tk_SetMinimumRequestSize alias for Tk_GeometryRequest
Tk_SetOptions alias for Tk_CreateOptionTable
Tk_SetWindowBackground alias for Tk_ConfigureWindow
Tk_SetWindowBackgroundPixmap alias for Tk_ConfigureWindow
Tk_SetWindowBorder alias for Tk_ConfigureWindow
Tk_SetWindowBorderPixmap alias for Tk_ConfigureWindow
Tk_SetWindowBorderWidth alias for Tk_ConfigureWindow
Tk_SetWindowColormap alias for Tk_ConfigureWindow
Tk_SetWindowVisual change visual characteristics of window
Tk_SizeOfBitmap alias for Tk_AllocBitmapFromObj
Tk_SizeOfImage alias for Tk_GetImage
Tk_StrictMotif Return value of tk_strictMotif variable
Tk_TextLayoutToPostscript alias for Tk_ComputeTextLayout
Tk_TextWidth alias for Tk_MeasureChars
Tk_Uid alias for Tk_GetUid
Tk_UndefineCursor alias for Tk_ConfigureWindow
Tk_UnderlineChars alias for Tk_MeasureChars
Tk_UnderlineTextLayout alias for Tk_ComputeTextLayout
Tk_Ungrab alias for Tk_Grab
Tk_UnmaintainGeometry alias for Tk_MaintainGeometry
Tk_UnmapWindow alias for Tk_MapWindow
Tk_UnsetGrid alias for Tk_SetGrid
Tk_Visual alias for Tk_WindowId
Tk_Width alias for Tk_WindowId
Tk_WindowId retrieve information from Tk's local data structure
Tk_X alias for Tk_WindowId
Tk_Y alias for Tk_WindowId
Ttk_AddPadding alias for Ttk_MakeBox
Ttk_BoxContains alias for Ttk_MakeBox
Ttk_CreateTheme create and use Tk themes.
Ttk_ExpandBox alias for Ttk_MakeBox
Ttk_GetBorderFromObj alias for Ttk_MakeBox
Ttk_GetCurrentTheme alias for Ttk_CreateTheme
Ttk_GetDefaultTheme alias for Ttk_CreateTheme
Ttk_GetPaddingFromObj alias for Ttk_MakeBox
Ttk_GetStickyFromObj alias for Ttk_MakeBox
Ttk_GetTheme alias for Ttk_CreateTheme
Ttk_MakeBox Tk themed geometry utilities
Ttk_MakePadding alias for Ttk_MakeBox
Ttk_PackBox alias for Ttk_MakeBox
Ttk_PadBox alias for Ttk_MakeBox
Ttk_PlaceBox alias for Ttk_MakeBox
Ttk_RelievePadding alias for Ttk_MakeBox
Ttk_StickBox alias for Ttk_MakeBox
Ttk_UniformPadding alias for Ttk_MakeBox