tk

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Rendered for darwin/amd64

Overview

Package tk provides a fluent Go API over the macOS Tk framework.

Construction

New… functions create objects; each With… method sets one property and returns its receiver, so configuration calls chain. A <Type>FromID constructor adopts an Objective-C object obtained elsewhere.

Lifecycle

A wrapper releases its Objective-C object automatically once the garbage collector finds it unreachable. Call Release to relinquish the reference deterministically (for objects holding scarce resources); Release is idempotent, and afterwards the wrapper's methods are no-ops returning zero values.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TkStubsPtr

func TkStubsPtr() uintptr

TkStubsPtr returns the address of the symbol tkStubsPtr.

func Tk_3DBorderGC

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

Tk_3DBorderGC calls the Tk framework function Tk_3DBorderGC.

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)

Tk_3DHorizontalBevel calls the Tk framework function Tk_3DHorizontalBevel.

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)

Tk_3DVerticalBevel calls the Tk framework function Tk_3DVerticalBevel.

func Tk_AddOption

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

Tk_AddOption calls the Tk framework function Tk_AddOption.

func Tk_Alloc3DBorderFromObj

func Tk_Alloc3DBorderFromObj(interp unsafe.Pointer, tkwin unsafe.Pointer, objPtr unsafe.Pointer) unsafe.Pointer

Tk_Alloc3DBorderFromObj calls the Tk framework function Tk_Alloc3DBorderFromObj.

func Tk_AllocBitmapFromObj

func Tk_AllocBitmapFromObj(interp unsafe.Pointer, tkwin unsafe.Pointer, objPtr unsafe.Pointer) int

Tk_AllocBitmapFromObj calls the Tk framework function Tk_AllocBitmapFromObj.

func Tk_AllocCursorFromObj

func Tk_AllocCursorFromObj(interp unsafe.Pointer, tkwin unsafe.Pointer, objPtr unsafe.Pointer) unsafe.Pointer

Tk_AllocCursorFromObj calls the Tk framework function Tk_AllocCursorFromObj.

func Tk_AllocFontFromObj

func Tk_AllocFontFromObj(interp unsafe.Pointer, tkwin unsafe.Pointer, objPtr unsafe.Pointer) unsafe.Pointer

Tk_AllocFontFromObj calls the Tk framework function Tk_AllocFontFromObj.

func Tk_AllocStyleFromObj

func Tk_AllocStyleFromObj(interp unsafe.Pointer, objPtr unsafe.Pointer) unsafe.Pointer

Tk_AllocStyleFromObj calls the Tk framework function Tk_AllocStyleFromObj.

func Tk_BindEvent

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

Tk_BindEvent calls the Tk framework function Tk_BindEvent.

func Tk_CanvasDrawableCoords

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

Tk_CanvasDrawableCoords calls the Tk framework function Tk_CanvasDrawableCoords.

func Tk_CanvasEventuallyRedraw

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

Tk_CanvasEventuallyRedraw calls the Tk framework function Tk_CanvasEventuallyRedraw.

func Tk_CanvasGetCoord

func Tk_CanvasGetCoord(interp unsafe.Pointer, canvas unsafe.Pointer, str string) (result int, doublePtr float64)

Tk_CanvasGetCoord calls the Tk framework function Tk_CanvasGetCoord.

func Tk_CanvasGetCoordFromObj

func Tk_CanvasGetCoordFromObj(interp unsafe.Pointer, canvas unsafe.Pointer, object unsafe.Pointer) (result int, doublePtr float64)

Tk_CanvasGetCoordFromObj calls the Tk framework function Tk_CanvasGetCoordFromObj.

func Tk_CanvasGetTextInfo

func Tk_CanvasGetTextInfo(canvas unsafe.Pointer) unsafe.Pointer

Tk_CanvasGetTextInfo calls the Tk framework function Tk_CanvasGetTextInfo.

func Tk_CanvasPsBitmap

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

Tk_CanvasPsBitmap calls the Tk framework function Tk_CanvasPsBitmap.

func Tk_CanvasPsFont

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

Tk_CanvasPsFont calls the Tk framework function Tk_CanvasPsFont.

func Tk_CanvasPsOutline

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

Tk_CanvasPsOutline calls the Tk framework function Tk_CanvasPsOutline.

func Tk_CanvasPsPath

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

Tk_CanvasPsPath calls the Tk framework function Tk_CanvasPsPath.

func Tk_CanvasPsStipple

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

Tk_CanvasPsStipple calls the Tk framework function Tk_CanvasPsStipple.

func Tk_CanvasPsY

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

Tk_CanvasPsY calls the Tk framework function Tk_CanvasPsY.

func Tk_CanvasSetStippleOrigin

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

Tk_CanvasSetStippleOrigin calls the Tk framework function Tk_CanvasSetStippleOrigin.

func Tk_CanvasTagsParseProc

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

Tk_CanvasTagsParseProc calls the Tk framework function Tk_CanvasTagsParseProc.

func Tk_CanvasTagsPrintProc

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

Tk_CanvasTagsPrintProc calls the Tk framework function Tk_CanvasTagsPrintProc.

func Tk_CanvasTkwin

func Tk_CanvasTkwin(canvas unsafe.Pointer) unsafe.Pointer

Tk_CanvasTkwin calls the Tk framework function Tk_CanvasTkwin.

func Tk_CanvasWindowCoords

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

Tk_CanvasWindowCoords calls the Tk framework function Tk_CanvasWindowCoords.

func Tk_ChangeOutlineGC

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

Tk_ChangeOutlineGC calls the Tk framework function Tk_ChangeOutlineGC.

func Tk_ChangeWindowAttributes

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

Tk_ChangeWindowAttributes calls the Tk framework function Tk_ChangeWindowAttributes.

func Tk_CharBbox

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

Tk_CharBbox calls the Tk framework function Tk_CharBbox.

func Tk_ClearSelection

func Tk_ClearSelection(tkwin unsafe.Pointer, selection int)

Tk_ClearSelection calls the Tk framework function Tk_ClearSelection.

func Tk_ClipboardAppend

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

Tk_ClipboardAppend calls the Tk framework function Tk_ClipboardAppend.

func Tk_ClipboardClear

func Tk_ClipboardClear(interp unsafe.Pointer, tkwin unsafe.Pointer) int

Tk_ClipboardClear calls the Tk framework function Tk_ClipboardClear.

func Tk_CollapseMotionEvents

func Tk_CollapseMotionEvents(display unsafe.Pointer, collapse int) int

Tk_CollapseMotionEvents calls the Tk framework function Tk_CollapseMotionEvents.

func Tk_ComputeTextLayout

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

Tk_ComputeTextLayout calls the Tk framework function Tk_ComputeTextLayout.

func Tk_ConfigOutlineGC

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

Tk_ConfigOutlineGC calls the Tk framework function Tk_ConfigOutlineGC.

func Tk_ConfigureInfo

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

Tk_ConfigureInfo calls the Tk framework function Tk_ConfigureInfo.

func Tk_ConfigureValue

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

Tk_ConfigureValue calls the Tk framework function Tk_ConfigureValue.

func Tk_ConfigureWidget

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

Tk_ConfigureWidget calls the Tk framework function Tk_ConfigureWidget.

func Tk_ConfigureWindow

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

Tk_ConfigureWindow calls the Tk framework function Tk_ConfigureWindow.

func Tk_CoordsToWindow

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

Tk_CoordsToWindow calls the Tk framework function Tk_CoordsToWindow.

func Tk_CreateAnonymousWindow

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

Tk_CreateAnonymousWindow calls the Tk framework function Tk_CreateAnonymousWindow.

func Tk_CreateBinding

func Tk_CreateBinding(interp unsafe.Pointer, object unsafe.Pointer, eventStr string, command string, append_ int) (result int, bindingTable int32)

Tk_CreateBinding calls the Tk framework function Tk_CreateBinding.

func Tk_CreateBindingTable

func Tk_CreateBindingTable(interp unsafe.Pointer) unsafe.Pointer

Tk_CreateBindingTable calls the Tk framework function Tk_CreateBindingTable.

func Tk_CreateClientMessageHandler

func Tk_CreateClientMessageHandler(proc unsafe.Pointer)

Tk_CreateClientMessageHandler calls the Tk framework function Tk_CreateClientMessageHandler.

func Tk_CreateConsoleWindow

func Tk_CreateConsoleWindow(interp unsafe.Pointer) int

Tk_CreateConsoleWindow calls the Tk framework function Tk_CreateConsoleWindow.

func Tk_CreateErrorHandler

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

Tk_CreateErrorHandler calls the Tk framework function Tk_CreateErrorHandler.

func Tk_CreateEventHandler

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

Tk_CreateEventHandler calls the Tk framework function Tk_CreateEventHandler.

func Tk_CreateGenericHandler

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

Tk_CreateGenericHandler calls the Tk framework function Tk_CreateGenericHandler.

func Tk_CreateImageType

func Tk_CreateImageType(typePtr unsafe.Pointer)

Tk_CreateImageType calls the Tk framework function Tk_CreateImageType.

func Tk_CreateItemType

func Tk_CreateItemType(typePtr unsafe.Pointer)

Tk_CreateItemType calls the Tk framework function Tk_CreateItemType.

func Tk_CreateOldImageType

func Tk_CreateOldImageType(typePtr unsafe.Pointer)

Tk_CreateOldImageType calls the Tk framework function Tk_CreateOldImageType.

func Tk_CreateOldPhotoImageFormat

func Tk_CreateOldPhotoImageFormat(formatPtr unsafe.Pointer)

Tk_CreateOldPhotoImageFormat calls the Tk framework function Tk_CreateOldPhotoImageFormat.

func Tk_CreateOptionTable

func Tk_CreateOptionTable(interp unsafe.Pointer, templatePtr unsafe.Pointer) unsafe.Pointer

Tk_CreateOptionTable calls the Tk framework function Tk_CreateOptionTable.

func Tk_CreateOutline

func Tk_CreateOutline(outline unsafe.Pointer)

Tk_CreateOutline calls the Tk framework function Tk_CreateOutline.

func Tk_CreatePhotoImageFormat

func Tk_CreatePhotoImageFormat(formatPtr unsafe.Pointer)

Tk_CreatePhotoImageFormat calls the Tk framework function Tk_CreatePhotoImageFormat.

func Tk_CreateSelHandler

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

Tk_CreateSelHandler calls the Tk framework function Tk_CreateSelHandler.

func Tk_CreateSmoothMethod

func Tk_CreateSmoothMethod(interp unsafe.Pointer, method unsafe.Pointer)

Tk_CreateSmoothMethod calls the Tk framework function Tk_CreateSmoothMethod.

func Tk_CreateStyle

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

Tk_CreateStyle calls the Tk framework function Tk_CreateStyle.

func Tk_CreateWindow

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

Tk_CreateWindow calls the Tk framework function Tk_CreateWindow.

func Tk_CreateWindowFromPath

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

Tk_CreateWindowFromPath calls the Tk framework function Tk_CreateWindowFromPath.

func Tk_DefineBitmap

func Tk_DefineBitmap(interp unsafe.Pointer, name string, source string, width int, height int) int

Tk_DefineBitmap calls the Tk framework function Tk_DefineBitmap.

func Tk_DefineCursor

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

Tk_DefineCursor calls the Tk framework function Tk_DefineCursor.

func Tk_DeleteAllBindings

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

Tk_DeleteAllBindings calls the Tk framework function Tk_DeleteAllBindings.

func Tk_DeleteBinding

func Tk_DeleteBinding(interp unsafe.Pointer, object unsafe.Pointer, eventStr string) (result int, bindingTable int32)

Tk_DeleteBinding calls the Tk framework function Tk_DeleteBinding.

func Tk_DeleteBindingTable

func Tk_DeleteBindingTable() (bindingTable int32)

Tk_DeleteBindingTable calls the Tk framework function Tk_DeleteBindingTable.

func Tk_DeleteClientMessageHandler

func Tk_DeleteClientMessageHandler(proc unsafe.Pointer)

Tk_DeleteClientMessageHandler calls the Tk framework function Tk_DeleteClientMessageHandler.

func Tk_DeleteErrorHandler

func Tk_DeleteErrorHandler(handler unsafe.Pointer)

Tk_DeleteErrorHandler calls the Tk framework function Tk_DeleteErrorHandler.

func Tk_DeleteEventHandler

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

Tk_DeleteEventHandler calls the Tk framework function Tk_DeleteEventHandler.

func Tk_DeleteGenericHandler

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

Tk_DeleteGenericHandler calls the Tk framework function Tk_DeleteGenericHandler.

func Tk_DeleteImage

func Tk_DeleteImage(interp unsafe.Pointer, name string)

Tk_DeleteImage calls the Tk framework function Tk_DeleteImage.

func Tk_DeleteOptionTable

func Tk_DeleteOptionTable(optionTable unsafe.Pointer)

Tk_DeleteOptionTable calls the Tk framework function Tk_DeleteOptionTable.

func Tk_DeleteOutline

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

Tk_DeleteOutline calls the Tk framework function Tk_DeleteOutline.

func Tk_DeleteSelHandler

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

Tk_DeleteSelHandler calls the Tk framework function Tk_DeleteSelHandler.

func Tk_DestroyWindow

func Tk_DestroyWindow(tkwin unsafe.Pointer)

Tk_DestroyWindow calls the Tk framework function Tk_DestroyWindow.

func Tk_DisplayName

func Tk_DisplayName(tkwin unsafe.Pointer) string

Tk_DisplayName calls the Tk framework function Tk_DisplayName.

func Tk_DistanceToTextLayout

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

Tk_DistanceToTextLayout calls the Tk framework function Tk_DistanceToTextLayout.

func Tk_DitherPhoto

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

Tk_DitherPhoto calls the Tk framework function Tk_DitherPhoto.

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)

Tk_Draw3DRectangle calls the Tk framework function Tk_Draw3DRectangle.

func Tk_DrawChars

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

Tk_DrawChars calls the Tk framework function Tk_DrawChars.

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)

Tk_DrawElement calls the Tk framework function Tk_DrawElement.

func Tk_DrawFocusHighlight

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

Tk_DrawFocusHighlight calls the Tk framework function Tk_DrawFocusHighlight.

func Tk_DrawTextLayout

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

Tk_DrawTextLayout calls the Tk framework function Tk_DrawTextLayout.

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)

Tk_Fill3DRectangle calls the Tk framework function Tk_Fill3DRectangle.

func Tk_FindPhoto

func Tk_FindPhoto(interp unsafe.Pointer, imageName string) unsafe.Pointer

Tk_FindPhoto calls the Tk framework function Tk_FindPhoto.

func Tk_FontId

func Tk_FontId(font unsafe.Pointer) int

Tk_FontId calls the Tk framework function Tk_FontId.

func Tk_Free3DBorder

func Tk_Free3DBorder(border unsafe.Pointer)

Tk_Free3DBorder calls the Tk framework function Tk_Free3DBorder.

func Tk_Free3DBorderFromObj

func Tk_Free3DBorderFromObj(tkwin unsafe.Pointer, objPtr unsafe.Pointer)

Tk_Free3DBorderFromObj calls the Tk framework function Tk_Free3DBorderFromObj.

func Tk_FreeBitmap

func Tk_FreeBitmap(display unsafe.Pointer, bitmap int)

Tk_FreeBitmap calls the Tk framework function Tk_FreeBitmap.

func Tk_FreeBitmapFromObj

func Tk_FreeBitmapFromObj(tkwin unsafe.Pointer, objPtr unsafe.Pointer)

Tk_FreeBitmapFromObj calls the Tk framework function Tk_FreeBitmapFromObj.

func Tk_FreeColorFromObj

func Tk_FreeColorFromObj(tkwin unsafe.Pointer, objPtr unsafe.Pointer)

Tk_FreeColorFromObj calls the Tk framework function Tk_FreeColorFromObj.

func Tk_FreeColormap

func Tk_FreeColormap(display unsafe.Pointer, colormap int)

Tk_FreeColormap calls the Tk framework function Tk_FreeColormap.

func Tk_FreeConfigOptions

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

Tk_FreeConfigOptions calls the Tk framework function Tk_FreeConfigOptions.

func Tk_FreeCursor

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

Tk_FreeCursor calls the Tk framework function Tk_FreeCursor.

func Tk_FreeCursorFromObj

func Tk_FreeCursorFromObj(tkwin unsafe.Pointer, objPtr unsafe.Pointer)

Tk_FreeCursorFromObj calls the Tk framework function Tk_FreeCursorFromObj.

func Tk_FreeFont

func Tk_FreeFont(f unsafe.Pointer)

Tk_FreeFont calls the Tk framework function Tk_FreeFont.

func Tk_FreeFontFromObj

func Tk_FreeFontFromObj(tkwin unsafe.Pointer, objPtr unsafe.Pointer)

Tk_FreeFontFromObj calls the Tk framework function Tk_FreeFontFromObj.

func Tk_FreeGC

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

Tk_FreeGC calls the Tk framework function Tk_FreeGC.

func Tk_FreeImage

func Tk_FreeImage(image unsafe.Pointer)

Tk_FreeImage calls the Tk framework function Tk_FreeImage.

func Tk_FreeOptions

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

Tk_FreeOptions calls the Tk framework function Tk_FreeOptions.

func Tk_FreePixmap

func Tk_FreePixmap(display unsafe.Pointer, pixmap int)

Tk_FreePixmap calls the Tk framework function Tk_FreePixmap.

func Tk_FreeSavedOptions

func Tk_FreeSavedOptions(savePtr unsafe.Pointer)

Tk_FreeSavedOptions calls the Tk framework function Tk_FreeSavedOptions.

func Tk_FreeStyle

func Tk_FreeStyle(style unsafe.Pointer)

Tk_FreeStyle calls the Tk framework function Tk_FreeStyle.

func Tk_FreeStyleFromObj

func Tk_FreeStyleFromObj(objPtr unsafe.Pointer)

Tk_FreeStyleFromObj calls the Tk framework function Tk_FreeStyleFromObj.

func Tk_FreeTextLayout

func Tk_FreeTextLayout(textLayout unsafe.Pointer)

Tk_FreeTextLayout calls the Tk framework function Tk_FreeTextLayout.

func Tk_FreeXId

func Tk_FreeXId(display unsafe.Pointer, xid int)

Tk_FreeXId calls the Tk framework function Tk_FreeXId.

func Tk_GeometryRequest

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

Tk_GeometryRequest calls the Tk framework function Tk_GeometryRequest.

func Tk_Get3DBorder

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

Tk_Get3DBorder calls the Tk framework function Tk_Get3DBorder.

func Tk_Get3DBorderFromObj

func Tk_Get3DBorderFromObj(tkwin unsafe.Pointer, objPtr unsafe.Pointer) unsafe.Pointer

Tk_Get3DBorderFromObj calls the Tk framework function Tk_Get3DBorderFromObj.

func Tk_GetAllBindings

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

Tk_GetAllBindings calls the Tk framework function Tk_GetAllBindings.

func Tk_GetAtomName

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

Tk_GetAtomName calls the Tk framework function Tk_GetAtomName.

func Tk_GetBinding

func Tk_GetBinding(interp unsafe.Pointer, object unsafe.Pointer, eventStr string) (result string, bindingTable int32)

Tk_GetBinding calls the Tk framework function Tk_GetBinding.

func Tk_GetBitmap

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

Tk_GetBitmap calls the Tk framework function Tk_GetBitmap.

func Tk_GetBitmapFromData

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

Tk_GetBitmapFromData calls the Tk framework function Tk_GetBitmapFromData.

func Tk_GetBitmapFromObj

func Tk_GetBitmapFromObj(tkwin unsafe.Pointer, objPtr unsafe.Pointer) int

Tk_GetBitmapFromObj calls the Tk framework function Tk_GetBitmapFromObj.

func Tk_GetCapStyle

func Tk_GetCapStyle(interp unsafe.Pointer, str string) (result int, capPtr int32)

Tk_GetCapStyle calls the Tk framework function Tk_GetCapStyle.

func Tk_GetColorByValue

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

Tk_GetColorByValue calls the Tk framework function Tk_GetColorByValue.

func Tk_GetColormap

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

Tk_GetColormap calls the Tk framework function Tk_GetColormap.

func Tk_GetCursor

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

Tk_GetCursor calls the Tk framework function Tk_GetCursor.

func Tk_GetCursorFromData

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

Tk_GetCursorFromData calls the Tk framework function Tk_GetCursorFromData.

func Tk_GetCursorFromObj

func Tk_GetCursorFromObj(tkwin unsafe.Pointer, objPtr unsafe.Pointer) unsafe.Pointer

Tk_GetCursorFromObj calls the Tk framework function Tk_GetCursorFromObj.

func Tk_GetDash

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

Tk_GetDash calls the Tk framework function Tk_GetDash.

func Tk_GetElementBorderWidth

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

Tk_GetElementBorderWidth calls the Tk framework function Tk_GetElementBorderWidth.

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)

Tk_GetElementBox calls the Tk framework function Tk_GetElementBox.

func Tk_GetElementId

func Tk_GetElementId(name string) int

Tk_GetElementId calls the Tk framework function Tk_GetElementId.

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)

Tk_GetElementSize calls the Tk framework function Tk_GetElementSize.

func Tk_GetFont

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

Tk_GetFont calls the Tk framework function Tk_GetFont.

func Tk_GetFontFromObj

func Tk_GetFontFromObj(tkwin unsafe.Pointer, objPtr unsafe.Pointer) unsafe.Pointer

Tk_GetFontFromObj calls the Tk framework function Tk_GetFontFromObj.

func Tk_GetGC

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

Tk_GetGC calls the Tk framework function Tk_GetGC.

func Tk_GetImage

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

Tk_GetImage calls the Tk framework function Tk_GetImage.

func Tk_GetImageMasterData

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

Tk_GetImageMasterData calls the Tk framework function Tk_GetImageMasterData.

func Tk_GetItemTypes

func Tk_GetItemTypes() unsafe.Pointer

Tk_GetItemTypes calls the Tk framework function Tk_GetItemTypes.

func Tk_GetJoinStyle

func Tk_GetJoinStyle(interp unsafe.Pointer, str string) (result int, joinPtr int32)

Tk_GetJoinStyle calls the Tk framework function Tk_GetJoinStyle.

func Tk_GetMMFromObj

func Tk_GetMMFromObj(interp unsafe.Pointer, tkwin unsafe.Pointer, objPtr unsafe.Pointer) (result int, doublePtr float64)

Tk_GetMMFromObj calls the Tk framework function Tk_GetMMFromObj.

func Tk_GetNumMainWindows

func Tk_GetNumMainWindows() int

Tk_GetNumMainWindows calls the Tk framework function Tk_GetNumMainWindows.

func Tk_GetOption

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

Tk_GetOption calls the Tk framework function Tk_GetOption.

func Tk_GetOptionInfo

func Tk_GetOptionInfo(interp unsafe.Pointer, recordPtr string, optionTable unsafe.Pointer, namePtr unsafe.Pointer, tkwin unsafe.Pointer) unsafe.Pointer

Tk_GetOptionInfo calls the Tk framework function Tk_GetOptionInfo.

func Tk_GetOptionValue

func Tk_GetOptionValue(interp unsafe.Pointer, recordPtr string, optionTable unsafe.Pointer, namePtr unsafe.Pointer, tkwin unsafe.Pointer) unsafe.Pointer

Tk_GetOptionValue calls the Tk framework function Tk_GetOptionValue.

func Tk_GetPixels

func Tk_GetPixels(interp unsafe.Pointer, tkwin unsafe.Pointer, str string) (result int, intPtr int32)

Tk_GetPixels calls the Tk framework function Tk_GetPixels.

func Tk_GetPixelsFromObj

func Tk_GetPixelsFromObj(interp unsafe.Pointer, tkwin unsafe.Pointer, objPtr unsafe.Pointer) (result int, intPtr int32)

Tk_GetPixelsFromObj calls the Tk framework function Tk_GetPixelsFromObj.

func Tk_GetPixmap

func Tk_GetPixmap(display unsafe.Pointer, d int, width int, height int, depth int) int

Tk_GetPixmap calls the Tk framework function Tk_GetPixmap.

func Tk_GetRelief

func Tk_GetRelief(interp unsafe.Pointer, name string) (result int, reliefPtr int32)

Tk_GetRelief calls the Tk framework function Tk_GetRelief.

func Tk_GetReliefFromObj

func Tk_GetReliefFromObj(interp unsafe.Pointer, objPtr unsafe.Pointer) (result int, resultPtr int32)

Tk_GetReliefFromObj calls the Tk framework function Tk_GetReliefFromObj.

func Tk_GetRootCoords

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

Tk_GetRootCoords calls the Tk framework function Tk_GetRootCoords.

func Tk_GetScreenMM

func Tk_GetScreenMM(interp unsafe.Pointer, tkwin unsafe.Pointer, str string) (result int, doublePtr float64)

Tk_GetScreenMM calls the Tk framework function Tk_GetScreenMM.

func Tk_GetScrollInfo

func Tk_GetScrollInfo(interp unsafe.Pointer, argc int, argv string) (result int, dblPtr float64, intPtr int32)

Tk_GetScrollInfo calls the Tk framework function Tk_GetScrollInfo.

func Tk_GetScrollInfoObj

func Tk_GetScrollInfoObj(interp unsafe.Pointer, objc_ int, objv unsafe.Pointer) (result int, dblPtr float64, intPtr int32)

Tk_GetScrollInfoObj calls the Tk framework function Tk_GetScrollInfoObj.

func Tk_GetSelection

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

Tk_GetSelection calls the Tk framework function Tk_GetSelection.

func Tk_GetStyle

func Tk_GetStyle(interp unsafe.Pointer, name string) unsafe.Pointer

Tk_GetStyle calls the Tk framework function Tk_GetStyle.

func Tk_GetStyleEngine

func Tk_GetStyleEngine(name string) unsafe.Pointer

Tk_GetStyleEngine calls the Tk framework function Tk_GetStyleEngine.

func Tk_GetStyleFromObj

func Tk_GetStyleFromObj(objPtr unsafe.Pointer) unsafe.Pointer

Tk_GetStyleFromObj calls the Tk framework function Tk_GetStyleFromObj.

func Tk_GetStyledElement

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

Tk_GetStyledElement calls the Tk framework function Tk_GetStyledElement.

func Tk_GetUid

func Tk_GetUid(str string) string

Tk_GetUid calls the Tk framework function Tk_GetUid.

func Tk_GetUserInactiveTime

func Tk_GetUserInactiveTime(dpy unsafe.Pointer) int

Tk_GetUserInactiveTime calls the Tk framework function Tk_GetUserInactiveTime.

func Tk_GetVRootGeometry

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

Tk_GetVRootGeometry calls the Tk framework function Tk_GetVRootGeometry.

func Tk_GetVisual

func Tk_GetVisual(interp unsafe.Pointer, tkwin unsafe.Pointer, str string) (result unsafe.Pointer, depthPtr int32, colormapPtr int32)

Tk_GetVisual calls the Tk framework function Tk_GetVisual.

func Tk_Grab

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

Tk_Grab calls the Tk framework function Tk_Grab.

func Tk_HandleEvent

func Tk_HandleEvent(eventPtr unsafe.Pointer)

Tk_HandleEvent calls the Tk framework function Tk_HandleEvent.

func Tk_IdToWindow

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

Tk_IdToWindow calls the Tk framework function Tk_IdToWindow.

func Tk_ImageChanged

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

Tk_ImageChanged calls the Tk framework function Tk_ImageChanged.

func Tk_Init

func Tk_Init(interp unsafe.Pointer) int

Tk_Init calls the Tk framework function Tk_Init.

func Tk_InitConsoleChannels

func Tk_InitConsoleChannels(interp unsafe.Pointer)

Tk_InitConsoleChannels calls the Tk framework function Tk_InitConsoleChannels.

func Tk_InitOptions

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

Tk_InitOptions calls the Tk framework function Tk_InitOptions.

func Tk_InternAtom

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

Tk_InternAtom calls the Tk framework function Tk_InternAtom.

func Tk_Interp

func Tk_Interp(tkwin unsafe.Pointer) unsafe.Pointer

Tk_Interp calls the Tk framework function Tk_Interp.

func Tk_IntersectTextLayout

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

Tk_IntersectTextLayout calls the Tk framework function Tk_IntersectTextLayout.

func Tk_MainEx

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

Tk_MainEx calls the Tk framework function Tk_MainEx.

func Tk_MainLoop

func Tk_MainLoop()

Tk_MainLoop calls the Tk framework function Tk_MainLoop.

func Tk_MainWindow

func Tk_MainWindow(interp unsafe.Pointer) unsafe.Pointer

Tk_MainWindow calls the Tk framework function Tk_MainWindow.

func Tk_MaintainGeometry

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

Tk_MaintainGeometry calls the Tk framework function Tk_MaintainGeometry.

func Tk_MakeWindowExist

func Tk_MakeWindowExist(tkwin unsafe.Pointer)

Tk_MakeWindowExist calls the Tk framework function Tk_MakeWindowExist.

func Tk_ManageGeometry

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

Tk_ManageGeometry calls the Tk framework function Tk_ManageGeometry.

func Tk_MapWindow

func Tk_MapWindow(tkwin unsafe.Pointer)

Tk_MapWindow calls the Tk framework function Tk_MapWindow.

func Tk_MeasureChars

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

Tk_MeasureChars calls the Tk framework function Tk_MeasureChars.

func Tk_MoveResizeWindow

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

Tk_MoveResizeWindow calls the Tk framework function Tk_MoveResizeWindow.

func Tk_MoveToplevelWindow

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

Tk_MoveToplevelWindow calls the Tk framework function Tk_MoveToplevelWindow.

func Tk_MoveWindow

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

Tk_MoveWindow calls the Tk framework function Tk_MoveWindow.

func Tk_NameOf3DBorder

func Tk_NameOf3DBorder(border unsafe.Pointer) string

Tk_NameOf3DBorder calls the Tk framework function Tk_NameOf3DBorder.

func Tk_NameOfAnchor

func Tk_NameOfAnchor(anchor Anchor) string

Tk_NameOfAnchor calls the Tk framework function Tk_NameOfAnchor.

func Tk_NameOfBitmap

func Tk_NameOfBitmap(display unsafe.Pointer, bitmap int) string

Tk_NameOfBitmap calls the Tk framework function Tk_NameOfBitmap.

func Tk_NameOfCapStyle

func Tk_NameOfCapStyle(cap_ int) string

Tk_NameOfCapStyle calls the Tk framework function Tk_NameOfCapStyle.

func Tk_NameOfCursor

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

Tk_NameOfCursor calls the Tk framework function Tk_NameOfCursor.

func Tk_NameOfFont

func Tk_NameOfFont(font unsafe.Pointer) string

Tk_NameOfFont calls the Tk framework function Tk_NameOfFont.

func Tk_NameOfImage

func Tk_NameOfImage(imageMaster unsafe.Pointer) string

Tk_NameOfImage calls the Tk framework function Tk_NameOfImage.

func Tk_NameOfJoinStyle

func Tk_NameOfJoinStyle(join int) string

Tk_NameOfJoinStyle calls the Tk framework function Tk_NameOfJoinStyle.

func Tk_NameOfJustify

func Tk_NameOfJustify(justify Justify) string

Tk_NameOfJustify calls the Tk framework function Tk_NameOfJustify.

func Tk_NameOfRelief

func Tk_NameOfRelief(relief int) string

Tk_NameOfRelief calls the Tk framework function Tk_NameOfRelief.

func Tk_NameOfStyle

func Tk_NameOfStyle(style unsafe.Pointer) string

Tk_NameOfStyle calls the Tk framework function Tk_NameOfStyle.

func Tk_NameToWindow

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

Tk_NameToWindow calls the Tk framework function Tk_NameToWindow.

func Tk_OwnSelection

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

Tk_OwnSelection calls the Tk framework function Tk_OwnSelection.

func Tk_ParseArgv

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

Tk_ParseArgv calls the Tk framework function Tk_ParseArgv.

func Tk_PhotoBlank

func Tk_PhotoBlank(handle unsafe.Pointer)

Tk_PhotoBlank calls the Tk framework function Tk_PhotoBlank.

func Tk_PhotoExpand

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

Tk_PhotoExpand calls the Tk framework function Tk_PhotoExpand.

func Tk_PhotoExpand_Panic

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

Tk_PhotoExpand_Panic calls the Tk framework function Tk_PhotoExpand_Panic.

func Tk_PhotoGetImage

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

Tk_PhotoGetImage calls the Tk framework function Tk_PhotoGetImage.

func Tk_PhotoGetSize

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

Tk_PhotoGetSize calls the Tk framework function Tk_PhotoGetSize.

func Tk_PhotoPutBlock

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

Tk_PhotoPutBlock calls the Tk framework function Tk_PhotoPutBlock.

func Tk_PhotoPutBlock_NoComposite

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

Tk_PhotoPutBlock_NoComposite calls the Tk framework function Tk_PhotoPutBlock_NoComposite.

func Tk_PhotoPutBlock_Panic

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

Tk_PhotoPutBlock_Panic calls the Tk framework function Tk_PhotoPutBlock_Panic.

func Tk_PhotoPutZoomedBlock

func Tk_PhotoPutZoomedBlock(interp unsafe.Pointer, 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

Tk_PhotoPutZoomedBlock calls the Tk framework function Tk_PhotoPutZoomedBlock.

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)

Tk_PhotoPutZoomedBlock_NoComposite calls the Tk framework function Tk_PhotoPutZoomedBlock_NoComposite.

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)

Tk_PhotoPutZoomedBlock_Panic calls the Tk framework function Tk_PhotoPutZoomedBlock_Panic.

func Tk_PhotoSetSize

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

Tk_PhotoSetSize calls the Tk framework function Tk_PhotoSetSize.

func Tk_PhotoSetSize_Panic

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

Tk_PhotoSetSize_Panic calls the Tk framework function Tk_PhotoSetSize_Panic.

func Tk_PointToChar

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

Tk_PointToChar calls the Tk framework function Tk_PointToChar.

func Tk_PostscriptBitmap

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

Tk_PostscriptBitmap calls the Tk framework function Tk_PostscriptBitmap.

func Tk_PostscriptFont

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

Tk_PostscriptFont calls the Tk framework function Tk_PostscriptFont.

func Tk_PostscriptFontName

func Tk_PostscriptFontName(tkfont unsafe.Pointer, dsPtr unsafe.Pointer) int

Tk_PostscriptFontName calls the Tk framework function Tk_PostscriptFontName.

func Tk_PostscriptImage

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

Tk_PostscriptImage calls the Tk framework function Tk_PostscriptImage.

func Tk_PostscriptPath

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

Tk_PostscriptPath calls the Tk framework function Tk_PostscriptPath.

func Tk_PostscriptPhoto

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

Tk_PostscriptPhoto calls the Tk framework function Tk_PostscriptPhoto.

func Tk_PostscriptStipple

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

Tk_PostscriptStipple calls the Tk framework function Tk_PostscriptStipple.

func Tk_PostscriptY

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

Tk_PostscriptY calls the Tk framework function Tk_PostscriptY.

func Tk_PreserveColormap

func Tk_PreserveColormap(display unsafe.Pointer, colormap int)

Tk_PreserveColormap calls the Tk framework function Tk_PreserveColormap.

func Tk_QueueWindowEvent

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

Tk_QueueWindowEvent calls the Tk framework function Tk_QueueWindowEvent.

func Tk_RedrawImage

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

Tk_RedrawImage calls the Tk framework function Tk_RedrawImage.

func Tk_RegisterStyleEngine

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

Tk_RegisterStyleEngine calls the Tk framework function Tk_RegisterStyleEngine.

func Tk_RegisterStyledElement

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

Tk_RegisterStyledElement calls the Tk framework function Tk_RegisterStyledElement.

func Tk_ResetOutlineGC

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

Tk_ResetOutlineGC calls the Tk framework function Tk_ResetOutlineGC.

func Tk_ResetUserInactiveTime

func Tk_ResetUserInactiveTime(dpy unsafe.Pointer)

Tk_ResetUserInactiveTime calls the Tk framework function Tk_ResetUserInactiveTime.

func Tk_ResizeWindow

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

Tk_ResizeWindow calls the Tk framework function Tk_ResizeWindow.

func Tk_RestackWindow

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

Tk_RestackWindow calls the Tk framework function Tk_RestackWindow.

func Tk_RestoreSavedOptions

func Tk_RestoreSavedOptions(savePtr unsafe.Pointer)

Tk_RestoreSavedOptions calls the Tk framework function Tk_RestoreSavedOptions.

func Tk_RestrictEvents

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

Tk_RestrictEvents calls the Tk framework function Tk_RestrictEvents.

func Tk_SafeInit

func Tk_SafeInit(interp unsafe.Pointer) int

Tk_SafeInit calls the Tk framework function Tk_SafeInit.

func Tk_SetAppName

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

Tk_SetAppName calls the Tk framework function Tk_SetAppName.

func Tk_SetBackgroundFromBorder

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

Tk_SetBackgroundFromBorder calls the Tk framework function Tk_SetBackgroundFromBorder.

func Tk_SetCaretPos

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

Tk_SetCaretPos calls the Tk framework function Tk_SetCaretPos.

func Tk_SetClass

func Tk_SetClass(tkwin unsafe.Pointer, className string)

Tk_SetClass calls the Tk framework function Tk_SetClass.

func Tk_SetClassProcs

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

Tk_SetClassProcs calls the Tk framework function Tk_SetClassProcs.

func Tk_SetGrid

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

Tk_SetGrid calls the Tk framework function Tk_SetGrid.

func Tk_SetInternalBorder

func Tk_SetInternalBorder(tkwin unsafe.Pointer, width int)

Tk_SetInternalBorder calls the Tk framework function Tk_SetInternalBorder.

func Tk_SetInternalBorderEx

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

Tk_SetInternalBorderEx calls the Tk framework function Tk_SetInternalBorderEx.

func Tk_SetMinimumRequestSize

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

Tk_SetMinimumRequestSize calls the Tk framework function Tk_SetMinimumRequestSize.

func Tk_SetOptions

func Tk_SetOptions(interp unsafe.Pointer, recordPtr string, optionTable unsafe.Pointer, objc_ int, objv unsafe.Pointer, tkwin unsafe.Pointer, savePtr unsafe.Pointer) (result int, maskPtr int32)

Tk_SetOptions calls the Tk framework function Tk_SetOptions.

func Tk_SetTSOrigin

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

Tk_SetTSOrigin calls the Tk framework function Tk_SetTSOrigin.

func Tk_SetWindowBackground

func Tk_SetWindowBackground(tkwin unsafe.Pointer, pixel int)

Tk_SetWindowBackground calls the Tk framework function Tk_SetWindowBackground.

func Tk_SetWindowBackgroundPixmap

func Tk_SetWindowBackgroundPixmap(tkwin unsafe.Pointer, pixmap int)

Tk_SetWindowBackgroundPixmap calls the Tk framework function Tk_SetWindowBackgroundPixmap.

func Tk_SetWindowBorder

func Tk_SetWindowBorder(tkwin unsafe.Pointer, pixel int)

Tk_SetWindowBorder calls the Tk framework function Tk_SetWindowBorder.

func Tk_SetWindowBorderPixmap

func Tk_SetWindowBorderPixmap(tkwin unsafe.Pointer, pixmap int)

Tk_SetWindowBorderPixmap calls the Tk framework function Tk_SetWindowBorderPixmap.

func Tk_SetWindowBorderWidth

func Tk_SetWindowBorderWidth(tkwin unsafe.Pointer, width int)

Tk_SetWindowBorderWidth calls the Tk framework function Tk_SetWindowBorderWidth.

func Tk_SetWindowColormap

func Tk_SetWindowColormap(tkwin unsafe.Pointer, colormap int)

Tk_SetWindowColormap calls the Tk framework function Tk_SetWindowColormap.

func Tk_SetWindowVisual

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

Tk_SetWindowVisual calls the Tk framework function Tk_SetWindowVisual.

func Tk_SizeOfBitmap

func Tk_SizeOfBitmap(display unsafe.Pointer, bitmap int) (widthPtr int32, heightPtr int32)

Tk_SizeOfBitmap calls the Tk framework function Tk_SizeOfBitmap.

func Tk_SizeOfImage

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

Tk_SizeOfImage calls the Tk framework function Tk_SizeOfImage.

func Tk_StrictMotif

func Tk_StrictMotif(tkwin unsafe.Pointer) int

Tk_StrictMotif calls the Tk framework function Tk_StrictMotif.

func Tk_TextLayoutToPostscript

func Tk_TextLayoutToPostscript(interp unsafe.Pointer, layout unsafe.Pointer)

Tk_TextLayoutToPostscript calls the Tk framework function Tk_TextLayoutToPostscript.

func Tk_TextWidth

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

Tk_TextWidth calls the Tk framework function Tk_TextWidth.

func Tk_UndefineCursor

func Tk_UndefineCursor(window unsafe.Pointer)

Tk_UndefineCursor calls the Tk framework function Tk_UndefineCursor.

func Tk_UnderlineChars

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

Tk_UnderlineChars calls the Tk framework function Tk_UnderlineChars.

func Tk_UnderlineTextLayout

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

Tk_UnderlineTextLayout calls the Tk framework function Tk_UnderlineTextLayout.

func Tk_Ungrab

func Tk_Ungrab(tkwin unsafe.Pointer)

Tk_Ungrab calls the Tk framework function Tk_Ungrab.

func Tk_UnmaintainGeometry

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

Tk_UnmaintainGeometry calls the Tk framework function Tk_UnmaintainGeometry.

func Tk_UnmapWindow

func Tk_UnmapWindow(tkwin unsafe.Pointer)

Tk_UnmapWindow calls the Tk framework function Tk_UnmapWindow.

func Tk_UnsetGrid

func Tk_UnsetGrid(tkwin unsafe.Pointer)

Tk_UnsetGrid calls the Tk framework function Tk_UnsetGrid.

func Tk_UpdatePointer

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

Tk_UpdatePointer calls the Tk framework function Tk_UpdatePointer.

Types

type Anchor added in v0.17.0

type Anchor int32
const (
	AnchorN      Anchor = 0
	AnchorNe     Anchor = 1
	AnchorE      Anchor = 2
	AnchorSe     Anchor = 3
	AnchorS      Anchor = 4
	AnchorSw     Anchor = 5
	AnchorW      Anchor = 6
	AnchorNw     Anchor = 7
	AnchorCenter Anchor = 8
)

func Tk_GetAnchor

func Tk_GetAnchor(interp unsafe.Pointer, str string) (result int, anchorPtr Anchor)

Tk_GetAnchor calls the Tk framework function Tk_GetAnchor.

func Tk_GetAnchorFromObj

func Tk_GetAnchorFromObj(interp unsafe.Pointer, objPtr unsafe.Pointer) (result int, anchorPtr Anchor)

Tk_GetAnchorFromObj calls the Tk framework function Tk_GetAnchorFromObj.

func (Anchor) String added in v0.17.0

func (e Anchor) String() string

String returns the Anchor constant's name, or its numeric form when the value is not a known constant.

type Configtypes added in v0.17.0

type Configtypes int32
const (
	ConfigtypesBoolean      Configtypes = 0
	ConfigtypesInt          Configtypes = 1
	ConfigtypesDouble       Configtypes = 2
	ConfigtypesString       Configtypes = 3
	ConfigtypesUID          Configtypes = 4
	ConfigtypesColor        Configtypes = 5
	ConfigtypesFont         Configtypes = 6
	ConfigtypesBitmap       Configtypes = 7
	ConfigtypesBorder       Configtypes = 8
	ConfigtypesRelief       Configtypes = 9
	ConfigtypesCursor       Configtypes = 10
	ConfigtypesActiveCursor Configtypes = 11
	ConfigtypesJustify      Configtypes = 12
	ConfigtypesAnchor       Configtypes = 13
	ConfigtypesSynonym      Configtypes = 14
	ConfigtypesCapStyle     Configtypes = 15
	ConfigtypesJoinStyle    Configtypes = 16
	ConfigtypesPixels       Configtypes = 17
	ConfigtypesMm           Configtypes = 18
	ConfigtypesWindow       Configtypes = 19
	ConfigtypesCustom       Configtypes = 20
	ConfigtypesEnd          Configtypes = 21
)

func (Configtypes) String added in v0.17.0

func (e Configtypes) String() string

String returns the Configtypes constant's name, or its numeric form when the value is not a known constant.

type Depth

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

type Display

type Display = XDisplay

Display is an alias for the _XDisplay value type.

type Justify added in v0.17.0

type Justify int32
const (
	JustifyLeft   Justify = 0
	JustifyRight  Justify = 1
	JustifyCenter Justify = 2
)

func Tk_GetJustify

func Tk_GetJustify(interp unsafe.Pointer, str string) (result int, justifyPtr Justify)

Tk_GetJustify calls the Tk framework function Tk_GetJustify.

func Tk_GetJustifyFromObj

func Tk_GetJustifyFromObj(interp unsafe.Pointer, objPtr unsafe.Pointer) (result int, justifyPtr Justify)

Tk_GetJustifyFromObj calls the Tk framework function Tk_GetJustifyFromObj.

func (Justify) String added in v0.17.0

func (e Justify) String() string

String returns the Justify constant's name, or its numeric form when the value is not a known constant.

type Optiontype added in v0.17.0

type Optiontype int32
const (
	OptiontypeBoolean     Optiontype = 0
	OptiontypeInt         Optiontype = 1
	OptiontypeDouble      Optiontype = 2
	OptiontypeString      Optiontype = 3
	OptiontypeStringTable Optiontype = 4
	OptiontypeColor       Optiontype = 5
	OptiontypeFont        Optiontype = 6
	OptiontypeBitmap      Optiontype = 7
	OptiontypeBorder      Optiontype = 8
	OptiontypeRelief      Optiontype = 9
	OptiontypeCursor      Optiontype = 10
	OptiontypeJustify     Optiontype = 11
	OptiontypeAnchor      Optiontype = 12
	OptiontypeSynonym     Optiontype = 13
	OptiontypePixels      Optiontype = 14
	OptiontypeWindow      Optiontype = 15
	OptiontypeEnd         Optiontype = 16
	OptiontypeCustom      Optiontype = 17
	OptiontypeStyle       Optiontype = 18
)

func (Optiontype) String added in v0.17.0

func (e Optiontype) String() string

String returns the Optiontype constant's name, or its numeric form when the value is not a known constant.

type Restrictaction added in v0.17.0

type Restrictaction int32
const (
	RestrictactionDeferEvent   Restrictaction = 0
	RestrictactionProcessEvent Restrictaction = 1
	RestrictactionDiscardEvent Restrictaction = 2
)

func (Restrictaction) String added in v0.17.0

func (e Restrictaction) String() string

String returns the Restrictaction constant's name, or its numeric form when the value is not a known constant.

type ScreenFormat

type ScreenFormat struct {
	ExtData      unsafe.Pointer
	Depth        int32
	BitsPerPixel int32
	ScanlinePad  int32
}

type State added in v0.17.0

type State int32
const (
	StateNull     State = -1
	StateActive   State = 0
	StateDisabled State = 1
	StateNormal   State = 2
	StateHidden   State = 3
)

func (State) String added in v0.17.0

func (e State) String() string

String returns the State constant's name, or its numeric form when the value is not a known constant.

type TclQueueposition added in v0.17.0

type TclQueueposition int32
const (
	TclQueuepositionTail TclQueueposition = 0
	TclQueuepositionHead TclQueueposition = 1
	TclQueuepositionMark TclQueueposition = 2
)

func (TclQueueposition) String added in v0.17.0

func (e TclQueueposition) String() string

String returns the TclQueueposition constant's name, or its numeric form when the value is not a known constant.

type TclValuetype added in v0.17.0

type TclValuetype int32
const (
	TclValuetypeInt     TclValuetype = 0
	TclValuetypeDouble  TclValuetype = 1
	TclValuetypeEither  TclValuetype = 2
	TclValuetypeWideInt TclValuetype = 3
)

func (TclValuetype) String added in v0.17.0

func (e TclValuetype) String() string

String returns the TclValuetype constant's name, or its numeric form when the value is not a known constant.

type TkStubHooks

type TkStubHooks struct {
	// contains filtered or unexported fields
}

The C layout cannot be reproduced as a plain Go value struct, so it is held as its exact-size bytes and read through the typed As* accessors below. It is pointer-only: never pass it by value.

func (*TkStubHooks) AsTkIntPlatStubs added in v0.18.0

func (u *TkStubHooks) AsTkIntPlatStubs() unsafe.Pointer

AsTkIntPlatStubs returns the tkIntPlatStubs field, read from the backing bytes at offset 16.

func (*TkStubHooks) AsTkIntStubs added in v0.18.0

func (u *TkStubHooks) AsTkIntStubs() unsafe.Pointer

AsTkIntStubs returns the tkIntStubs field, read from the backing bytes at offset 8.

func (*TkStubHooks) AsTkIntXlibStubs added in v0.18.0

func (u *TkStubHooks) AsTkIntXlibStubs() unsafe.Pointer

AsTkIntXlibStubs returns the tkIntXlibStubs field, read from the backing bytes at offset 24.

func (*TkStubHooks) AsTkPlatStubs added in v0.18.0

func (u *TkStubHooks) AsTkPlatStubs() unsafe.Pointer

AsTkPlatStubs returns the tkPlatStubs field, read from the backing bytes at offset 0.

type TkStubs

type TkStubs struct {
	Magic                            int32
	Hooks                            unsafe.Pointer
	TkMainLoop                       unsafe.Pointer
	Tk3DBorderColor                  unsafe.Pointer
	Tk3DBorderGC                     unsafe.Pointer
	Tk3DHorizontalBevel              unsafe.Pointer
	Tk3DVerticalBevel                unsafe.Pointer
	TkAddOption                      unsafe.Pointer
	TkBindEvent                      unsafe.Pointer
	TkCanvasDrawableCoords           unsafe.Pointer
	TkCanvasEventuallyRedraw         unsafe.Pointer
	TkCanvasGetCoord                 unsafe.Pointer
	TkCanvasGetTextInfo              unsafe.Pointer
	TkCanvasPsBitmap                 unsafe.Pointer
	TkCanvasPsColor                  unsafe.Pointer
	TkCanvasPsFont                   unsafe.Pointer
	TkCanvasPsPath                   unsafe.Pointer
	TkCanvasPsStipple                unsafe.Pointer
	TkCanvasPsY                      unsafe.Pointer
	TkCanvasSetStippleOrigin         unsafe.Pointer
	TkCanvasTagsParseProc            unsafe.Pointer
	TkCanvasTagsPrintProc            unsafe.Pointer
	TkCanvasTkwin                    unsafe.Pointer
	TkCanvasWindowCoords             unsafe.Pointer
	TkChangeWindowAttributes         unsafe.Pointer
	TkCharBbox                       unsafe.Pointer
	TkClearSelection                 unsafe.Pointer
	TkClipboardAppend                unsafe.Pointer
	TkClipboardClear                 unsafe.Pointer
	TkConfigureInfo                  unsafe.Pointer
	TkConfigureValue                 unsafe.Pointer
	TkConfigureWidget                unsafe.Pointer
	TkConfigureWindow                unsafe.Pointer
	TkComputeTextLayout              unsafe.Pointer
	TkCoordsToWindow                 unsafe.Pointer
	TkCreateBinding                  unsafe.Pointer
	TkCreateBindingTable             unsafe.Pointer
	TkCreateErrorHandler             unsafe.Pointer
	TkCreateEventHandler             unsafe.Pointer
	TkCreateGenericHandler           unsafe.Pointer
	TkCreateImageType                unsafe.Pointer
	TkCreateItemType                 unsafe.Pointer
	TkCreatePhotoImageFormat         unsafe.Pointer
	TkCreateSelHandler               unsafe.Pointer
	TkCreateWindow                   unsafe.Pointer
	TkCreateWindowFromPath           unsafe.Pointer
	TkDefineBitmap                   unsafe.Pointer
	TkDefineCursor                   unsafe.Pointer
	TkDeleteAllBindings              unsafe.Pointer
	TkDeleteBinding                  unsafe.Pointer
	TkDeleteBindingTable             unsafe.Pointer
	TkDeleteErrorHandler             unsafe.Pointer
	TkDeleteEventHandler             unsafe.Pointer
	TkDeleteGenericHandler           unsafe.Pointer
	TkDeleteImage                    unsafe.Pointer
	TkDeleteSelHandler               unsafe.Pointer
	TkDestroyWindow                  unsafe.Pointer
	TkDisplayName                    unsafe.Pointer
	TkDistanceToTextLayout           unsafe.Pointer
	TkDraw3DPolygon                  unsafe.Pointer
	TkDraw3DRectangle                unsafe.Pointer
	TkDrawChars                      unsafe.Pointer
	TkDrawFocusHighlight             unsafe.Pointer
	TkDrawTextLayout                 unsafe.Pointer
	TkFill3DPolygon                  unsafe.Pointer
	TkFill3DRectangle                unsafe.Pointer
	TkFindPhoto                      unsafe.Pointer
	Font                             unsafe.Pointer
	TkFree3DBorder                   unsafe.Pointer
	TkFreeBitmap                     unsafe.Pointer
	TkFreeColor                      unsafe.Pointer
	TkFreeColormap                   unsafe.Pointer
	TkFreeCursor                     unsafe.Pointer
	TkFreeFont                       unsafe.Pointer
	TkFreeGC                         unsafe.Pointer
	TkFreeImage                      unsafe.Pointer
	TkFreeOptions                    unsafe.Pointer
	TkFreePixmap                     unsafe.Pointer
	TkFreeTextLayout                 unsafe.Pointer
	TkFreeXID                        unsafe.Pointer
	TkGCForColor                     unsafe.Pointer
	TkGeometryRequest                unsafe.Pointer
	TkGet3DBorder                    unsafe.Pointer
	TkGetAllBindings                 unsafe.Pointer
	TkGetAnchor                      unsafe.Pointer
	TkGetAtomName                    unsafe.Pointer
	TkGetBinding                     unsafe.Pointer
	Pixmap                           unsafe.Pointer
	TkGetCapStyle                    unsafe.Pointer
	TkGetColor                       unsafe.Pointer
	TkGetColorByValue                unsafe.Pointer
	Colormap                         unsafe.Pointer
	TkGetCursor                      unsafe.Pointer
	TkGetCursorFromData              unsafe.Pointer
	TkGetFont                        unsafe.Pointer
	TkGetFontFromObj                 unsafe.Pointer
	TkGetFontMetrics                 unsafe.Pointer
	TkGetGC                          unsafe.Pointer
	TkGetImage                       unsafe.Pointer
	TkGetImageMasterData             unsafe.Pointer
	TkGetItemTypes                   unsafe.Pointer
	TkGetJoinStyle                   unsafe.Pointer
	TkGetJustify                     unsafe.Pointer
	TkGetNumMainWindows              unsafe.Pointer
	TkGetOption                      unsafe.Pointer
	TkGetPixels                      unsafe.Pointer
	TkGetRelief                      unsafe.Pointer
	TkGetRootCoords                  unsafe.Pointer
	TkGetScrollInfo                  unsafe.Pointer
	TkGetScreenMM                    unsafe.Pointer
	TkGetSelection                   unsafe.Pointer
	TkGetUID                         unsafe.Pointer
	TkGetVisual                      unsafe.Pointer
	TkGetVRootGeometry               unsafe.Pointer
	TkGrab                           unsafe.Pointer
	TkHandleEvent                    unsafe.Pointer
	TkIDToWindow                     unsafe.Pointer
	TkImageChanged                   unsafe.Pointer
	TkInit                           unsafe.Pointer
	Atom                             unsafe.Pointer
	TkIntersectTextLayout            unsafe.Pointer
	TkMaintainGeometry               unsafe.Pointer
	TkMainWindow                     unsafe.Pointer
	TkMakeWindowExist                unsafe.Pointer
	TkManageGeometry                 unsafe.Pointer
	TkMapWindow                      unsafe.Pointer
	TkMeasureChars                   unsafe.Pointer
	TkMoveResizeWindow               unsafe.Pointer
	TkMoveWindow                     unsafe.Pointer
	TkMoveToplevelWindow             unsafe.Pointer
	TkNameOf3DBorder                 unsafe.Pointer
	TkNameOfAnchor                   unsafe.Pointer
	TkNameOfBitmap                   unsafe.Pointer
	TkNameOfCapStyle                 unsafe.Pointer
	TkNameOfColor                    unsafe.Pointer
	TkNameOfCursor                   unsafe.Pointer
	TkNameOfFont                     unsafe.Pointer
	TkNameOfImage                    unsafe.Pointer
	TkNameOfJoinStyle                unsafe.Pointer
	TkNameOfJustify                  unsafe.Pointer
	TkNameOfRelief                   unsafe.Pointer
	TkNameToWindow                   unsafe.Pointer
	TkOwnSelection                   unsafe.Pointer
	TkParseArgv                      unsafe.Pointer
	TkPhotoPutBlockNoComposite       unsafe.Pointer
	TkPhotoPutZoomedBlockNoComposite unsafe.Pointer
	TkPhotoGetImage                  unsafe.Pointer
	TkPhotoBlank                     unsafe.Pointer
	TkPhotoExpandPanic               unsafe.Pointer
	TkPhotoGetSize                   unsafe.Pointer
	TkPhotoSetSizePanic              unsafe.Pointer
	TkPointToChar                    unsafe.Pointer
	TkPostscriptFontName             unsafe.Pointer
	TkPreserveColormap               unsafe.Pointer
	TkQueueWindowEvent               unsafe.Pointer
	TkRedrawImage                    unsafe.Pointer
	TkResizeWindow                   unsafe.Pointer
	TkRestackWindow                  unsafe.Pointer
	TkRestrictEvents                 unsafe.Pointer
	TkSafeInit                       unsafe.Pointer
	TkSetAppName                     unsafe.Pointer
	TkSetBackgroundFromBorder        unsafe.Pointer
	TkSetClass                       unsafe.Pointer
	TkSetGrid                        unsafe.Pointer
	TkSetInternalBorder              unsafe.Pointer
	TkSetWindowBackground            unsafe.Pointer
	TkSetWindowBackgroundPixmap      unsafe.Pointer
	TkSetWindowBorder                unsafe.Pointer
	TkSetWindowBorderWidth           unsafe.Pointer
	TkSetWindowBorderPixmap          unsafe.Pointer
	TkSetWindowColormap              unsafe.Pointer
	TkSetWindowVisual                unsafe.Pointer
	TkSizeOfBitmap                   unsafe.Pointer
	TkSizeOfImage                    unsafe.Pointer
	TkStrictMotif                    unsafe.Pointer
	TkTextLayoutToPostscript         unsafe.Pointer
	TkTextWidth                      unsafe.Pointer
	TkUndefineCursor                 unsafe.Pointer
	TkUnderlineChars                 unsafe.Pointer
	TkUnderlineTextLayout            unsafe.Pointer
	TkUngrab                         unsafe.Pointer
	TkUnmaintainGeometry             unsafe.Pointer
	TkUnmapWindow                    unsafe.Pointer
	TkUnsetGrid                      unsafe.Pointer
	TkUpdatePointer                  unsafe.Pointer
	TkAlloc3DBorderFromObj           unsafe.Pointer
	TkAllocColorFromObj              unsafe.Pointer
	TkAllocCursorFromObj             unsafe.Pointer
	TkAllocFontFromObj               unsafe.Pointer
	TkCreateOptionTable              unsafe.Pointer
	TkDeleteOptionTable              unsafe.Pointer
	TkFree3DBorderFromObj            unsafe.Pointer
	TkFreeBitmapFromObj              unsafe.Pointer
	TkFreeColorFromObj               unsafe.Pointer
	TkFreeConfigOptions              unsafe.Pointer
	TkFreeSavedOptions               unsafe.Pointer
	TkFreeCursorFromObj              unsafe.Pointer
	TkFreeFontFromObj                unsafe.Pointer
	TkGet3DBorderFromObj             unsafe.Pointer
	TkGetAnchorFromObj               unsafe.Pointer
	TkGetColorFromObj                unsafe.Pointer
	TkGetCursorFromObj               unsafe.Pointer
	TkGetOptionInfo                  unsafe.Pointer
	TkGetOptionValue                 unsafe.Pointer
	TkGetJustifyFromObj              unsafe.Pointer
	TkGetMMFromObj                   unsafe.Pointer
	TkGetPixelsFromObj               unsafe.Pointer
	TkGetReliefFromObj               unsafe.Pointer
	TkGetScrollInfoObj               unsafe.Pointer
	TkInitOptions                    unsafe.Pointer
	TkMainEx                         unsafe.Pointer
	TkRestoreSavedOptions            unsafe.Pointer
	TkSetOptions                     unsafe.Pointer
	TkInitConsoleChannels            unsafe.Pointer
	TkCreateConsoleWindow            unsafe.Pointer
	TkCreateSmoothMethod             unsafe.Pointer
	Reserved218                      unsafe.Pointer
	Reserved219                      unsafe.Pointer
	TkGetDash                        unsafe.Pointer
	TkCreateOutline                  unsafe.Pointer
	TkDeleteOutline                  unsafe.Pointer
	TkConfigOutlineGC                unsafe.Pointer
	TkChangeOutlineGC                unsafe.Pointer
	TkResetOutlineGC                 unsafe.Pointer
	TkCanvasPsOutline                unsafe.Pointer
	TkSetTSOrigin                    unsafe.Pointer
	TkCanvasGetCoordFromObj          unsafe.Pointer
	TkCanvasSetOffset                unsafe.Pointer
	TkDitherPhoto                    unsafe.Pointer
	TkPostscriptBitmap               unsafe.Pointer
	TkPostscriptColor                unsafe.Pointer
	TkPostscriptFont                 unsafe.Pointer
	TkPostscriptImage                unsafe.Pointer
	TkPostscriptPath                 unsafe.Pointer
	TkPostscriptStipple              unsafe.Pointer
	TkPostscriptY                    unsafe.Pointer
	TkPostscriptPhoto                unsafe.Pointer
	TkCreateClientMessageHandler     unsafe.Pointer
	TkDeleteClientMessageHandler     unsafe.Pointer
	TkCreateAnonymousWindow          unsafe.Pointer
	TkSetClassProcs                  unsafe.Pointer
	TkSetInternalBorderEx            unsafe.Pointer
	TkSetMinimumRequestSize          unsafe.Pointer
	TkSetCaretPos                    unsafe.Pointer
	TkPhotoPutBlockPanic             unsafe.Pointer
	TkPhotoPutZoomedBlockPanic       unsafe.Pointer
	TkCollapseMotionEvents           unsafe.Pointer
	TkRegisterStyleEngine            unsafe.Pointer
	TkGetStyleEngine                 unsafe.Pointer
	TkRegisterStyledElement          unsafe.Pointer
	TkGetElementID                   unsafe.Pointer
	TkCreateStyle                    unsafe.Pointer
	TkGetStyle                       unsafe.Pointer
	TkFreeStyle                      unsafe.Pointer
	TkNameOfStyle                    unsafe.Pointer
	TkAllocStyleFromObj              unsafe.Pointer
	TkGetStyleFromObj                unsafe.Pointer
	TkFreeStyleFromObj               unsafe.Pointer
	TkGetStyledElement               unsafe.Pointer
	TkGetElementSize                 unsafe.Pointer
	TkGetElementBox                  unsafe.Pointer
	TkGetElementBorderWidth          unsafe.Pointer
	TkDrawElement                    unsafe.Pointer
	TkPhotoExpand                    unsafe.Pointer
	TkPhotoPutBlock                  unsafe.Pointer
	TkPhotoPutZoomedBlock            unsafe.Pointer
	TkPhotoSetSize                   unsafe.Pointer
	TkGetUserInactiveTime            unsafe.Pointer
	TkResetUserInactiveTime          unsafe.Pointer
	TkInterp                         unsafe.Pointer
	TkCreateOldImageType             unsafe.Pointer
	TkCreateOldPhotoImageFormat      unsafe.Pointer
}

type Tk_FontMetrics added in v0.18.0

type Tk_FontMetrics struct {
	Ascent    int32
	Descent   int32
	Linespace int32
}

func Tk_GetFontMetrics

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

Tk_GetFontMetrics calls the Tk framework function Tk_GetFontMetrics.

type Tk_TSOffset added in v0.18.0

type Tk_TSOffset struct {
	Flags   int32
	Xoffset int32
	Yoffset int32
}

func Tk_CanvasSetOffset

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

Tk_CanvasSetOffset calls the Tk framework function Tk_CanvasSetOffset.

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

Tk_3DBorderColor calls the Tk framework function Tk_3DBorderColor.

func Tk_AllocColorFromObj

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

Tk_AllocColorFromObj calls the Tk framework function Tk_AllocColorFromObj.

func Tk_CanvasPsColor

func Tk_CanvasPsColor(interp unsafe.Pointer, canvas unsafe.Pointer) (result int, colorPtr XColor)

Tk_CanvasPsColor calls the Tk framework function Tk_CanvasPsColor.

func Tk_FreeColor

func Tk_FreeColor() (colorPtr XColor)

Tk_FreeColor calls the Tk framework function Tk_FreeColor.

func Tk_GCForColor

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

Tk_GCForColor calls the Tk framework function Tk_GCForColor.

func Tk_GetColor

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

Tk_GetColor calls the Tk framework function Tk_GetColor.

func Tk_GetColorFromObj

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

Tk_GetColorFromObj calls the Tk framework function Tk_GetColorFromObj.

func Tk_NameOfColor

func Tk_NameOfColor() (result string, colorPtr XColor)

Tk_NameOfColor calls the Tk framework function Tk_NameOfColor.

func Tk_PostscriptColor

func Tk_PostscriptColor(interp unsafe.Pointer, psInfo unsafe.Pointer) (result int, colorPtr XColor)

Tk_PostscriptColor calls the Tk framework function Tk_PostscriptColor.

type XDisplay

type XDisplay struct {
	ExtData            unsafe.Pointer
	FreeFuncs          unsafe.Pointer
	Fd                 int32
	ConnChecker        int32
	ProtoMajorVersion  int32
	ProtoMinorVersion  int32
	Vendor             unsafe.Pointer
	ResourceBase       int32
	ResourceMask       int32
	ResourceID         int32
	ResourceShift      int32
	XID                unsafe.Pointer
	ByteOrder          int32
	BitmapUnit         int32
	BitmapPad          int32
	BitmapBitOrder     int32
	Nformats           int32
	PixmapFormat       unsafe.Pointer
	Vnumber            int32
	Release            int32
	Head               unsafe.Pointer
	Tail               unsafe.Pointer
	Qlen               int32
	Request            uint
	LastReq            unsafe.Pointer
	Buffer             unsafe.Pointer
	Bufptr             unsafe.Pointer
	Bufmax             unsafe.Pointer
	MaxRequestSize     uint32
	Db                 unsafe.Pointer
	Synchandler        unsafe.Pointer
	DisplayName        unsafe.Pointer
	DefaultScreen      int32
	Nscreens           int32
	Screens            unsafe.Pointer
	MotionBuffer       uint
	Flags              uint
	MinKeycode         int32
	MaxKeycode         int32
	Keysyms            unsafe.Pointer
	Modifiermap        unsafe.Pointer
	KeysymsPerKeycode  int32
	Xdefaults          unsafe.Pointer
	ScratchBuffer      unsafe.Pointer
	ScratchLength      uint
	ExtNumber          int32
	ExtProcs           unsafe.Pointer
	EventVec           unsafe.Pointer
	WireVec            unsafe.Pointer
	LockMeaning        int32
	Lock               unsafe.Pointer
	AsyncHandlers      unsafe.Pointer
	BigreqSize         uint
	LockFns            unsafe.Pointer
	KeyBindings        unsafe.Pointer
	CursorFont         int32
	Atoms              unsafe.Pointer
	ModeSwitch         uint32
	ContextDb          unsafe.Pointer
	ErrorVec           unsafe.Pointer
	Cms                unsafe.Pointer
	ImFilters          unsafe.Pointer
	Qfree              unsafe.Pointer
	NextEventSerialNum uint
	Savedsynchandler   unsafe.Pointer
}

type XEvent added in v0.18.0

type XEvent struct {
	Type              int32
	Xany              unsafe.Pointer
	Xkey              unsafe.Pointer
	Xbutton           unsafe.Pointer
	Xmotion           unsafe.Pointer
	Xcrossing         unsafe.Pointer
	Xfocus            unsafe.Pointer
	Xexpose           unsafe.Pointer
	Xgraphicsexpose   unsafe.Pointer
	Xnoexpose         unsafe.Pointer
	Xvisibility       unsafe.Pointer
	Xcreatewindow     unsafe.Pointer
	Xdestroywindow    unsafe.Pointer
	Xunmap            unsafe.Pointer
	Xmap              unsafe.Pointer
	Xmaprequest       unsafe.Pointer
	Xreparent         unsafe.Pointer
	Xconfigure        unsafe.Pointer
	Xgravity          unsafe.Pointer
	Xresizerequest    unsafe.Pointer
	Xconfigurerequest unsafe.Pointer
	Xcirculate        unsafe.Pointer
	Xcirculaterequest unsafe.Pointer
	Xproperty         unsafe.Pointer
	Xselectionclear   unsafe.Pointer
	Xselectionrequest unsafe.Pointer
	Xselection        unsafe.Pointer
	Xcolormap         unsafe.Pointer
	Xclient           unsafe.Pointer
	Xmapping          unsafe.Pointer
	Xerror            unsafe.Pointer
	Xkeymap           unsafe.Pointer
	Pad               [24]int
}

type XExtCodes

type XExtCodes struct {
	Extension   int32
	MajorOpcode int32
	FirstEvent  int32
	FirstError  int32
}

type XExtData

type XExtData struct {
	Number      int32
	Next        unsafe.Pointer
	FreePrivate unsafe.Pointer
	PrivateData unsafe.Pointer
}

type XFontSet

type XFontSet struct{ obj.Object }

XFontSet is a handle for the opaque _XFontSet type.

func (XFontSet) IsNil added in v0.18.0

func (h XFontSet) IsNil() bool

IsNil reports whether XFontSet is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.

type XFontSetExtents

type XFontSetExtents struct {
	MaxInkExtent     XRectangle
	MaxLogicalExtent XRectangle
}

type XHostAddress

type XHostAddress struct {
	Family  int32
	Length  int32
	Address unsafe.Pointer
}

type XIC

type XIC struct{ obj.Object }

XIC is a handle for the opaque _XIC type.

func (XIC) IsNil added in v0.18.0

func (h XIC) IsNil() bool

IsNil reports whether XIC is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.

type XIM

type XIM struct{ obj.Object }

XIM is a handle for the opaque _XIM type.

func (XIM) IsNil added in v0.18.0

func (h XIM) IsNil() bool

IsNil reports whether XIM is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.

type XIMCallback

type XIMCallback struct {
	ClientData unsafe.Pointer
	Callback   unsafe.Pointer
}

type XIMCaretDirection

type XIMCaretDirection int32
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

String returns the XIMCaretDirection constant's name, or its numeric form when the value is not a known constant.

type XIMCaretStyle

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

func (XIMCaretStyle) String

func (e XIMCaretStyle) String() string

String returns the XIMCaretStyle constant's name, or its numeric form when the value is not a known constant.

type XIMPreeditCaretCallbackStruct

type XIMPreeditCaretCallbackStruct struct {
	Position  int32
	Direction XIMCaretDirection
	Style     XIMCaretStyle
}

type XIMPreeditDrawCallbackStruct

type XIMPreeditDrawCallbackStruct struct {
	Caret     int32
	ChgFirst  int32
	ChgLength int32
	Text      unsafe.Pointer
}

type XIMStatusDataType

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

func (XIMStatusDataType) String

func (e XIMStatusDataType) String() string

String returns the XIMStatusDataType constant's name, or its numeric form when the value is not a known constant.

type XIMStatusDrawCallbackStruct

type XIMStatusDrawCallbackStruct struct {
	Type XIMStatusDataType
	Data unsafe.Pointer
}

type XIMStyles

type XIMStyles struct {
	CountStyles     uint16
	SupportedStyles unsafe.Pointer
}

type XIMText

type XIMText struct {
	Length          uint16
	Feedback        unsafe.Pointer
	EncodingIsWchar int32
	String          unsafe.Pointer
}

type XImage

type XImage struct {
	Width          int32
	Height         int32
	Xoffset        int32
	Format         int32
	Data           unsafe.Pointer
	ByteOrder      int32
	BitmapUnit     int32
	BitmapBitOrder int32
	BitmapPad      int32
	Depth          int32
	BytesPerLine   int32
	BitsPerPixel   int32
	RedMask        uint
	GreenMask      uint
	BlueMask       uint
	Obdata         unsafe.Pointer
	F              unsafe.Pointer
}

type XKeyboardControl

type XKeyboardControl struct {
	KeyClickPercent int32
	BellPercent     int32
	BellPitch       int32
	BellDuration    int32
	Led             int32
	LedMode         int32
	Key             int32
	AutoRepeatMode  int32
}

type XKeyboardState

type XKeyboardState struct {
	KeyClickPercent  int32
	BellPercent      int32
	BellPitch        uint32
	BellDuration     uint32
	LedMask          uint
	GlobalAutoRepeat int32
	AutoRepeats      [32]int8
}

type XPixmapFormatValues

type XPixmapFormatValues struct {
	Depth        int32
	BitsPerPixel int32
	ScanlinePad  int32
}

type XPoint

type XPoint struct {
	X int16
	Y int16
}

func Tk_Draw3DPolygon

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

Tk_Draw3DPolygon calls the Tk framework function Tk_Draw3DPolygon.

func Tk_Fill3DPolygon

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

Tk_Fill3DPolygon calls the Tk framework function Tk_Fill3DPolygon.

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   unsafe.Pointer
	Nchars  int32
	Delta   int32
	FontSet unsafe.Pointer
}

type XwcTextItem

type XwcTextItem struct {
	Chars   unsafe.Pointer
	Nchars  int32
	Delta   int32
	FontSet unsafe.Pointer
}

Jump to

Keyboard shortcuts

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