tk

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Rendered for darwin/amd64

Overview

Package tk provides purego-based Go bindings for the macOS Tk framework.

Apple documentation: https://developer.apple.com/documentation/tk

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SymbolAvailable

func SymbolAvailable(symbol string) bool

SymbolAvailable reports whether the named C symbol was bound when the library loaded. Calling a generated wrapper whose symbol is unavailable dereferences a nil function variable and panics.

func Tk_3DBorderGC

func Tk_3DBorderGC(tkwin unsafe.Pointer, border unsafe.Pointer, which int) unsafe.Pointer

func Tk_3DHorizontalBevel

func Tk_3DHorizontalBevel(tkwin unsafe.Pointer, drawable int, border unsafe.Pointer, x int, y int, width int, height int, leftIn int, rightIn int, topBevel int, relief int)

func Tk_3DVerticalBevel

func Tk_3DVerticalBevel(tkwin unsafe.Pointer, drawable int, border unsafe.Pointer, x int, y int, width int, height int, leftBevel int, relief int)

func Tk_AddOption

func Tk_AddOption(tkwin unsafe.Pointer, name string, value string, priority int)

func Tk_Alloc3DBorderFromObj

func Tk_Alloc3DBorderFromObj(interp *tcl.Tcl_Interp, tkwin unsafe.Pointer, objPtr *tcl.Tcl_Obj) unsafe.Pointer

func Tk_AllocBitmapFromObj

func Tk_AllocBitmapFromObj(interp *tcl.Tcl_Interp, tkwin unsafe.Pointer, objPtr *tcl.Tcl_Obj) int

func Tk_AllocCursorFromObj

func Tk_AllocCursorFromObj(interp *tcl.Tcl_Interp, tkwin unsafe.Pointer, objPtr *tcl.Tcl_Obj) unsafe.Pointer

func Tk_AllocFontFromObj

func Tk_AllocFontFromObj(interp *tcl.Tcl_Interp, tkwin unsafe.Pointer, objPtr *tcl.Tcl_Obj) unsafe.Pointer

func Tk_AllocStyleFromObj

func Tk_AllocStyleFromObj(interp *tcl.Tcl_Interp, objPtr *tcl.Tcl_Obj) unsafe.Pointer

func Tk_BindEvent

func Tk_BindEvent(bindingTable *int32, eventPtr unsafe.Pointer, tkwin unsafe.Pointer, numObjects int, objectPtr unsafe.Pointer)

func Tk_CanvasDrawableCoords

func Tk_CanvasDrawableCoords(canvas unsafe.Pointer, x float64, y float64, drawableXPtr *int16, drawableYPtr *int16)

func Tk_CanvasEventuallyRedraw

func Tk_CanvasEventuallyRedraw(canvas unsafe.Pointer, x1 int, y1 int, x2 int, y2 int)

func Tk_CanvasGetCoord

func Tk_CanvasGetCoord(interp *tcl.Tcl_Interp, canvas unsafe.Pointer, str string, doublePtr *float64) int

func Tk_CanvasGetCoordFromObj

func Tk_CanvasGetCoordFromObj(interp *tcl.Tcl_Interp, canvas unsafe.Pointer, obj *tcl.Tcl_Obj, doublePtr *float64) int

func Tk_CanvasGetTextInfo

func Tk_CanvasGetTextInfo(canvas unsafe.Pointer) unsafe.Pointer

func Tk_CanvasPsBitmap

func Tk_CanvasPsBitmap(interp *tcl.Tcl_Interp, canvas unsafe.Pointer, bitmap int, x int, y int, width int, height int) int

func Tk_CanvasPsColor

func Tk_CanvasPsColor(interp *tcl.Tcl_Interp, canvas unsafe.Pointer, colorPtr *XColor) int

func Tk_CanvasPsFont

func Tk_CanvasPsFont(interp *tcl.Tcl_Interp, canvas unsafe.Pointer, font unsafe.Pointer) int

func Tk_CanvasPsOutline

func Tk_CanvasPsOutline(canvas unsafe.Pointer, item unsafe.Pointer, outline unsafe.Pointer) int

func Tk_CanvasPsPath

func Tk_CanvasPsPath(interp *tcl.Tcl_Interp, canvas unsafe.Pointer, coordPtr *float64, numPoints int)

func Tk_CanvasPsStipple

func Tk_CanvasPsStipple(interp *tcl.Tcl_Interp, canvas unsafe.Pointer, bitmap int) int

func Tk_CanvasPsY

func Tk_CanvasPsY(canvas unsafe.Pointer, y float64) float64

func Tk_CanvasSetOffset

func Tk_CanvasSetOffset(canvas unsafe.Pointer, gc unsafe.Pointer, offset unsafe.Pointer)

func Tk_CanvasSetStippleOrigin

func Tk_CanvasSetStippleOrigin(canvas unsafe.Pointer, gc unsafe.Pointer)

func Tk_CanvasTagsParseProc

func Tk_CanvasTagsParseProc(clientData unsafe.Pointer, interp *tcl.Tcl_Interp, tkwin unsafe.Pointer, value string, widgRec string, offset int) int

func Tk_CanvasTagsPrintProc

func Tk_CanvasTagsPrintProc(clientData unsafe.Pointer, tkwin unsafe.Pointer, widgRec string, offset int, freeProcPtr unsafe.Pointer) string

func Tk_CanvasTkwin

func Tk_CanvasTkwin(canvas unsafe.Pointer) unsafe.Pointer

func Tk_CanvasWindowCoords

func Tk_CanvasWindowCoords(canvas unsafe.Pointer, x float64, y float64, screenXPtr *int16, screenYPtr *int16)

func Tk_ChangeOutlineGC

func Tk_ChangeOutlineGC(canvas unsafe.Pointer, item unsafe.Pointer, outline unsafe.Pointer) int

func Tk_ChangeWindowAttributes

func Tk_ChangeWindowAttributes(tkwin unsafe.Pointer, valueMask uint, attsPtr unsafe.Pointer)

func Tk_CharBbox

func Tk_CharBbox(layout unsafe.Pointer, index int, xPtr *int32, yPtr *int32, widthPtr *int32, heightPtr *int32) int

func Tk_ClearSelection

func Tk_ClearSelection(tkwin unsafe.Pointer, selection int)

func Tk_ClipboardAppend

func Tk_ClipboardAppend(interp *tcl.Tcl_Interp, tkwin unsafe.Pointer, target int, format int, buffer string) int

func Tk_ClipboardClear

func Tk_ClipboardClear(interp *tcl.Tcl_Interp, tkwin unsafe.Pointer) int

func Tk_CollapseMotionEvents

func Tk_CollapseMotionEvents(display *Display, collapse int) int

func Tk_ComputeTextLayout

func Tk_ComputeTextLayout(font unsafe.Pointer, str string, numChars int, wrapLength int, justify Tk_Justify, flags int, widthPtr *int32, heightPtr *int32) unsafe.Pointer

func Tk_ConfigOutlineGC

func Tk_ConfigOutlineGC(gcValues unsafe.Pointer, canvas unsafe.Pointer, item unsafe.Pointer, outline unsafe.Pointer) int

func Tk_ConfigureInfo

func Tk_ConfigureInfo(interp *tcl.Tcl_Interp, tkwin unsafe.Pointer, specs unsafe.Pointer, widgRec string, argvName string, flags int) int

func Tk_ConfigureValue

func Tk_ConfigureValue(interp *tcl.Tcl_Interp, tkwin unsafe.Pointer, specs unsafe.Pointer, widgRec string, argvName string, flags int) int

func Tk_ConfigureWidget

func Tk_ConfigureWidget(interp *tcl.Tcl_Interp, tkwin unsafe.Pointer, specs unsafe.Pointer, argc int, argv string, widgRec string, flags int) int

func Tk_ConfigureWindow

func Tk_ConfigureWindow(tkwin unsafe.Pointer, valueMask uint, valuePtr unsafe.Pointer)

func Tk_CoordsToWindow

func Tk_CoordsToWindow(rootX int, rootY int, tkwin unsafe.Pointer) unsafe.Pointer

func Tk_CreateAnonymousWindow

func Tk_CreateAnonymousWindow(interp *tcl.Tcl_Interp, parent unsafe.Pointer, screenName string) unsafe.Pointer

func Tk_CreateBinding

func Tk_CreateBinding(interp *tcl.Tcl_Interp, bindingTable *int32, object unsafe.Pointer, eventStr string, command string, append_ int) uint

func Tk_CreateBindingTable

func Tk_CreateBindingTable(interp *tcl.Tcl_Interp) *int32

func Tk_CreateClientMessageHandler

func Tk_CreateClientMessageHandler(proc unsafe.Pointer)

func Tk_CreateConsoleWindow

func Tk_CreateConsoleWindow(interp *tcl.Tcl_Interp) int

func Tk_CreateErrorHandler

func Tk_CreateErrorHandler(display *Display, errNum int, request int, minorCode int, errorProc unsafe.Pointer, clientData unsafe.Pointer) unsafe.Pointer

func Tk_CreateEventHandler

func Tk_CreateEventHandler(token unsafe.Pointer, mask uint, proc unsafe.Pointer, clientData unsafe.Pointer)

func Tk_CreateGenericHandler

func Tk_CreateGenericHandler(proc unsafe.Pointer, clientData unsafe.Pointer)

func Tk_CreateImageType

func Tk_CreateImageType(typePtr unsafe.Pointer)

func Tk_CreateItemType

func Tk_CreateItemType(typePtr unsafe.Pointer)

func Tk_CreateOldImageType

func Tk_CreateOldImageType(typePtr unsafe.Pointer)

func Tk_CreateOldPhotoImageFormat

func Tk_CreateOldPhotoImageFormat(formatPtr unsafe.Pointer)

func Tk_CreateOptionTable

func Tk_CreateOptionTable(interp *tcl.Tcl_Interp, templatePtr unsafe.Pointer) unsafe.Pointer

func Tk_CreateOutline

func Tk_CreateOutline(outline unsafe.Pointer)

func Tk_CreatePhotoImageFormat

func Tk_CreatePhotoImageFormat(formatPtr unsafe.Pointer)

func Tk_CreateSelHandler

func Tk_CreateSelHandler(tkwin unsafe.Pointer, selection int, target int, proc unsafe.Pointer, clientData unsafe.Pointer, format int)

func Tk_CreateSmoothMethod

func Tk_CreateSmoothMethod(interp *tcl.Tcl_Interp, method unsafe.Pointer)

func Tk_CreateStyle

func Tk_CreateStyle(name string, engine unsafe.Pointer, clientData unsafe.Pointer) unsafe.Pointer

func Tk_CreateWindow

func Tk_CreateWindow(interp *tcl.Tcl_Interp, parent unsafe.Pointer, name string, screenName string) unsafe.Pointer

func Tk_CreateWindowFromPath

func Tk_CreateWindowFromPath(interp *tcl.Tcl_Interp, tkwin unsafe.Pointer, pathName string, screenName string) unsafe.Pointer

func Tk_DefineBitmap

func Tk_DefineBitmap(interp *tcl.Tcl_Interp, name string, source string, width int, height int) int

func Tk_DefineCursor

func Tk_DefineCursor(window unsafe.Pointer, cursor unsafe.Pointer)

func Tk_DeleteAllBindings

func Tk_DeleteAllBindings(bindingTable *int32, object unsafe.Pointer)

func Tk_DeleteBinding

func Tk_DeleteBinding(interp *tcl.Tcl_Interp, bindingTable *int32, object unsafe.Pointer, eventStr string) int

func Tk_DeleteBindingTable

func Tk_DeleteBindingTable(bindingTable *int32)

func Tk_DeleteClientMessageHandler

func Tk_DeleteClientMessageHandler(proc unsafe.Pointer)

func Tk_DeleteErrorHandler

func Tk_DeleteErrorHandler(handler unsafe.Pointer)

func Tk_DeleteEventHandler

func Tk_DeleteEventHandler(token unsafe.Pointer, mask uint, proc unsafe.Pointer, clientData unsafe.Pointer)

func Tk_DeleteGenericHandler

func Tk_DeleteGenericHandler(proc unsafe.Pointer, clientData unsafe.Pointer)

func Tk_DeleteImage

func Tk_DeleteImage(interp *tcl.Tcl_Interp, name string)

func Tk_DeleteOptionTable

func Tk_DeleteOptionTable(optionTable unsafe.Pointer)

func Tk_DeleteOutline

func Tk_DeleteOutline(display *Display, outline unsafe.Pointer)

func Tk_DeleteSelHandler

func Tk_DeleteSelHandler(tkwin unsafe.Pointer, selection int, target int)

func Tk_DestroyWindow

func Tk_DestroyWindow(tkwin unsafe.Pointer)

func Tk_DisplayName

func Tk_DisplayName(tkwin unsafe.Pointer) string

func Tk_DistanceToTextLayout

func Tk_DistanceToTextLayout(layout unsafe.Pointer, x int, y int) int

func Tk_DitherPhoto

func Tk_DitherPhoto(handle unsafe.Pointer, x int, y int, width int, height int)

func Tk_Draw3DPolygon

func Tk_Draw3DPolygon(tkwin unsafe.Pointer, drawable int, border unsafe.Pointer, pointPtr *XPoint, numPoints int, borderWidth int, leftRelief int)

func Tk_Draw3DRectangle

func Tk_Draw3DRectangle(tkwin unsafe.Pointer, drawable int, border unsafe.Pointer, x int, y int, width int, height int, borderWidth int, relief int)

func Tk_DrawChars

func Tk_DrawChars(display *Display, drawable int, gc unsafe.Pointer, tkfont unsafe.Pointer, source string, numBytes int, x int, y int)

func Tk_DrawElement

func Tk_DrawElement(style unsafe.Pointer, element unsafe.Pointer, recordPtr string, tkwin unsafe.Pointer, d int, x int, y int, width int, height int, state int)

func Tk_DrawFocusHighlight

func Tk_DrawFocusHighlight(tkwin unsafe.Pointer, gc unsafe.Pointer, width int, drawable int)

func Tk_DrawTextLayout

func Tk_DrawTextLayout(display *Display, drawable int, gc unsafe.Pointer, layout unsafe.Pointer, x int, y int, firstChar int, lastChar int)

func Tk_Fill3DPolygon

func Tk_Fill3DPolygon(tkwin unsafe.Pointer, drawable int, border unsafe.Pointer, pointPtr *XPoint, numPoints int, borderWidth int, leftRelief int)

func Tk_Fill3DRectangle

func Tk_Fill3DRectangle(tkwin unsafe.Pointer, drawable int, border unsafe.Pointer, x int, y int, width int, height int, borderWidth int, relief int)

func Tk_FindPhoto

func Tk_FindPhoto(interp *tcl.Tcl_Interp, imageName string) unsafe.Pointer

func Tk_FontId

func Tk_FontId(font unsafe.Pointer) int

func Tk_Free3DBorder

func Tk_Free3DBorder(border unsafe.Pointer)

func Tk_Free3DBorderFromObj

func Tk_Free3DBorderFromObj(tkwin unsafe.Pointer, objPtr *tcl.Tcl_Obj)

func Tk_FreeBitmap

func Tk_FreeBitmap(display *Display, bitmap int)

func Tk_FreeBitmapFromObj

func Tk_FreeBitmapFromObj(tkwin unsafe.Pointer, objPtr *tcl.Tcl_Obj)

func Tk_FreeColor

func Tk_FreeColor(colorPtr *XColor)

func Tk_FreeColorFromObj

func Tk_FreeColorFromObj(tkwin unsafe.Pointer, objPtr *tcl.Tcl_Obj)

func Tk_FreeColormap

func Tk_FreeColormap(display *Display, colormap int)

func Tk_FreeConfigOptions

func Tk_FreeConfigOptions(recordPtr string, optionToken unsafe.Pointer, tkwin unsafe.Pointer)

func Tk_FreeCursor

func Tk_FreeCursor(display *Display, cursor unsafe.Pointer)

func Tk_FreeCursorFromObj

func Tk_FreeCursorFromObj(tkwin unsafe.Pointer, objPtr *tcl.Tcl_Obj)

func Tk_FreeFont

func Tk_FreeFont(f unsafe.Pointer)

func Tk_FreeFontFromObj

func Tk_FreeFontFromObj(tkwin unsafe.Pointer, objPtr *tcl.Tcl_Obj)

func Tk_FreeGC

func Tk_FreeGC(display *Display, gc unsafe.Pointer)

func Tk_FreeImage

func Tk_FreeImage(image unsafe.Pointer)

func Tk_FreeOptions

func Tk_FreeOptions(specs unsafe.Pointer, widgRec string, display *Display, needFlags int)

func Tk_FreePixmap

func Tk_FreePixmap(display *Display, pixmap int)

func Tk_FreeSavedOptions

func Tk_FreeSavedOptions(savePtr unsafe.Pointer)

func Tk_FreeStyle

func Tk_FreeStyle(style unsafe.Pointer)

func Tk_FreeStyleFromObj

func Tk_FreeStyleFromObj(objPtr *tcl.Tcl_Obj)

func Tk_FreeTextLayout

func Tk_FreeTextLayout(textLayout unsafe.Pointer)

func Tk_FreeXId

func Tk_FreeXId(display *Display, xid int)

func Tk_GCForColor

func Tk_GCForColor(colorPtr *XColor, drawable int) unsafe.Pointer

func Tk_GeometryRequest

func Tk_GeometryRequest(tkwin unsafe.Pointer, reqWidth int, reqHeight int)

func Tk_Get3DBorder

func Tk_Get3DBorder(interp *tcl.Tcl_Interp, tkwin unsafe.Pointer, colorName string) unsafe.Pointer

func Tk_Get3DBorderFromObj

func Tk_Get3DBorderFromObj(tkwin unsafe.Pointer, objPtr *tcl.Tcl_Obj) unsafe.Pointer

func Tk_GetAllBindings

func Tk_GetAllBindings(interp *tcl.Tcl_Interp, bindingTable *int32, object unsafe.Pointer)

func Tk_GetAnchor

func Tk_GetAnchor(interp *tcl.Tcl_Interp, str string, anchorPtr *Tk_Anchor) int

func Tk_GetAnchorFromObj

func Tk_GetAnchorFromObj(interp *tcl.Tcl_Interp, objPtr *tcl.Tcl_Obj, anchorPtr *Tk_Anchor) int

func Tk_GetAtomName

func Tk_GetAtomName(tkwin unsafe.Pointer, atom int) string

func Tk_GetBinding

func Tk_GetBinding(interp *tcl.Tcl_Interp, bindingTable *int32, object unsafe.Pointer, eventStr string) string

func Tk_GetBitmap

func Tk_GetBitmap(interp *tcl.Tcl_Interp, tkwin unsafe.Pointer, str string) int

func Tk_GetBitmapFromData

func Tk_GetBitmapFromData(interp *tcl.Tcl_Interp, tkwin unsafe.Pointer, source string, width int, height int) int

func Tk_GetBitmapFromObj

func Tk_GetBitmapFromObj(tkwin unsafe.Pointer, objPtr *tcl.Tcl_Obj) int

func Tk_GetCapStyle

func Tk_GetCapStyle(interp *tcl.Tcl_Interp, str string, capPtr *int32) int

func Tk_GetColormap

func Tk_GetColormap(interp *tcl.Tcl_Interp, tkwin unsafe.Pointer, str string) int

func Tk_GetCursor

func Tk_GetCursor(interp *tcl.Tcl_Interp, tkwin unsafe.Pointer, str string) unsafe.Pointer

func Tk_GetCursorFromData

func Tk_GetCursorFromData(interp *tcl.Tcl_Interp, tkwin unsafe.Pointer, source string, mask string, width int, height int, xHot int, yHot int, fg string, bg string) unsafe.Pointer

func Tk_GetCursorFromObj

func Tk_GetCursorFromObj(tkwin unsafe.Pointer, objPtr *tcl.Tcl_Obj) unsafe.Pointer

func Tk_GetDash

func Tk_GetDash(interp *tcl.Tcl_Interp, value string, dash unsafe.Pointer) int

func Tk_GetElementBorderWidth

func Tk_GetElementBorderWidth(style unsafe.Pointer, element unsafe.Pointer, recordPtr string, tkwin unsafe.Pointer) int

func Tk_GetElementBox

func Tk_GetElementBox(style unsafe.Pointer, element unsafe.Pointer, recordPtr string, tkwin unsafe.Pointer, x int, y int, width int, height int, inner int, xPtr *int32, yPtr *int32, widthPtr *int32, heightPtr *int32)

func Tk_GetElementId

func Tk_GetElementId(name string) int

func Tk_GetElementSize

func Tk_GetElementSize(style unsafe.Pointer, element unsafe.Pointer, recordPtr string, tkwin unsafe.Pointer, width int, height int, inner int, widthPtr *int32, heightPtr *int32)

func Tk_GetFont

func Tk_GetFont(interp *tcl.Tcl_Interp, tkwin unsafe.Pointer, str string) unsafe.Pointer

func Tk_GetFontFromObj

func Tk_GetFontFromObj(tkwin unsafe.Pointer, objPtr *tcl.Tcl_Obj) unsafe.Pointer

func Tk_GetFontMetrics

func Tk_GetFontMetrics(font unsafe.Pointer, fmPtr unsafe.Pointer)

func Tk_GetGC

func Tk_GetGC(tkwin unsafe.Pointer, valueMask uint, valuePtr unsafe.Pointer) unsafe.Pointer

func Tk_GetImage

func Tk_GetImage(interp *tcl.Tcl_Interp, tkwin unsafe.Pointer, name string, changeProc unsafe.Pointer, clientData unsafe.Pointer) unsafe.Pointer

func Tk_GetImageMasterData

func Tk_GetImageMasterData(interp *tcl.Tcl_Interp, name string, typePtrPtr unsafe.Pointer) unsafe.Pointer

func Tk_GetItemTypes

func Tk_GetItemTypes() unsafe.Pointer

func Tk_GetJoinStyle

func Tk_GetJoinStyle(interp *tcl.Tcl_Interp, str string, joinPtr *int32) int

func Tk_GetJustify

func Tk_GetJustify(interp *tcl.Tcl_Interp, str string, justifyPtr *Tk_Justify) int

func Tk_GetJustifyFromObj

func Tk_GetJustifyFromObj(interp *tcl.Tcl_Interp, objPtr *tcl.Tcl_Obj, justifyPtr *Tk_Justify) int

func Tk_GetMMFromObj

func Tk_GetMMFromObj(interp *tcl.Tcl_Interp, tkwin unsafe.Pointer, objPtr *tcl.Tcl_Obj, doublePtr *float64) int

func Tk_GetNumMainWindows

func Tk_GetNumMainWindows() int

func Tk_GetOption

func Tk_GetOption(tkwin unsafe.Pointer, name string, className string) string

func Tk_GetOptionInfo

func Tk_GetOptionInfo(interp *tcl.Tcl_Interp, recordPtr string, optionTable unsafe.Pointer, namePtr *tcl.Tcl_Obj, tkwin unsafe.Pointer) *tcl.Tcl_Obj

func Tk_GetOptionValue

func Tk_GetOptionValue(interp *tcl.Tcl_Interp, recordPtr string, optionTable unsafe.Pointer, namePtr *tcl.Tcl_Obj, tkwin unsafe.Pointer) *tcl.Tcl_Obj

func Tk_GetPixels

func Tk_GetPixels(interp *tcl.Tcl_Interp, tkwin unsafe.Pointer, str string, intPtr *int32) int

func Tk_GetPixelsFromObj

func Tk_GetPixelsFromObj(interp *tcl.Tcl_Interp, tkwin unsafe.Pointer, objPtr *tcl.Tcl_Obj, intPtr *int32) int

func Tk_GetPixmap

func Tk_GetPixmap(display *Display, d int, width int, height int, depth int) int

func Tk_GetRelief

func Tk_GetRelief(interp *tcl.Tcl_Interp, name string, reliefPtr *int32) int

func Tk_GetReliefFromObj

func Tk_GetReliefFromObj(interp *tcl.Tcl_Interp, objPtr *tcl.Tcl_Obj, resultPtr *int32) int

func Tk_GetRootCoords

func Tk_GetRootCoords(tkwin unsafe.Pointer, xPtr *int32, yPtr *int32)

func Tk_GetScreenMM

func Tk_GetScreenMM(interp *tcl.Tcl_Interp, tkwin unsafe.Pointer, str string, doublePtr *float64) int

func Tk_GetScrollInfo

func Tk_GetScrollInfo(interp *tcl.Tcl_Interp, argc int, argv string, dblPtr *float64, intPtr *int32) int

func Tk_GetScrollInfoObj

func Tk_GetScrollInfoObj(interp *tcl.Tcl_Interp, objc int, objv unsafe.Pointer, dblPtr *float64, intPtr *int32) int

func Tk_GetSelection

func Tk_GetSelection(interp *tcl.Tcl_Interp, tkwin unsafe.Pointer, selection int, target int, proc unsafe.Pointer, clientData unsafe.Pointer) int

func Tk_GetStyle

func Tk_GetStyle(interp *tcl.Tcl_Interp, name string) unsafe.Pointer

func Tk_GetStyleEngine

func Tk_GetStyleEngine(name string) unsafe.Pointer

func Tk_GetStyleFromObj

func Tk_GetStyleFromObj(objPtr *tcl.Tcl_Obj) unsafe.Pointer

func Tk_GetStyledElement

func Tk_GetStyledElement(style unsafe.Pointer, elementId int, optionTable unsafe.Pointer) unsafe.Pointer

func Tk_GetUid

func Tk_GetUid(str string) string

func Tk_GetUserInactiveTime

func Tk_GetUserInactiveTime(dpy *Display) int

func Tk_GetVRootGeometry

func Tk_GetVRootGeometry(tkwin unsafe.Pointer, xPtr *int32, yPtr *int32, widthPtr *int32, heightPtr *int32)

func Tk_GetVisual

func Tk_GetVisual(interp *tcl.Tcl_Interp, tkwin unsafe.Pointer, str string, depthPtr *int32, colormapPtr *int32) unsafe.Pointer

func Tk_Grab

func Tk_Grab(interp *tcl.Tcl_Interp, tkwin unsafe.Pointer, grabGlobal int) int

func Tk_HandleEvent

func Tk_HandleEvent(eventPtr unsafe.Pointer)

func Tk_IdToWindow

func Tk_IdToWindow(display *Display, window unsafe.Pointer) unsafe.Pointer

func Tk_ImageChanged

func Tk_ImageChanged(master unsafe.Pointer, x int, y int, width int, height int, imageWidth int, imageHeight int)

func Tk_Init

func Tk_Init(interp *tcl.Tcl_Interp) int

func Tk_InitConsoleChannels

func Tk_InitConsoleChannels(interp *tcl.Tcl_Interp)

func Tk_InitOptions

func Tk_InitOptions(interp *tcl.Tcl_Interp, recordPtr string, optionToken unsafe.Pointer, tkwin unsafe.Pointer) int

func Tk_InternAtom

func Tk_InternAtom(tkwin unsafe.Pointer, name string) int

func Tk_Interp

func Tk_Interp(tkwin unsafe.Pointer) *tcl.Tcl_Interp

func Tk_IntersectTextLayout

func Tk_IntersectTextLayout(layout unsafe.Pointer, x int, y int, width int, height int) int

func Tk_MainEx

func Tk_MainEx(argc int, argv string, appInitProc unsafe.Pointer, interp *tcl.Tcl_Interp)

func Tk_MainLoop

func Tk_MainLoop()

func Tk_MainWindow

func Tk_MainWindow(interp *tcl.Tcl_Interp) unsafe.Pointer

func Tk_MaintainGeometry

func Tk_MaintainGeometry(slave unsafe.Pointer, master unsafe.Pointer, x int, y int, width int, height int)

func Tk_MakeWindowExist

func Tk_MakeWindowExist(tkwin unsafe.Pointer)

func Tk_ManageGeometry

func Tk_ManageGeometry(tkwin unsafe.Pointer, mgrPtr unsafe.Pointer, clientData unsafe.Pointer)

func Tk_MapWindow

func Tk_MapWindow(tkwin unsafe.Pointer)

func Tk_MeasureChars

func Tk_MeasureChars(tkfont unsafe.Pointer, source string, numBytes int, maxPixels int, flags int, lengthPtr *int32) int

func Tk_MoveResizeWindow

func Tk_MoveResizeWindow(tkwin unsafe.Pointer, x int, y int, width int, height int)

func Tk_MoveToplevelWindow

func Tk_MoveToplevelWindow(tkwin unsafe.Pointer, x int, y int)

func Tk_MoveWindow

func Tk_MoveWindow(tkwin unsafe.Pointer, x int, y int)

func Tk_NameOf3DBorder

func Tk_NameOf3DBorder(border unsafe.Pointer) string

func Tk_NameOfAnchor

func Tk_NameOfAnchor(anchor Tk_Anchor) string

func Tk_NameOfBitmap

func Tk_NameOfBitmap(display *Display, bitmap int) string

func Tk_NameOfCapStyle

func Tk_NameOfCapStyle(cap_ int) string

func Tk_NameOfColor

func Tk_NameOfColor(colorPtr *XColor) string

func Tk_NameOfCursor

func Tk_NameOfCursor(display *Display, cursor unsafe.Pointer) string

func Tk_NameOfFont

func Tk_NameOfFont(font unsafe.Pointer) string

func Tk_NameOfImage

func Tk_NameOfImage(imageMaster unsafe.Pointer) string

func Tk_NameOfJoinStyle

func Tk_NameOfJoinStyle(join int) string

func Tk_NameOfJustify

func Tk_NameOfJustify(justify Tk_Justify) string

func Tk_NameOfRelief

func Tk_NameOfRelief(relief int) string

func Tk_NameOfStyle

func Tk_NameOfStyle(style unsafe.Pointer) string

func Tk_NameToWindow

func Tk_NameToWindow(interp *tcl.Tcl_Interp, pathName string, tkwin unsafe.Pointer) unsafe.Pointer

func Tk_OwnSelection

func Tk_OwnSelection(tkwin unsafe.Pointer, selection int, proc unsafe.Pointer, clientData unsafe.Pointer)

func Tk_ParseArgv

func Tk_ParseArgv(interp *tcl.Tcl_Interp, tkwin unsafe.Pointer, argcPtr *int32, argv string, argTable unsafe.Pointer, flags int) int

func Tk_PhotoBlank

func Tk_PhotoBlank(handle unsafe.Pointer)

func Tk_PhotoExpand

func Tk_PhotoExpand(interp *tcl.Tcl_Interp, handle unsafe.Pointer, width int, height int) int

func Tk_PhotoExpand_Panic

func Tk_PhotoExpand_Panic(handle unsafe.Pointer, width int, height int)

func Tk_PhotoGetImage

func Tk_PhotoGetImage(handle unsafe.Pointer, blockPtr unsafe.Pointer) int

func Tk_PhotoGetSize

func Tk_PhotoGetSize(handle unsafe.Pointer, widthPtr *int32, heightPtr *int32)

func Tk_PhotoPutBlock

func Tk_PhotoPutBlock(interp *tcl.Tcl_Interp, handle unsafe.Pointer, blockPtr unsafe.Pointer, x int, y int, width int, height int, compRule int) int

func Tk_PhotoPutBlock_NoComposite

func Tk_PhotoPutBlock_NoComposite(handle unsafe.Pointer, blockPtr unsafe.Pointer, x int, y int, width int, height int)

func Tk_PhotoPutBlock_Panic

func Tk_PhotoPutBlock_Panic(handle unsafe.Pointer, blockPtr unsafe.Pointer, x int, y int, width int, height int, compRule int)

func Tk_PhotoPutZoomedBlock

func Tk_PhotoPutZoomedBlock(interp *tcl.Tcl_Interp, handle unsafe.Pointer, blockPtr unsafe.Pointer, x int, y int, width int, height int, zoomX int, zoomY int, subsampleX int, subsampleY int, compRule int) int

func Tk_PhotoPutZoomedBlock_NoComposite

func Tk_PhotoPutZoomedBlock_NoComposite(handle unsafe.Pointer, blockPtr unsafe.Pointer, x int, y int, width int, height int, zoomX int, zoomY int, subsampleX int, subsampleY int)

func Tk_PhotoPutZoomedBlock_Panic

func Tk_PhotoPutZoomedBlock_Panic(handle unsafe.Pointer, blockPtr unsafe.Pointer, x int, y int, width int, height int, zoomX int, zoomY int, subsampleX int, subsampleY int, compRule int)

func Tk_PhotoSetSize

func Tk_PhotoSetSize(interp *tcl.Tcl_Interp, handle unsafe.Pointer, width int, height int) int

func Tk_PhotoSetSize_Panic

func Tk_PhotoSetSize_Panic(handle unsafe.Pointer, width int, height int)

func Tk_PointToChar

func Tk_PointToChar(layout unsafe.Pointer, x int, y int) int

func Tk_PostscriptBitmap

func Tk_PostscriptBitmap(interp *tcl.Tcl_Interp, tkwin unsafe.Pointer, psInfo unsafe.Pointer, bitmap int, startX int, startY int, width int, height int) int

func Tk_PostscriptColor

func Tk_PostscriptColor(interp *tcl.Tcl_Interp, psInfo unsafe.Pointer, colorPtr *XColor) int

func Tk_PostscriptFont

func Tk_PostscriptFont(interp *tcl.Tcl_Interp, psInfo unsafe.Pointer, font unsafe.Pointer) int

func Tk_PostscriptFontName

func Tk_PostscriptFontName(tkfont unsafe.Pointer, dsPtr *tcl.Tcl_DString) int

func Tk_PostscriptImage

func Tk_PostscriptImage(image unsafe.Pointer, interp *tcl.Tcl_Interp, tkwin unsafe.Pointer, psinfo unsafe.Pointer, x int, y int, width int, height int, prepass int) int

func Tk_PostscriptPath

func Tk_PostscriptPath(interp *tcl.Tcl_Interp, psInfo unsafe.Pointer, coordPtr *float64, numPoints int)

func Tk_PostscriptPhoto

func Tk_PostscriptPhoto(interp *tcl.Tcl_Interp, blockPtr unsafe.Pointer, psInfo unsafe.Pointer, width int, height int) int

func Tk_PostscriptStipple

func Tk_PostscriptStipple(interp *tcl.Tcl_Interp, tkwin unsafe.Pointer, psInfo unsafe.Pointer, bitmap int) int

func Tk_PostscriptY

func Tk_PostscriptY(y float64, psInfo unsafe.Pointer) float64

func Tk_PreserveColormap

func Tk_PreserveColormap(display *Display, colormap int)

func Tk_QueueWindowEvent

func Tk_QueueWindowEvent(eventPtr unsafe.Pointer, position tcl.Tcl_QueuePosition)

func Tk_RedrawImage

func Tk_RedrawImage(image unsafe.Pointer, imageX int, imageY int, width int, height int, drawable int, drawableX int, drawableY int)

func Tk_RegisterStyleEngine

func Tk_RegisterStyleEngine(name string, parent unsafe.Pointer) unsafe.Pointer

func Tk_RegisterStyledElement

func Tk_RegisterStyledElement(engine unsafe.Pointer, templatePtr unsafe.Pointer) int

func Tk_ResetOutlineGC

func Tk_ResetOutlineGC(canvas unsafe.Pointer, item unsafe.Pointer, outline unsafe.Pointer) int

func Tk_ResetUserInactiveTime

func Tk_ResetUserInactiveTime(dpy *Display)

func Tk_ResizeWindow

func Tk_ResizeWindow(tkwin unsafe.Pointer, width int, height int)

func Tk_RestackWindow

func Tk_RestackWindow(tkwin unsafe.Pointer, aboveBelow int, other unsafe.Pointer) int

func Tk_RestoreSavedOptions

func Tk_RestoreSavedOptions(savePtr unsafe.Pointer)

func Tk_RestrictEvents

func Tk_RestrictEvents(proc unsafe.Pointer, arg unsafe.Pointer, prevArgPtr unsafe.Pointer) unsafe.Pointer

func Tk_SafeInit

func Tk_SafeInit(interp *tcl.Tcl_Interp) int

func Tk_SetAppName

func Tk_SetAppName(tkwin unsafe.Pointer, name string) string

func Tk_SetBackgroundFromBorder

func Tk_SetBackgroundFromBorder(tkwin unsafe.Pointer, border unsafe.Pointer)

func Tk_SetCaretPos

func Tk_SetCaretPos(tkwin unsafe.Pointer, x int, y int, height int)

func Tk_SetClass

func Tk_SetClass(tkwin unsafe.Pointer, className string)

func Tk_SetClassProcs

func Tk_SetClassProcs(tkwin unsafe.Pointer, procs unsafe.Pointer, instanceData unsafe.Pointer)

func Tk_SetGrid

func Tk_SetGrid(tkwin unsafe.Pointer, reqWidth int, reqHeight int, gridWidth int, gridHeight int)

func Tk_SetInternalBorder

func Tk_SetInternalBorder(tkwin unsafe.Pointer, width int)

func Tk_SetInternalBorderEx

func Tk_SetInternalBorderEx(tkwin unsafe.Pointer, left int, right int, top int, bottom int)

func Tk_SetMinimumRequestSize

func Tk_SetMinimumRequestSize(tkwin unsafe.Pointer, minWidth int, minHeight int)

func Tk_SetOptions

func Tk_SetOptions(interp *tcl.Tcl_Interp, recordPtr string, optionTable unsafe.Pointer, objc int, objv unsafe.Pointer, tkwin unsafe.Pointer, savePtr unsafe.Pointer, maskPtr *int32) int

func Tk_SetTSOrigin

func Tk_SetTSOrigin(tkwin unsafe.Pointer, gc unsafe.Pointer, x int, y int)

func Tk_SetWindowBackground

func Tk_SetWindowBackground(tkwin unsafe.Pointer, pixel uint)

func Tk_SetWindowBackgroundPixmap

func Tk_SetWindowBackgroundPixmap(tkwin unsafe.Pointer, pixmap int)

func Tk_SetWindowBorder

func Tk_SetWindowBorder(tkwin unsafe.Pointer, pixel uint)

func Tk_SetWindowBorderPixmap

func Tk_SetWindowBorderPixmap(tkwin unsafe.Pointer, pixmap int)

func Tk_SetWindowBorderWidth

func Tk_SetWindowBorderWidth(tkwin unsafe.Pointer, width int)

func Tk_SetWindowColormap

func Tk_SetWindowColormap(tkwin unsafe.Pointer, colormap int)

func Tk_SetWindowVisual

func Tk_SetWindowVisual(tkwin unsafe.Pointer, visual unsafe.Pointer, depth int, colormap int) int

func Tk_SizeOfBitmap

func Tk_SizeOfBitmap(display *Display, bitmap int, widthPtr *int32, heightPtr *int32)

func Tk_SizeOfImage

func Tk_SizeOfImage(image unsafe.Pointer, widthPtr *int32, heightPtr *int32)

func Tk_StrictMotif

func Tk_StrictMotif(tkwin unsafe.Pointer) int

func Tk_TextLayoutToPostscript

func Tk_TextLayoutToPostscript(interp *tcl.Tcl_Interp, layout unsafe.Pointer)

func Tk_TextWidth

func Tk_TextWidth(font unsafe.Pointer, str string, numBytes int) int

func Tk_UndefineCursor

func Tk_UndefineCursor(window unsafe.Pointer)

func Tk_UnderlineChars

func Tk_UnderlineChars(display *Display, drawable int, gc unsafe.Pointer, tkfont unsafe.Pointer, source string, x int, y int, firstByte int, lastByte int)

func Tk_UnderlineTextLayout

func Tk_UnderlineTextLayout(display *Display, drawable int, gc unsafe.Pointer, layout unsafe.Pointer, x int, y int, underline int)

func Tk_Ungrab

func Tk_Ungrab(tkwin unsafe.Pointer)

func Tk_UnmaintainGeometry

func Tk_UnmaintainGeometry(slave unsafe.Pointer, master unsafe.Pointer)

func Tk_UnmapWindow

func Tk_UnmapWindow(tkwin unsafe.Pointer)

func Tk_UnsetGrid

func Tk_UnsetGrid(tkwin unsafe.Pointer)

func Tk_UpdatePointer

func Tk_UpdatePointer(tkwin unsafe.Pointer, x int, y int, state int)

Types

type Depth

type Depth struct {
	Depth    int
	Nvisuals int
	Visuals  unsafe.Pointer
}

type Display

type Display = XDisplay

Display is an alias for _XDisplay (C typedef Display).

type ScreenFormat

type ScreenFormat struct {
	Ext_data       *XExtData
	Depth          int
	Bits_per_pixel int
	Scanline_pad   int
}

type Tcl_QueuePosition

type Tcl_QueuePosition int64
const (
	TCL_QUEUE_TAIL Tcl_QueuePosition = 0
	TCL_QUEUE_HEAD Tcl_QueuePosition = 1
	TCL_QUEUE_MARK Tcl_QueuePosition = 2
)

func (Tcl_QueuePosition) String

func (e Tcl_QueuePosition) String() string

type Tcl_ValueType

type Tcl_ValueType int64
const (
	TCL_INT      Tcl_ValueType = 0
	TCL_DOUBLE   Tcl_ValueType = 1
	TCL_EITHER   Tcl_ValueType = 2
	TCL_WIDE_INT Tcl_ValueType = 3
)

func (Tcl_ValueType) String

func (e Tcl_ValueType) String() string

type TkStubHooks

type TkStubHooks struct {
	TkPlatStubs    unsafe.Pointer
	TkIntStubs     unsafe.Pointer
	TkIntPlatStubs unsafe.Pointer
	TkIntXlibStubs *int
}

type TkStubs

type TkStubs struct {
	Magic                              int
	Hooks                              *TkStubHooks
	Tk_MainLoop                        unsafe.Pointer
	Tk_3DBorderColor                   unsafe.Pointer
	Tk_3DBorderGC                      unsafe.Pointer
	Tk_3DHorizontalBevel               unsafe.Pointer
	Tk_3DVerticalBevel                 unsafe.Pointer
	Tk_AddOption                       unsafe.Pointer
	Tk_BindEvent                       unsafe.Pointer
	Tk_CanvasDrawableCoords            unsafe.Pointer
	Tk_CanvasEventuallyRedraw          unsafe.Pointer
	Tk_CanvasGetCoord                  unsafe.Pointer
	Tk_CanvasGetTextInfo               unsafe.Pointer
	Tk_CanvasPsBitmap                  unsafe.Pointer
	Tk_CanvasPsColor                   unsafe.Pointer
	Tk_CanvasPsFont                    unsafe.Pointer
	Tk_CanvasPsPath                    unsafe.Pointer
	Tk_CanvasPsStipple                 unsafe.Pointer
	Tk_CanvasPsY                       unsafe.Pointer
	Tk_CanvasSetStippleOrigin          unsafe.Pointer
	Tk_CanvasTagsParseProc             unsafe.Pointer
	Tk_CanvasTagsPrintProc             unsafe.Pointer
	Tk_CanvasTkwin                     unsafe.Pointer
	Tk_CanvasWindowCoords              unsafe.Pointer
	Tk_ChangeWindowAttributes          unsafe.Pointer
	Tk_CharBbox                        unsafe.Pointer
	Tk_ClearSelection                  unsafe.Pointer
	Tk_ClipboardAppend                 unsafe.Pointer
	Tk_ClipboardClear                  unsafe.Pointer
	Tk_ConfigureInfo                   unsafe.Pointer
	Tk_ConfigureValue                  unsafe.Pointer
	Tk_ConfigureWidget                 unsafe.Pointer
	Tk_ConfigureWindow                 unsafe.Pointer
	Tk_ComputeTextLayout               unsafe.Pointer
	Tk_CoordsToWindow                  unsafe.Pointer
	Tk_CreateBinding                   unsafe.Pointer
	Tk_CreateBindingTable              unsafe.Pointer
	Tk_CreateErrorHandler              unsafe.Pointer
	Tk_CreateEventHandler              unsafe.Pointer
	Tk_CreateGenericHandler            unsafe.Pointer
	Tk_CreateImageType                 unsafe.Pointer
	Tk_CreateItemType                  unsafe.Pointer
	Tk_CreatePhotoImageFormat          unsafe.Pointer
	Tk_CreateSelHandler                unsafe.Pointer
	Tk_CreateWindow                    unsafe.Pointer
	Tk_CreateWindowFromPath            unsafe.Pointer
	Tk_DefineBitmap                    unsafe.Pointer
	Tk_DefineCursor                    unsafe.Pointer
	Tk_DeleteAllBindings               unsafe.Pointer
	Tk_DeleteBinding                   unsafe.Pointer
	Tk_DeleteBindingTable              unsafe.Pointer
	Tk_DeleteErrorHandler              unsafe.Pointer
	Tk_DeleteEventHandler              unsafe.Pointer
	Tk_DeleteGenericHandler            unsafe.Pointer
	Tk_DeleteImage                     unsafe.Pointer
	Tk_DeleteSelHandler                unsafe.Pointer
	Tk_DestroyWindow                   unsafe.Pointer
	Tk_DisplayName                     unsafe.Pointer
	Tk_DistanceToTextLayout            unsafe.Pointer
	Tk_Draw3DPolygon                   unsafe.Pointer
	Tk_Draw3DRectangle                 unsafe.Pointer
	Tk_DrawChars                       unsafe.Pointer
	Tk_DrawFocusHighlight              unsafe.Pointer
	Tk_DrawTextLayout                  unsafe.Pointer
	Tk_Fill3DPolygon                   unsafe.Pointer
	Tk_Fill3DRectangle                 unsafe.Pointer
	Tk_FindPhoto                       unsafe.Pointer
	Font                               unsafe.Pointer
	Tk_Free3DBorder                    unsafe.Pointer
	Tk_FreeBitmap                      unsafe.Pointer
	Tk_FreeColor                       unsafe.Pointer
	Tk_FreeColormap                    unsafe.Pointer
	Tk_FreeCursor                      unsafe.Pointer
	Tk_FreeFont                        unsafe.Pointer
	Tk_FreeGC                          unsafe.Pointer
	Tk_FreeImage                       unsafe.Pointer
	Tk_FreeOptions                     unsafe.Pointer
	Tk_FreePixmap                      unsafe.Pointer
	Tk_FreeTextLayout                  unsafe.Pointer
	Tk_FreeXId                         unsafe.Pointer
	Tk_GCForColor                      unsafe.Pointer
	Tk_GeometryRequest                 unsafe.Pointer
	Tk_Get3DBorder                     unsafe.Pointer
	Tk_GetAllBindings                  unsafe.Pointer
	Tk_GetAnchor                       unsafe.Pointer
	Tk_GetAtomName                     unsafe.Pointer
	Tk_GetBinding                      unsafe.Pointer
	Pixmap                             unsafe.Pointer
	Tk_GetCapStyle                     unsafe.Pointer
	Tk_GetColor                        unsafe.Pointer
	Tk_GetColorByValue                 unsafe.Pointer
	Colormap                           unsafe.Pointer
	Tk_GetCursor                       unsafe.Pointer
	Tk_GetCursorFromData               unsafe.Pointer
	Tk_GetFont                         unsafe.Pointer
	Tk_GetFontFromObj                  unsafe.Pointer
	Tk_GetFontMetrics                  unsafe.Pointer
	Tk_GetGC                           unsafe.Pointer
	Tk_GetImage                        unsafe.Pointer
	Tk_GetImageMasterData              unsafe.Pointer
	Tk_GetItemTypes                    unsafe.Pointer
	Tk_GetJoinStyle                    unsafe.Pointer
	Tk_GetJustify                      unsafe.Pointer
	Tk_GetNumMainWindows               unsafe.Pointer
	Tk_GetOption                       unsafe.Pointer
	Tk_GetPixels                       unsafe.Pointer
	Tk_GetRelief                       unsafe.Pointer
	Tk_GetRootCoords                   unsafe.Pointer
	Tk_GetScrollInfo                   unsafe.Pointer
	Tk_GetScreenMM                     unsafe.Pointer
	Tk_GetSelection                    unsafe.Pointer
	Tk_GetUid                          unsafe.Pointer
	Tk_GetVisual                       unsafe.Pointer
	Tk_GetVRootGeometry                unsafe.Pointer
	Tk_Grab                            unsafe.Pointer
	Tk_HandleEvent                     unsafe.Pointer
	Tk_IdToWindow                      unsafe.Pointer
	Tk_ImageChanged                    unsafe.Pointer
	Tk_Init                            unsafe.Pointer
	Atom                               unsafe.Pointer
	Tk_IntersectTextLayout             unsafe.Pointer
	Tk_MaintainGeometry                unsafe.Pointer
	Tk_MainWindow                      unsafe.Pointer
	Tk_MakeWindowExist                 unsafe.Pointer
	Tk_ManageGeometry                  unsafe.Pointer
	Tk_MapWindow                       unsafe.Pointer
	Tk_MeasureChars                    unsafe.Pointer
	Tk_MoveResizeWindow                unsafe.Pointer
	Tk_MoveWindow                      unsafe.Pointer
	Tk_MoveToplevelWindow              unsafe.Pointer
	Tk_NameOf3DBorder                  unsafe.Pointer
	Tk_NameOfAnchor                    unsafe.Pointer
	Tk_NameOfBitmap                    unsafe.Pointer
	Tk_NameOfCapStyle                  unsafe.Pointer
	Tk_NameOfColor                     unsafe.Pointer
	Tk_NameOfCursor                    unsafe.Pointer
	Tk_NameOfFont                      unsafe.Pointer
	Tk_NameOfImage                     unsafe.Pointer
	Tk_NameOfJoinStyle                 unsafe.Pointer
	Tk_NameOfJustify                   unsafe.Pointer
	Tk_NameOfRelief                    unsafe.Pointer
	Tk_NameToWindow                    unsafe.Pointer
	Tk_OwnSelection                    unsafe.Pointer
	Tk_ParseArgv                       unsafe.Pointer
	Tk_PhotoPutBlock_NoComposite       unsafe.Pointer
	Tk_PhotoPutZoomedBlock_NoComposite unsafe.Pointer
	Tk_PhotoGetImage                   unsafe.Pointer
	Tk_PhotoBlank                      unsafe.Pointer
	Tk_PhotoExpand_Panic               unsafe.Pointer
	Tk_PhotoGetSize                    unsafe.Pointer
	Tk_PhotoSetSize_Panic              unsafe.Pointer
	Tk_PointToChar                     unsafe.Pointer
	Tk_PostscriptFontName              unsafe.Pointer
	Tk_PreserveColormap                unsafe.Pointer
	Tk_QueueWindowEvent                unsafe.Pointer
	Tk_RedrawImage                     unsafe.Pointer
	Tk_ResizeWindow                    unsafe.Pointer
	Tk_RestackWindow                   unsafe.Pointer
	Tk_RestrictEvents                  unsafe.Pointer
	Tk_SafeInit                        unsafe.Pointer
	Tk_SetAppName                      unsafe.Pointer
	Tk_SetBackgroundFromBorder         unsafe.Pointer
	Tk_SetClass                        unsafe.Pointer
	Tk_SetGrid                         unsafe.Pointer
	Tk_SetInternalBorder               unsafe.Pointer
	Tk_SetWindowBackground             unsafe.Pointer
	Tk_SetWindowBackgroundPixmap       unsafe.Pointer
	Tk_SetWindowBorder                 unsafe.Pointer
	Tk_SetWindowBorderWidth            unsafe.Pointer
	Tk_SetWindowBorderPixmap           unsafe.Pointer
	Tk_SetWindowColormap               unsafe.Pointer
	Tk_SetWindowVisual                 unsafe.Pointer
	Tk_SizeOfBitmap                    unsafe.Pointer
	Tk_SizeOfImage                     unsafe.Pointer
	Tk_StrictMotif                     unsafe.Pointer
	Tk_TextLayoutToPostscript          unsafe.Pointer
	Tk_TextWidth                       unsafe.Pointer
	Tk_UndefineCursor                  unsafe.Pointer
	Tk_UnderlineChars                  unsafe.Pointer
	Tk_UnderlineTextLayout             unsafe.Pointer
	Tk_Ungrab                          unsafe.Pointer
	Tk_UnmaintainGeometry              unsafe.Pointer
	Tk_UnmapWindow                     unsafe.Pointer
	Tk_UnsetGrid                       unsafe.Pointer
	Tk_UpdatePointer                   unsafe.Pointer
	Tk_Alloc3DBorderFromObj            unsafe.Pointer
	Tk_AllocColorFromObj               unsafe.Pointer
	Tk_AllocCursorFromObj              unsafe.Pointer
	Tk_AllocFontFromObj                unsafe.Pointer
	Tk_CreateOptionTable               unsafe.Pointer
	Tk_DeleteOptionTable               unsafe.Pointer
	Tk_Free3DBorderFromObj             unsafe.Pointer
	Tk_FreeBitmapFromObj               unsafe.Pointer
	Tk_FreeColorFromObj                unsafe.Pointer
	Tk_FreeConfigOptions               unsafe.Pointer
	Tk_FreeSavedOptions                unsafe.Pointer
	Tk_FreeCursorFromObj               unsafe.Pointer
	Tk_FreeFontFromObj                 unsafe.Pointer
	Tk_Get3DBorderFromObj              unsafe.Pointer
	Tk_GetAnchorFromObj                unsafe.Pointer
	Tk_GetColorFromObj                 unsafe.Pointer
	Tk_GetCursorFromObj                unsafe.Pointer
	Tk_GetOptionInfo                   unsafe.Pointer
	Tk_GetOptionValue                  unsafe.Pointer
	Tk_GetJustifyFromObj               unsafe.Pointer
	Tk_GetMMFromObj                    unsafe.Pointer
	Tk_GetPixelsFromObj                unsafe.Pointer
	Tk_GetReliefFromObj                unsafe.Pointer
	Tk_GetScrollInfoObj                unsafe.Pointer
	Tk_InitOptions                     unsafe.Pointer
	Tk_MainEx                          unsafe.Pointer
	Tk_RestoreSavedOptions             unsafe.Pointer
	Tk_SetOptions                      unsafe.Pointer
	Tk_InitConsoleChannels             unsafe.Pointer
	Tk_CreateConsoleWindow             unsafe.Pointer
	Tk_CreateSmoothMethod              unsafe.Pointer
	Reserved218                        unsafe.Pointer
	Reserved219                        unsafe.Pointer
	Tk_GetDash                         unsafe.Pointer
	Tk_CreateOutline                   unsafe.Pointer
	Tk_DeleteOutline                   unsafe.Pointer
	Tk_ConfigOutlineGC                 unsafe.Pointer
	Tk_ChangeOutlineGC                 unsafe.Pointer
	Tk_ResetOutlineGC                  unsafe.Pointer
	Tk_CanvasPsOutline                 unsafe.Pointer
	Tk_SetTSOrigin                     unsafe.Pointer
	Tk_CanvasGetCoordFromObj           unsafe.Pointer
	Tk_CanvasSetOffset                 unsafe.Pointer
	Tk_DitherPhoto                     unsafe.Pointer
	Tk_PostscriptBitmap                unsafe.Pointer
	Tk_PostscriptColor                 unsafe.Pointer
	Tk_PostscriptFont                  unsafe.Pointer
	Tk_PostscriptImage                 unsafe.Pointer
	Tk_PostscriptPath                  unsafe.Pointer
	Tk_PostscriptStipple               unsafe.Pointer
	Tk_PostscriptY                     unsafe.Pointer
	Tk_PostscriptPhoto                 unsafe.Pointer
	Tk_CreateClientMessageHandler      unsafe.Pointer
	Tk_DeleteClientMessageHandler      unsafe.Pointer
	Tk_CreateAnonymousWindow           unsafe.Pointer
	Tk_SetClassProcs                   unsafe.Pointer
	Tk_SetInternalBorderEx             unsafe.Pointer
	Tk_SetMinimumRequestSize           unsafe.Pointer
	Tk_SetCaretPos                     unsafe.Pointer
	Tk_PhotoPutBlock_Panic             unsafe.Pointer
	Tk_PhotoPutZoomedBlock_Panic       unsafe.Pointer
	Tk_CollapseMotionEvents            unsafe.Pointer
	Tk_RegisterStyleEngine             unsafe.Pointer
	Tk_GetStyleEngine                  unsafe.Pointer
	Tk_RegisterStyledElement           unsafe.Pointer
	Tk_GetElementId                    unsafe.Pointer
	Tk_CreateStyle                     unsafe.Pointer
	Tk_GetStyle                        unsafe.Pointer
	Tk_FreeStyle                       unsafe.Pointer
	Tk_NameOfStyle                     unsafe.Pointer
	Tk_AllocStyleFromObj               unsafe.Pointer
	Tk_GetStyleFromObj                 unsafe.Pointer
	Tk_FreeStyleFromObj                unsafe.Pointer
	Tk_GetStyledElement                unsafe.Pointer
	Tk_GetElementSize                  unsafe.Pointer
	Tk_GetElementBox                   unsafe.Pointer
	Tk_GetElementBorderWidth           unsafe.Pointer
	Tk_DrawElement                     unsafe.Pointer
	Tk_PhotoExpand                     unsafe.Pointer
	Tk_PhotoPutBlock                   unsafe.Pointer
	Tk_PhotoPutZoomedBlock             unsafe.Pointer
	Tk_PhotoSetSize                    unsafe.Pointer
	Tk_GetUserInactiveTime             unsafe.Pointer
	Tk_ResetUserInactiveTime           unsafe.Pointer
	Tk_Interp                          unsafe.Pointer
	Tk_CreateOldImageType              unsafe.Pointer
	Tk_CreateOldPhotoImageFormat       unsafe.Pointer
}

func TkStubsPtr

func TkStubsPtr() *TkStubs

type Tk_Anchor

type Tk_Anchor int64
const (
	TK_ANCHOR_N      Tk_Anchor = 0
	TK_ANCHOR_NE     Tk_Anchor = 1
	TK_ANCHOR_E      Tk_Anchor = 2
	TK_ANCHOR_SE     Tk_Anchor = 3
	TK_ANCHOR_S      Tk_Anchor = 4
	TK_ANCHOR_SW     Tk_Anchor = 5
	TK_ANCHOR_W      Tk_Anchor = 6
	TK_ANCHOR_NW     Tk_Anchor = 7
	TK_ANCHOR_CENTER Tk_Anchor = 8
)

func (Tk_Anchor) String

func (e Tk_Anchor) String() string

type Tk_ConfigTypes

type Tk_ConfigTypes int64
const (
	TK_CONFIG_BOOLEAN       Tk_ConfigTypes = 0
	TK_CONFIG_INT           Tk_ConfigTypes = 1
	TK_CONFIG_DOUBLE        Tk_ConfigTypes = 2
	TK_CONFIG_STRING        Tk_ConfigTypes = 3
	TK_CONFIG_UID           Tk_ConfigTypes = 4
	TK_CONFIG_COLOR         Tk_ConfigTypes = 5
	TK_CONFIG_FONT          Tk_ConfigTypes = 6
	TK_CONFIG_BITMAP        Tk_ConfigTypes = 7
	TK_CONFIG_BORDER        Tk_ConfigTypes = 8
	TK_CONFIG_RELIEF        Tk_ConfigTypes = 9
	TK_CONFIG_CURSOR        Tk_ConfigTypes = 10
	TK_CONFIG_ACTIVE_CURSOR Tk_ConfigTypes = 11
	TK_CONFIG_JUSTIFY       Tk_ConfigTypes = 12
	TK_CONFIG_ANCHOR        Tk_ConfigTypes = 13
	TK_CONFIG_SYNONYM       Tk_ConfigTypes = 14
	TK_CONFIG_CAP_STYLE     Tk_ConfigTypes = 15
	TK_CONFIG_JOIN_STYLE    Tk_ConfigTypes = 16
	TK_CONFIG_PIXELS        Tk_ConfigTypes = 17
	TK_CONFIG_MM            Tk_ConfigTypes = 18
	TK_CONFIG_WINDOW        Tk_ConfigTypes = 19
	TK_CONFIG_CUSTOM        Tk_ConfigTypes = 20
	TK_CONFIG_END           Tk_ConfigTypes = 21
)

func (Tk_ConfigTypes) String

func (e Tk_ConfigTypes) String() string

type Tk_Justify

type Tk_Justify int64
const (
	TK_JUSTIFY_LEFT   Tk_Justify = 0
	TK_JUSTIFY_RIGHT  Tk_Justify = 1
	TK_JUSTIFY_CENTER Tk_Justify = 2
)

func (Tk_Justify) String

func (e Tk_Justify) String() string

type Tk_OptionType

type Tk_OptionType int64
const (
	TK_OPTION_BOOLEAN      Tk_OptionType = 0
	TK_OPTION_INT          Tk_OptionType = 1
	TK_OPTION_DOUBLE       Tk_OptionType = 2
	TK_OPTION_STRING       Tk_OptionType = 3
	TK_OPTION_STRING_TABLE Tk_OptionType = 4
	TK_OPTION_COLOR        Tk_OptionType = 5
	TK_OPTION_FONT         Tk_OptionType = 6
	TK_OPTION_BITMAP       Tk_OptionType = 7
	TK_OPTION_BORDER       Tk_OptionType = 8
	TK_OPTION_RELIEF       Tk_OptionType = 9
	TK_OPTION_CURSOR       Tk_OptionType = 10
	TK_OPTION_JUSTIFY      Tk_OptionType = 11
	TK_OPTION_ANCHOR       Tk_OptionType = 12
	TK_OPTION_SYNONYM      Tk_OptionType = 13
	TK_OPTION_PIXELS       Tk_OptionType = 14
	TK_OPTION_WINDOW       Tk_OptionType = 15
	TK_OPTION_END          Tk_OptionType = 16
	TK_OPTION_CUSTOM       Tk_OptionType = 17
	TK_OPTION_STYLE        Tk_OptionType = 18
)

func (Tk_OptionType) String

func (e Tk_OptionType) String() string

type Tk_RestrictAction

type Tk_RestrictAction int64
const (
	TK_DEFER_EVENT   Tk_RestrictAction = 0
	TK_PROCESS_EVENT Tk_RestrictAction = 1
	TK_DISCARD_EVENT Tk_RestrictAction = 2
)

func (Tk_RestrictAction) String

func (e Tk_RestrictAction) String() string

type Tk_State

type Tk_State int64
const (
	TK_STATE_NULL     Tk_State = -1
	TK_STATE_ACTIVE   Tk_State = 0
	TK_STATE_DISABLED Tk_State = 1
	TK_STATE_NORMAL   Tk_State = 2
	TK_STATE_HIDDEN   Tk_State = 3
)

func (Tk_State) String

func (e Tk_State) String() string

type XArc

type XArc struct {
	X      int16
	Y      int16
	Width  uint16
	Height uint16
	Angle1 int16
	Angle2 int16
}

type XChar2b

type XChar2b struct {
	Byte1 uint8
	Byte2 uint8
}

type XCharStruct

type XCharStruct struct {
	Lbearing   int16
	Rbearing   int16
	Width      int16
	Ascent     int16
	Descent    int16
	Attributes uint16
}

type XColor

type XColor struct {
	Pixel uint
	Red   uint16
	Green uint16
	Blue  uint16
	Flags int8
	Pad   int8
}

func Tk_3DBorderColor

func Tk_3DBorderColor(border unsafe.Pointer) *XColor

func Tk_AllocColorFromObj

func Tk_AllocColorFromObj(interp *tcl.Tcl_Interp, tkwin unsafe.Pointer, objPtr *tcl.Tcl_Obj) *XColor

func Tk_GetColor

func Tk_GetColor(interp *tcl.Tcl_Interp, tkwin unsafe.Pointer, name string) *XColor

func Tk_GetColorByValue

func Tk_GetColorByValue(tkwin unsafe.Pointer, colorPtr *XColor) *XColor

func Tk_GetColorFromObj

func Tk_GetColorFromObj(tkwin unsafe.Pointer, objPtr *tcl.Tcl_Obj) *XColor

type XDisplay

type XDisplay struct {
	Ext_data              *XExtData
	Free_funcs            unsafe.Pointer
	Fd                    int
	Conn_checker          int
	Proto_major_version   int
	Proto_minor_version   int
	Vendor                string
	Resource_base         int
	Resource_mask         int
	Resource_id           int
	Resource_shift        int
	XID                   unsafe.Pointer
	Byte_order            int
	Bitmap_unit           int
	Bitmap_pad            int
	Bitmap_bit_order      int
	Nformats              int
	Pixmap_format         *ScreenFormat
	Vnumber               int
	Release               int
	Head                  unsafe.Pointer
	Tail                  unsafe.Pointer
	Qlen                  int
	Request               uint
	Last_req              string
	Buffer                string
	Bufptr                string
	Bufmax                string
	Max_request_size      uint
	Db                    unsafe.Pointer
	Synchandler           unsafe.Pointer
	Display_name          string
	Default_screen        int
	Nscreens              int
	Screens               unsafe.Pointer
	Motion_buffer         uint
	Flags                 uint
	Min_keycode           int
	Max_keycode           int
	Keysyms               *int32
	Modifiermap           unsafe.Pointer
	Keysyms_per_keycode   int
	Xdefaults             string
	Scratch_buffer        string
	Scratch_length        uint
	Ext_number            int
	Ext_procs             unsafe.Pointer
	Event_vec             unsafe.Pointer
	Wire_vec              unsafe.Pointer
	Lock_meaning          int
	Lock                  unsafe.Pointer
	Async_handlers        unsafe.Pointer
	Bigreq_size           uint
	Lock_fns              unsafe.Pointer
	Key_bindings          unsafe.Pointer
	Cursor_font           int
	Atoms                 unsafe.Pointer
	Mode_switch           uint
	Context_db            unsafe.Pointer
	Error_vec             unsafe.Pointer
	Cms                   unsafe.Pointer
	Im_filters            unsafe.Pointer
	Qfree                 unsafe.Pointer
	Next_event_serial_num uint
	Savedsynchandler      unsafe.Pointer
}

C struct: _XDisplay

type XExtCodes

type XExtCodes struct {
	Extension    int
	Major_opcode int
	First_event  int
	First_error  int
}

type XExtData

type XExtData struct {
	Number       int
	Next         *XExtData
	Free_private unsafe.Pointer
	Private_data string
}

C struct: _XExtData

type XFontSet

type XFontSet struct{}

C struct: _XFontSet XFontSet is an opaque type.

type XFontSetExtents

type XFontSetExtents struct {
	Max_ink_extent     XRectangle
	Max_logical_extent XRectangle
}

type XHostAddress

type XHostAddress struct {
	Family  int
	Length  int
	Address string
}

type XIC

type XIC struct{}

C struct: _XIC XIC is an opaque type.

type XIM

type XIM struct{}

C struct: _XIM XIM is an opaque type.

type XIMCallback

type XIMCallback struct {
	Client_data string
	Callback    unsafe.Pointer
}

type XIMCaretDirection

type XIMCaretDirection int64
const (
	XIMForwardChar      XIMCaretDirection = 0
	XIMBackwardChar     XIMCaretDirection = 1
	XIMForwardWord      XIMCaretDirection = 2
	XIMBackwardWord     XIMCaretDirection = 3
	XIMCaretUp          XIMCaretDirection = 4
	XIMCaretDown        XIMCaretDirection = 5
	XIMNextLine         XIMCaretDirection = 6
	XIMPreviousLine     XIMCaretDirection = 7
	XIMLineStart        XIMCaretDirection = 8
	XIMLineEnd          XIMCaretDirection = 9
	XIMAbsolutePosition XIMCaretDirection = 10
	XIMDontChange       XIMCaretDirection = 11
)

func (XIMCaretDirection) String

func (e XIMCaretDirection) String() string

type XIMCaretStyle

type XIMCaretStyle int64
const (
	XIMIsInvisible XIMCaretStyle = 0
	XIMIsPrimary   XIMCaretStyle = 1
	XIMIsSecondary XIMCaretStyle = 2
)

func (XIMCaretStyle) String

func (e XIMCaretStyle) String() string

type XIMPreeditCaretCallbackStruct

type XIMPreeditCaretCallbackStruct struct {
	Position  int
	Direction XIMCaretDirection
	Style     XIMCaretStyle
}

C struct: _XIMPreeditCaretCallbackStruct

type XIMPreeditDrawCallbackStruct

type XIMPreeditDrawCallbackStruct struct {
	Caret      int
	Chg_first  int
	Chg_length int
	Text       *XIMText
}

C struct: _XIMPreeditDrawCallbackStruct

type XIMStatusDataType

type XIMStatusDataType int64
const (
	XIMTextType   XIMStatusDataType = 0
	XIMBitmapType XIMStatusDataType = 1
)

func (XIMStatusDataType) String

func (e XIMStatusDataType) String() string

type XIMStatusDrawCallbackStruct

type XIMStatusDrawCallbackStruct struct {
	Type XIMStatusDataType
	Data unsafe.Pointer
}

C struct: _XIMStatusDrawCallbackStruct

type XIMStyles

type XIMStyles struct {
	Count_styles     uint16
	Supported_styles *uint
}

type XIMText

type XIMText struct {
	Length            uint16
	Feedback          *uint
	Encoding_is_wchar int
	String            unsafe.Pointer
}

C struct: _XIMText

type XImage

type XImage struct {
	Width            int
	Height           int
	Xoffset          int
	Format           int
	Data             string
	Byte_order       int
	Bitmap_unit      int
	Bitmap_bit_order int
	Bitmap_pad       int
	Depth            int
	Bytes_per_line   int
	Bits_per_pixel   int
	Red_mask         uint
	Green_mask       uint
	Blue_mask        uint
	Obdata           string
	F                unsafe.Pointer
}

C struct: _XImage

type XKeyboardControl

type XKeyboardControl struct {
	Key_click_percent int
	Bell_percent      int
	Bell_pitch        int
	Bell_duration     int
	Led               int
	Led_mode          int
	Key               int
	Auto_repeat_mode  int
}

type XKeyboardState

type XKeyboardState struct {
	Key_click_percent  int
	Bell_percent       int
	Bell_pitch         uint
	Bell_duration      uint
	Led_mask           uint
	Global_auto_repeat int
	Auto_repeats       [32]int8
}

type XPixmapFormatValues

type XPixmapFormatValues struct {
	Depth          int
	Bits_per_pixel int
	Scanline_pad   int
}

type XPoint

type XPoint struct {
	X int16
	Y int16
}

type XRectangle

type XRectangle struct {
	X      int16
	Y      int16
	Width  uint16
	Height uint16
}

type XSegment

type XSegment struct {
	X1 int16
	Y1 int16
	X2 int16
	Y2 int16
}

type XmbTextItem

type XmbTextItem struct {
	Chars    string
	Nchars   int
	Delta    int
	Font_set unsafe.Pointer
}

type XwcTextItem

type XwcTextItem struct {
	Chars    *int
	Nchars   int
	Delta    int
	Font_set unsafe.Pointer
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL