Documentation
¶
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 ¶
- func TkStubsPtr() uintptr
- func Tk_3DBorderColor(border unsafe.Pointer) unsafe.Pointer
- func Tk_3DBorderGC(tkwin unsafe.Pointer, border unsafe.Pointer, which int) unsafe.Pointer
- func Tk_3DHorizontalBevel(tkwin unsafe.Pointer, drawable int, border unsafe.Pointer, x int, y int, ...)
- func Tk_3DVerticalBevel(tkwin unsafe.Pointer, drawable int, border unsafe.Pointer, x int, y int, ...)
- func Tk_AddOption(tkwin unsafe.Pointer, name string, value string, priority int)
- func Tk_Alloc3DBorderFromObj(interp unsafe.Pointer, tkwin unsafe.Pointer, objPtr unsafe.Pointer) unsafe.Pointer
- func Tk_AllocBitmapFromObj(interp unsafe.Pointer, tkwin unsafe.Pointer, objPtr unsafe.Pointer) int
- func Tk_AllocColorFromObj(interp unsafe.Pointer, tkwin unsafe.Pointer, objPtr unsafe.Pointer) unsafe.Pointer
- func Tk_AllocCursorFromObj(interp unsafe.Pointer, tkwin unsafe.Pointer, objPtr unsafe.Pointer) unsafe.Pointer
- func Tk_AllocFontFromObj(interp unsafe.Pointer, tkwin unsafe.Pointer, objPtr unsafe.Pointer) unsafe.Pointer
- func Tk_AllocStyleFromObj(interp unsafe.Pointer, objPtr unsafe.Pointer) unsafe.Pointer
- func Tk_BindEvent(eventPtr unsafe.Pointer, tkwin unsafe.Pointer, numObjects int, ...) (bindingTable int32)
- func Tk_CanvasDrawableCoords(canvas unsafe.Pointer, x float64, y float64) (drawableXPtr int16, drawableYPtr int16)
- func Tk_CanvasEventuallyRedraw(canvas unsafe.Pointer, x1 int, y1 int, x2 int, y2 int)
- func Tk_CanvasGetCoord(interp unsafe.Pointer, canvas unsafe.Pointer, str string) (result int, doublePtr float64)
- func Tk_CanvasGetCoordFromObj(interp unsafe.Pointer, canvas unsafe.Pointer, object unsafe.Pointer) (result int, doublePtr float64)
- func Tk_CanvasGetTextInfo(canvas unsafe.Pointer) unsafe.Pointer
- func Tk_CanvasPsBitmap(interp unsafe.Pointer, canvas unsafe.Pointer, bitmap int, x int, y int, ...) int
- func Tk_CanvasPsFont(interp unsafe.Pointer, canvas unsafe.Pointer, font unsafe.Pointer) int
- func Tk_CanvasPsOutline(canvas unsafe.Pointer, item unsafe.Pointer, outline unsafe.Pointer) int
- func Tk_CanvasPsPath(interp unsafe.Pointer, canvas unsafe.Pointer, numPoints int) (coordPtr float64)
- func Tk_CanvasPsStipple(interp unsafe.Pointer, canvas unsafe.Pointer, bitmap int) int
- func Tk_CanvasPsY(canvas unsafe.Pointer, y float64) float64
- func Tk_CanvasSetOffset(canvas unsafe.Pointer, gc unsafe.Pointer, offset unsafe.Pointer)
- func Tk_CanvasSetStippleOrigin(canvas unsafe.Pointer, gc unsafe.Pointer)
- func Tk_CanvasTagsParseProc(clientData unsafe.Pointer, interp unsafe.Pointer, tkwin unsafe.Pointer, ...) int
- func Tk_CanvasTagsPrintProc(clientData unsafe.Pointer, tkwin unsafe.Pointer, widgRec string, offset int, ...) string
- func Tk_CanvasTkwin(canvas unsafe.Pointer) unsafe.Pointer
- func Tk_CanvasWindowCoords(canvas unsafe.Pointer, x float64, y float64) (screenXPtr int16, screenYPtr int16)
- func Tk_ChangeOutlineGC(canvas unsafe.Pointer, item unsafe.Pointer, outline unsafe.Pointer) int
- func Tk_ChangeWindowAttributes(tkwin unsafe.Pointer, valueMask int, attsPtr unsafe.Pointer)
- func Tk_CharBbox(layout unsafe.Pointer, index int) (result int, xPtr int32, yPtr int32, widthPtr int32, heightPtr int32)
- func Tk_ClearSelection(tkwin unsafe.Pointer, selection int)
- func Tk_ClipboardAppend(interp unsafe.Pointer, tkwin unsafe.Pointer, target int, format int, ...) int
- func Tk_ClipboardClear(interp unsafe.Pointer, tkwin unsafe.Pointer) int
- func Tk_CollapseMotionEvents(display unsafe.Pointer, collapse int) int
- func Tk_ComputeTextLayout(font unsafe.Pointer, str string, numChars int, wrapLength int, justify Justify, ...) (result unsafe.Pointer, widthPtr int32, heightPtr int32)
- func Tk_ConfigOutlineGC(gcValues unsafe.Pointer, canvas unsafe.Pointer, item unsafe.Pointer, ...) int
- func Tk_ConfigureInfo(interp unsafe.Pointer, tkwin unsafe.Pointer, specs unsafe.Pointer, ...) int
- func Tk_ConfigureValue(interp unsafe.Pointer, tkwin unsafe.Pointer, specs unsafe.Pointer, ...) int
- func Tk_ConfigureWidget(interp unsafe.Pointer, tkwin unsafe.Pointer, specs unsafe.Pointer, argc int, ...) int
- func Tk_ConfigureWindow(tkwin unsafe.Pointer, valueMask int, valuePtr unsafe.Pointer)
- func Tk_CoordsToWindow(rootX int, rootY int, tkwin unsafe.Pointer) unsafe.Pointer
- func Tk_CreateAnonymousWindow(interp unsafe.Pointer, parent unsafe.Pointer, screenName string) unsafe.Pointer
- func Tk_CreateBinding(interp unsafe.Pointer, object unsafe.Pointer, eventStr string, command string, ...) (result int, bindingTable int32)
- func Tk_CreateBindingTable(interp unsafe.Pointer) unsafe.Pointer
- func Tk_CreateClientMessageHandler(proc unsafe.Pointer)
- func Tk_CreateConsoleWindow(interp unsafe.Pointer) int
- func Tk_CreateErrorHandler(display unsafe.Pointer, errNum int, request int, minorCode int, ...) unsafe.Pointer
- func Tk_CreateEventHandler(token unsafe.Pointer, mask int, proc unsafe.Pointer, clientData unsafe.Pointer)
- func Tk_CreateGenericHandler(proc unsafe.Pointer, clientData unsafe.Pointer)
- func Tk_CreateImageType(typePtr unsafe.Pointer)
- func Tk_CreateItemType(typePtr unsafe.Pointer)
- func Tk_CreateOldImageType(typePtr unsafe.Pointer)
- func Tk_CreateOldPhotoImageFormat(formatPtr unsafe.Pointer)
- func Tk_CreateOptionTable(interp unsafe.Pointer, templatePtr unsafe.Pointer) unsafe.Pointer
- func Tk_CreateOutline(outline unsafe.Pointer)
- func Tk_CreatePhotoImageFormat(formatPtr unsafe.Pointer)
- func Tk_CreateSelHandler(tkwin unsafe.Pointer, selection int, target int, proc unsafe.Pointer, ...)
- func Tk_CreateSmoothMethod(interp unsafe.Pointer, method unsafe.Pointer)
- func Tk_CreateStyle(name string, engine unsafe.Pointer, clientData unsafe.Pointer) unsafe.Pointer
- func Tk_CreateWindow(interp unsafe.Pointer, parent unsafe.Pointer, name string, screenName string) unsafe.Pointer
- func Tk_CreateWindowFromPath(interp unsafe.Pointer, tkwin unsafe.Pointer, pathName string, ...) unsafe.Pointer
- func Tk_DefineBitmap(interp unsafe.Pointer, name string, source string, width int, height int) int
- func Tk_DefineCursor(window unsafe.Pointer, cursor unsafe.Pointer)
- func Tk_DeleteAllBindings(object unsafe.Pointer) (bindingTable int32)
- func Tk_DeleteBinding(interp unsafe.Pointer, object unsafe.Pointer, eventStr string) (result int, bindingTable int32)
- func Tk_DeleteBindingTable() (bindingTable int32)
- func Tk_DeleteClientMessageHandler(proc unsafe.Pointer)
- func Tk_DeleteErrorHandler(handler unsafe.Pointer)
- func Tk_DeleteEventHandler(token unsafe.Pointer, mask int, proc unsafe.Pointer, clientData unsafe.Pointer)
- func Tk_DeleteGenericHandler(proc unsafe.Pointer, clientData unsafe.Pointer)
- func Tk_DeleteImage(interp unsafe.Pointer, name string)
- func Tk_DeleteOptionTable(optionTable unsafe.Pointer)
- func Tk_DeleteOutline(display unsafe.Pointer, outline unsafe.Pointer)
- func Tk_DeleteSelHandler(tkwin unsafe.Pointer, selection int, target int)
- func Tk_DestroyWindow(tkwin unsafe.Pointer)
- func Tk_DisplayName(tkwin unsafe.Pointer) string
- func Tk_DistanceToTextLayout(layout unsafe.Pointer, x int, y int) int
- func Tk_DitherPhoto(handle unsafe.Pointer, x int, y int, width int, height int)
- func Tk_Draw3DRectangle(tkwin unsafe.Pointer, drawable int, border unsafe.Pointer, x int, y int, ...)
- func Tk_DrawChars(display unsafe.Pointer, drawable int, gc unsafe.Pointer, tkfont unsafe.Pointer, ...)
- func Tk_DrawElement(style unsafe.Pointer, element unsafe.Pointer, recordPtr string, ...)
- func Tk_DrawFocusHighlight(tkwin unsafe.Pointer, gc unsafe.Pointer, width int, drawable int)
- func Tk_DrawTextLayout(display unsafe.Pointer, drawable int, gc unsafe.Pointer, layout unsafe.Pointer, ...)
- func Tk_Fill3DRectangle(tkwin unsafe.Pointer, drawable int, border unsafe.Pointer, x int, y int, ...)
- func Tk_FindPhoto(interp unsafe.Pointer, imageName string) unsafe.Pointer
- func Tk_FontId(font unsafe.Pointer) int
- func Tk_Free3DBorder(border unsafe.Pointer)
- func Tk_Free3DBorderFromObj(tkwin unsafe.Pointer, objPtr unsafe.Pointer)
- func Tk_FreeBitmap(display unsafe.Pointer, bitmap int)
- func Tk_FreeBitmapFromObj(tkwin unsafe.Pointer, objPtr unsafe.Pointer)
- func Tk_FreeColorFromObj(tkwin unsafe.Pointer, objPtr unsafe.Pointer)
- func Tk_FreeColormap(display unsafe.Pointer, colormap int)
- func Tk_FreeConfigOptions(recordPtr string, optionToken unsafe.Pointer, tkwin unsafe.Pointer)
- func Tk_FreeCursor(display unsafe.Pointer, cursor unsafe.Pointer)
- func Tk_FreeCursorFromObj(tkwin unsafe.Pointer, objPtr unsafe.Pointer)
- func Tk_FreeFont(f unsafe.Pointer)
- func Tk_FreeFontFromObj(tkwin unsafe.Pointer, objPtr unsafe.Pointer)
- func Tk_FreeGC(display unsafe.Pointer, gc unsafe.Pointer)
- func Tk_FreeImage(image unsafe.Pointer)
- func Tk_FreeOptions(specs unsafe.Pointer, widgRec string, display unsafe.Pointer, needFlags int)
- func Tk_FreePixmap(display unsafe.Pointer, pixmap int)
- func Tk_FreeSavedOptions(savePtr unsafe.Pointer)
- func Tk_FreeStyle(style unsafe.Pointer)
- func Tk_FreeStyleFromObj(objPtr unsafe.Pointer)
- func Tk_FreeTextLayout(textLayout unsafe.Pointer)
- func Tk_FreeXId(display unsafe.Pointer, xid int)
- func Tk_GeometryRequest(tkwin unsafe.Pointer, reqWidth int, reqHeight int)
- func Tk_Get3DBorder(interp unsafe.Pointer, tkwin unsafe.Pointer, colorName string) unsafe.Pointer
- func Tk_Get3DBorderFromObj(tkwin unsafe.Pointer, objPtr unsafe.Pointer) unsafe.Pointer
- func Tk_GetAllBindings(interp unsafe.Pointer, object unsafe.Pointer) (bindingTable int32)
- func Tk_GetAtomName(tkwin unsafe.Pointer, atom int) string
- func Tk_GetBinding(interp unsafe.Pointer, object unsafe.Pointer, eventStr string) (result string, bindingTable int32)
- func Tk_GetBitmap(interp unsafe.Pointer, tkwin unsafe.Pointer, str string) int
- func Tk_GetBitmapFromData(interp unsafe.Pointer, tkwin unsafe.Pointer, source string, width int, ...) int
- func Tk_GetBitmapFromObj(tkwin unsafe.Pointer, objPtr unsafe.Pointer) int
- func Tk_GetCapStyle(interp unsafe.Pointer, str string) (result int, capPtr int32)
- func Tk_GetColor(interp unsafe.Pointer, tkwin unsafe.Pointer, name string) unsafe.Pointer
- func Tk_GetColorFromObj(tkwin unsafe.Pointer, objPtr unsafe.Pointer) unsafe.Pointer
- func Tk_GetColormap(interp unsafe.Pointer, tkwin unsafe.Pointer, str string) int
- func Tk_GetCursor(interp unsafe.Pointer, tkwin unsafe.Pointer, str string) unsafe.Pointer
- func Tk_GetCursorFromData(interp unsafe.Pointer, tkwin unsafe.Pointer, source string, mask string, ...) unsafe.Pointer
- func Tk_GetCursorFromObj(tkwin unsafe.Pointer, objPtr unsafe.Pointer) unsafe.Pointer
- func Tk_GetDash(interp unsafe.Pointer, value string, dash unsafe.Pointer) int
- func Tk_GetElementBorderWidth(style unsafe.Pointer, element unsafe.Pointer, recordPtr string, ...) int
- func Tk_GetElementBox(style unsafe.Pointer, element unsafe.Pointer, recordPtr string, ...) (xPtr int32, yPtr int32, widthPtr int32, heightPtr int32)
- func Tk_GetElementId(name string) int
- func Tk_GetElementSize(style unsafe.Pointer, element unsafe.Pointer, recordPtr string, ...) (widthPtr int32, heightPtr int32)
- func Tk_GetFont(interp unsafe.Pointer, tkwin unsafe.Pointer, str string) unsafe.Pointer
- func Tk_GetFontFromObj(tkwin unsafe.Pointer, objPtr unsafe.Pointer) unsafe.Pointer
- func Tk_GetFontMetrics(font unsafe.Pointer, fmPtr unsafe.Pointer)
- func Tk_GetGC(tkwin unsafe.Pointer, valueMask int, valuePtr unsafe.Pointer) unsafe.Pointer
- func Tk_GetImage(interp unsafe.Pointer, tkwin unsafe.Pointer, name string, ...) unsafe.Pointer
- func Tk_GetImageMasterData(interp unsafe.Pointer, name string, typePtrPtr unsafe.Pointer) unsafe.Pointer
- func Tk_GetItemTypes() unsafe.Pointer
- func Tk_GetJoinStyle(interp unsafe.Pointer, str string) (result int, joinPtr int32)
- func Tk_GetMMFromObj(interp unsafe.Pointer, tkwin unsafe.Pointer, objPtr unsafe.Pointer) (result int, doublePtr float64)
- func Tk_GetNumMainWindows() int
- func Tk_GetOption(tkwin unsafe.Pointer, name string, className string) string
- func Tk_GetOptionInfo(interp unsafe.Pointer, recordPtr string, optionTable unsafe.Pointer, ...) unsafe.Pointer
- func Tk_GetOptionValue(interp unsafe.Pointer, recordPtr string, optionTable unsafe.Pointer, ...) unsafe.Pointer
- func Tk_GetPixels(interp unsafe.Pointer, tkwin unsafe.Pointer, str string) (result int, intPtr int32)
- func Tk_GetPixelsFromObj(interp unsafe.Pointer, tkwin unsafe.Pointer, objPtr unsafe.Pointer) (result int, intPtr int32)
- func Tk_GetPixmap(display unsafe.Pointer, d int, width int, height int, depth int) int
- func Tk_GetRelief(interp unsafe.Pointer, name string) (result int, reliefPtr int32)
- func Tk_GetReliefFromObj(interp unsafe.Pointer, objPtr unsafe.Pointer) (result int, resultPtr int32)
- func Tk_GetRootCoords(tkwin unsafe.Pointer) (xPtr int32, yPtr int32)
- func Tk_GetScreenMM(interp unsafe.Pointer, tkwin unsafe.Pointer, str string) (result int, doublePtr float64)
- func Tk_GetScrollInfo(interp unsafe.Pointer, argc int, argv string) (result int, dblPtr float64, intPtr int32)
- func Tk_GetScrollInfoObj(interp unsafe.Pointer, objc_ int, objv unsafe.Pointer) (result int, dblPtr float64, intPtr int32)
- func Tk_GetSelection(interp unsafe.Pointer, tkwin unsafe.Pointer, selection int, target int, ...) int
- func Tk_GetStyle(interp unsafe.Pointer, name string) unsafe.Pointer
- func Tk_GetStyleEngine(name string) unsafe.Pointer
- func Tk_GetStyleFromObj(objPtr unsafe.Pointer) unsafe.Pointer
- func Tk_GetStyledElement(style unsafe.Pointer, elementId int, optionTable unsafe.Pointer) unsafe.Pointer
- func Tk_GetUid(str string) string
- func Tk_GetUserInactiveTime(dpy unsafe.Pointer) int
- func Tk_GetVRootGeometry(tkwin unsafe.Pointer) (xPtr int32, yPtr int32, widthPtr int32, heightPtr int32)
- func Tk_GetVisual(interp unsafe.Pointer, tkwin unsafe.Pointer, str string) (result unsafe.Pointer, depthPtr int32, colormapPtr int32)
- func Tk_Grab(interp unsafe.Pointer, tkwin unsafe.Pointer, grabGlobal int) int
- func Tk_HandleEvent(eventPtr unsafe.Pointer)
- func Tk_IdToWindow(display unsafe.Pointer, window unsafe.Pointer) unsafe.Pointer
- func Tk_ImageChanged(master unsafe.Pointer, x int, y int, width int, height int, imageWidth int, ...)
- func Tk_Init(interp unsafe.Pointer) int
- func Tk_InitConsoleChannels(interp unsafe.Pointer)
- func Tk_InitOptions(interp unsafe.Pointer, recordPtr string, optionToken unsafe.Pointer, ...) int
- func Tk_InternAtom(tkwin unsafe.Pointer, name string) int
- func Tk_Interp(tkwin unsafe.Pointer) unsafe.Pointer
- func Tk_IntersectTextLayout(layout unsafe.Pointer, x int, y int, width int, height int) int
- func Tk_MainEx(argc int, argv string, appInitProc unsafe.Pointer, interp unsafe.Pointer)
- func Tk_MainLoop()
- func Tk_MainWindow(interp unsafe.Pointer) unsafe.Pointer
- func Tk_MaintainGeometry(slave unsafe.Pointer, master unsafe.Pointer, x int, y int, width int, ...)
- func Tk_MakeWindowExist(tkwin unsafe.Pointer)
- func Tk_ManageGeometry(tkwin unsafe.Pointer, mgrPtr unsafe.Pointer, clientData unsafe.Pointer)
- func Tk_MapWindow(tkwin unsafe.Pointer)
- func Tk_MeasureChars(tkfont unsafe.Pointer, source string, numBytes int, maxPixels int, flags int) (result int, lengthPtr int32)
- func Tk_MoveResizeWindow(tkwin unsafe.Pointer, x int, y int, width int, height int)
- func Tk_MoveToplevelWindow(tkwin unsafe.Pointer, x int, y int)
- func Tk_MoveWindow(tkwin unsafe.Pointer, x int, y int)
- func Tk_NameOf3DBorder(border unsafe.Pointer) string
- func Tk_NameOfAnchor(anchor Anchor) string
- func Tk_NameOfBitmap(display unsafe.Pointer, bitmap int) string
- func Tk_NameOfCapStyle(cap_ int) string
- func Tk_NameOfCursor(display unsafe.Pointer, cursor unsafe.Pointer) string
- func Tk_NameOfFont(font unsafe.Pointer) string
- func Tk_NameOfImage(imageMaster unsafe.Pointer) string
- func Tk_NameOfJoinStyle(join int) string
- func Tk_NameOfJustify(justify Justify) string
- func Tk_NameOfRelief(relief int) string
- func Tk_NameOfStyle(style unsafe.Pointer) string
- func Tk_NameToWindow(interp unsafe.Pointer, pathName string, tkwin unsafe.Pointer) unsafe.Pointer
- func Tk_OwnSelection(tkwin unsafe.Pointer, selection int, proc unsafe.Pointer, ...)
- func Tk_ParseArgv(interp unsafe.Pointer, tkwin unsafe.Pointer, argv string, ...) (result int, argcPtr int32)
- func Tk_PhotoBlank(handle unsafe.Pointer)
- func Tk_PhotoExpand(interp unsafe.Pointer, handle unsafe.Pointer, width int, height int) int
- func Tk_PhotoExpand_Panic(handle unsafe.Pointer, width int, height int)
- func Tk_PhotoGetImage(handle unsafe.Pointer, blockPtr unsafe.Pointer) int
- func Tk_PhotoGetSize(handle unsafe.Pointer) (widthPtr int32, heightPtr int32)
- func Tk_PhotoPutBlock(interp unsafe.Pointer, handle unsafe.Pointer, blockPtr unsafe.Pointer, x int, ...) int
- func Tk_PhotoPutBlock_NoComposite(handle unsafe.Pointer, blockPtr unsafe.Pointer, x int, y int, width int, ...)
- func Tk_PhotoPutBlock_Panic(handle unsafe.Pointer, blockPtr unsafe.Pointer, x int, y int, width int, ...)
- func Tk_PhotoPutZoomedBlock(interp unsafe.Pointer, handle unsafe.Pointer, blockPtr unsafe.Pointer, x int, ...) int
- func Tk_PhotoPutZoomedBlock_NoComposite(handle unsafe.Pointer, blockPtr unsafe.Pointer, x int, y int, width int, ...)
- func Tk_PhotoPutZoomedBlock_Panic(handle unsafe.Pointer, blockPtr unsafe.Pointer, x int, y int, width int, ...)
- func Tk_PhotoSetSize(interp unsafe.Pointer, handle unsafe.Pointer, width int, height int) int
- func Tk_PhotoSetSize_Panic(handle unsafe.Pointer, width int, height int)
- func Tk_PointToChar(layout unsafe.Pointer, x int, y int) int
- func Tk_PostscriptBitmap(interp unsafe.Pointer, tkwin unsafe.Pointer, psInfo unsafe.Pointer, bitmap int, ...) int
- func Tk_PostscriptFont(interp unsafe.Pointer, psInfo unsafe.Pointer, font unsafe.Pointer) int
- func Tk_PostscriptFontName(tkfont unsafe.Pointer, dsPtr unsafe.Pointer) int
- func Tk_PostscriptImage(image unsafe.Pointer, interp unsafe.Pointer, tkwin unsafe.Pointer, ...) int
- func Tk_PostscriptPath(interp unsafe.Pointer, psInfo unsafe.Pointer, numPoints int) (coordPtr float64)
- func Tk_PostscriptPhoto(interp unsafe.Pointer, blockPtr unsafe.Pointer, psInfo unsafe.Pointer, ...) int
- func Tk_PostscriptStipple(interp unsafe.Pointer, tkwin unsafe.Pointer, psInfo unsafe.Pointer, bitmap int) int
- func Tk_PostscriptY(y float64, psInfo unsafe.Pointer) float64
- func Tk_PreserveColormap(display unsafe.Pointer, colormap int)
- func Tk_QueueWindowEvent(eventPtr unsafe.Pointer, position unsafe.Pointer)
- func Tk_RedrawImage(image unsafe.Pointer, imageX int, imageY int, width int, height int, ...)
- func Tk_RegisterStyleEngine(name string, parent unsafe.Pointer) unsafe.Pointer
- func Tk_RegisterStyledElement(engine unsafe.Pointer, templatePtr unsafe.Pointer) int
- func Tk_ResetOutlineGC(canvas unsafe.Pointer, item unsafe.Pointer, outline unsafe.Pointer) int
- func Tk_ResetUserInactiveTime(dpy unsafe.Pointer)
- func Tk_ResizeWindow(tkwin unsafe.Pointer, width int, height int)
- func Tk_RestackWindow(tkwin unsafe.Pointer, aboveBelow int, other unsafe.Pointer) int
- func Tk_RestoreSavedOptions(savePtr unsafe.Pointer)
- func Tk_RestrictEvents(proc unsafe.Pointer, arg unsafe.Pointer, prevArgPtr unsafe.Pointer) unsafe.Pointer
- func Tk_SafeInit(interp unsafe.Pointer) int
- func Tk_SetAppName(tkwin unsafe.Pointer, name string) string
- func Tk_SetBackgroundFromBorder(tkwin unsafe.Pointer, border unsafe.Pointer)
- func Tk_SetCaretPos(tkwin unsafe.Pointer, x int, y int, height int)
- func Tk_SetClass(tkwin unsafe.Pointer, className string)
- func Tk_SetClassProcs(tkwin unsafe.Pointer, procs unsafe.Pointer, instanceData unsafe.Pointer)
- func Tk_SetGrid(tkwin unsafe.Pointer, reqWidth int, reqHeight int, gridWidth int, ...)
- func Tk_SetInternalBorder(tkwin unsafe.Pointer, width int)
- func Tk_SetInternalBorderEx(tkwin unsafe.Pointer, left int, right int, top int, bottom int)
- func Tk_SetMinimumRequestSize(tkwin unsafe.Pointer, minWidth int, minHeight int)
- func Tk_SetOptions(interp unsafe.Pointer, recordPtr string, optionTable unsafe.Pointer, objc_ int, ...) (result int, maskPtr int32)
- func Tk_SetTSOrigin(tkwin unsafe.Pointer, gc unsafe.Pointer, x int, y int)
- func Tk_SetWindowBackground(tkwin unsafe.Pointer, pixel int)
- func Tk_SetWindowBackgroundPixmap(tkwin unsafe.Pointer, pixmap int)
- func Tk_SetWindowBorder(tkwin unsafe.Pointer, pixel int)
- func Tk_SetWindowBorderPixmap(tkwin unsafe.Pointer, pixmap int)
- func Tk_SetWindowBorderWidth(tkwin unsafe.Pointer, width int)
- func Tk_SetWindowColormap(tkwin unsafe.Pointer, colormap int)
- func Tk_SetWindowVisual(tkwin unsafe.Pointer, visual unsafe.Pointer, depth int, colormap int) int
- func Tk_SizeOfBitmap(display unsafe.Pointer, bitmap int) (widthPtr int32, heightPtr int32)
- func Tk_SizeOfImage(image unsafe.Pointer) (widthPtr int32, heightPtr int32)
- func Tk_StrictMotif(tkwin unsafe.Pointer) int
- func Tk_TextLayoutToPostscript(interp unsafe.Pointer, layout unsafe.Pointer)
- func Tk_TextWidth(font unsafe.Pointer, str string, numBytes int) int
- func Tk_UndefineCursor(window unsafe.Pointer)
- func Tk_UnderlineChars(display unsafe.Pointer, drawable int, gc unsafe.Pointer, tkfont unsafe.Pointer, ...)
- func Tk_UnderlineTextLayout(display unsafe.Pointer, drawable int, gc unsafe.Pointer, layout unsafe.Pointer, ...)
- func Tk_Ungrab(tkwin unsafe.Pointer)
- func Tk_UnmaintainGeometry(slave unsafe.Pointer, master unsafe.Pointer)
- func Tk_UnmapWindow(tkwin unsafe.Pointer)
- func Tk_UnsetGrid(tkwin unsafe.Pointer)
- func Tk_UpdatePointer(tkwin unsafe.Pointer, x int, y int, state int)
- type Anchor
- type Configtypes
- type Depth
- type Display
- type Justify
- type Optiontype
- type Restrictaction
- type ScreenFormat
- type State
- type TclQueueposition
- type TclValuetype
- type TkStubHooks
- type TkStubs
- type XArc
- type XChar2b
- type XCharStruct
- type XColor
- func Tk_CanvasPsColor(interp unsafe.Pointer, canvas unsafe.Pointer) (result int, colorPtr XColor)
- func Tk_FreeColor() (colorPtr XColor)
- func Tk_GCForColor(drawable int) (result unsafe.Pointer, colorPtr XColor)
- func Tk_GetColorByValue(tkwin unsafe.Pointer) (result unsafe.Pointer, colorPtr XColor)
- func Tk_NameOfColor() (result string, colorPtr XColor)
- func Tk_PostscriptColor(interp unsafe.Pointer, psInfo unsafe.Pointer) (result int, colorPtr XColor)
- type XDisplay
- type XExtCodes
- type XExtData
- type XFontSet
- type XFontSetExtents
- type XHostAddress
- type XIC
- type XIM
- type XIMCallback
- type XIMCaretDirection
- type XIMCaretStyle
- type XIMPreeditCaretCallbackStruct
- type XIMPreeditDrawCallbackStruct
- type XIMStatusDataType
- type XIMStatusDrawCallbackStruct
- type XIMStyles
- type XIMText
- type XImage
- type XKeyboardControl
- type XKeyboardState
- type XPixmapFormatValues
- type XPoint
- type XRectangle
- type XSegment
- type XmbTextItem
- type XwcTextItem
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_3DBorderColor ¶
Tk_3DBorderColor calls the Tk framework function Tk_3DBorderColor.
func Tk_3DBorderGC ¶
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 ¶
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 ¶
Tk_AllocBitmapFromObj calls the Tk framework function Tk_AllocBitmapFromObj.
func Tk_AllocColorFromObj ¶
func Tk_AllocColorFromObj(interp unsafe.Pointer, tkwin unsafe.Pointer, objPtr unsafe.Pointer) unsafe.Pointer
Tk_AllocColorFromObj calls the Tk framework function Tk_AllocColorFromObj.
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 ¶
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 ¶
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 ¶
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 ¶
Tk_CanvasPsFont calls the Tk framework function Tk_CanvasPsFont.
func Tk_CanvasPsOutline ¶
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 ¶
Tk_CanvasPsStipple calls the Tk framework function Tk_CanvasPsStipple.
func Tk_CanvasPsY ¶
Tk_CanvasPsY calls the Tk framework function Tk_CanvasPsY.
func Tk_CanvasSetOffset ¶
Tk_CanvasSetOffset calls the Tk framework function Tk_CanvasSetOffset.
func Tk_CanvasSetStippleOrigin ¶
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 ¶
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 ¶
Tk_ChangeOutlineGC calls the Tk framework function Tk_ChangeOutlineGC.
func Tk_ChangeWindowAttributes ¶
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 ¶
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 ¶
Tk_ClipboardClear calls the Tk framework function Tk_ClipboardClear.
func Tk_CollapseMotionEvents ¶
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 ¶
Tk_ConfigureWindow calls the Tk framework function Tk_ConfigureWindow.
func Tk_CoordsToWindow ¶
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 ¶
Tk_CreateBindingTable calls the Tk framework function Tk_CreateBindingTable.
func Tk_CreateClientMessageHandler ¶
Tk_CreateClientMessageHandler calls the Tk framework function Tk_CreateClientMessageHandler.
func Tk_CreateConsoleWindow ¶
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 ¶
Tk_CreateGenericHandler calls the Tk framework function Tk_CreateGenericHandler.
func Tk_CreateImageType ¶
Tk_CreateImageType calls the Tk framework function Tk_CreateImageType.
func Tk_CreateItemType ¶
Tk_CreateItemType calls the Tk framework function Tk_CreateItemType.
func Tk_CreateOldImageType ¶
Tk_CreateOldImageType calls the Tk framework function Tk_CreateOldImageType.
func Tk_CreateOldPhotoImageFormat ¶
Tk_CreateOldPhotoImageFormat calls the Tk framework function Tk_CreateOldPhotoImageFormat.
func Tk_CreateOptionTable ¶
Tk_CreateOptionTable calls the Tk framework function Tk_CreateOptionTable.
func Tk_CreateOutline ¶
Tk_CreateOutline calls the Tk framework function Tk_CreateOutline.
func Tk_CreatePhotoImageFormat ¶
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 ¶
Tk_CreateSmoothMethod calls the Tk framework function Tk_CreateSmoothMethod.
func Tk_CreateStyle ¶
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 ¶
Tk_DefineBitmap calls the Tk framework function Tk_DefineBitmap.
func Tk_DefineCursor ¶
Tk_DefineCursor calls the Tk framework function Tk_DefineCursor.
func Tk_DeleteAllBindings ¶
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 ¶
Tk_DeleteClientMessageHandler calls the Tk framework function Tk_DeleteClientMessageHandler.
func Tk_DeleteErrorHandler ¶
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 ¶
Tk_DeleteGenericHandler calls the Tk framework function Tk_DeleteGenericHandler.
func Tk_DeleteImage ¶
Tk_DeleteImage calls the Tk framework function Tk_DeleteImage.
func Tk_DeleteOptionTable ¶
Tk_DeleteOptionTable calls the Tk framework function Tk_DeleteOptionTable.
func Tk_DeleteOutline ¶
Tk_DeleteOutline calls the Tk framework function Tk_DeleteOutline.
func Tk_DeleteSelHandler ¶
Tk_DeleteSelHandler calls the Tk framework function Tk_DeleteSelHandler.
func Tk_DestroyWindow ¶
Tk_DestroyWindow calls the Tk framework function Tk_DestroyWindow.
func Tk_DisplayName ¶
Tk_DisplayName calls the Tk framework function Tk_DisplayName.
func Tk_DistanceToTextLayout ¶
Tk_DistanceToTextLayout calls the Tk framework function Tk_DistanceToTextLayout.
func Tk_DitherPhoto ¶
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 ¶
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 ¶
Tk_FindPhoto calls the Tk framework function Tk_FindPhoto.
func Tk_Free3DBorder ¶
Tk_Free3DBorder calls the Tk framework function Tk_Free3DBorder.
func Tk_Free3DBorderFromObj ¶
Tk_Free3DBorderFromObj calls the Tk framework function Tk_Free3DBorderFromObj.
func Tk_FreeBitmap ¶
Tk_FreeBitmap calls the Tk framework function Tk_FreeBitmap.
func Tk_FreeBitmapFromObj ¶
Tk_FreeBitmapFromObj calls the Tk framework function Tk_FreeBitmapFromObj.
func Tk_FreeColorFromObj ¶
Tk_FreeColorFromObj calls the Tk framework function Tk_FreeColorFromObj.
func Tk_FreeColormap ¶
Tk_FreeColormap calls the Tk framework function Tk_FreeColormap.
func Tk_FreeConfigOptions ¶
Tk_FreeConfigOptions calls the Tk framework function Tk_FreeConfigOptions.
func Tk_FreeCursor ¶
Tk_FreeCursor calls the Tk framework function Tk_FreeCursor.
func Tk_FreeCursorFromObj ¶
Tk_FreeCursorFromObj calls the Tk framework function Tk_FreeCursorFromObj.
func Tk_FreeFont ¶
Tk_FreeFont calls the Tk framework function Tk_FreeFont.
func Tk_FreeFontFromObj ¶
Tk_FreeFontFromObj calls the Tk framework function Tk_FreeFontFromObj.
func Tk_FreeImage ¶
Tk_FreeImage calls the Tk framework function Tk_FreeImage.
func Tk_FreeOptions ¶
Tk_FreeOptions calls the Tk framework function Tk_FreeOptions.
func Tk_FreePixmap ¶
Tk_FreePixmap calls the Tk framework function Tk_FreePixmap.
func Tk_FreeSavedOptions ¶
Tk_FreeSavedOptions calls the Tk framework function Tk_FreeSavedOptions.
func Tk_FreeStyle ¶
Tk_FreeStyle calls the Tk framework function Tk_FreeStyle.
func Tk_FreeStyleFromObj ¶
Tk_FreeStyleFromObj calls the Tk framework function Tk_FreeStyleFromObj.
func Tk_FreeTextLayout ¶
Tk_FreeTextLayout calls the Tk framework function Tk_FreeTextLayout.
func Tk_FreeXId ¶
Tk_FreeXId calls the Tk framework function Tk_FreeXId.
func Tk_GeometryRequest ¶
Tk_GeometryRequest calls the Tk framework function Tk_GeometryRequest.
func Tk_Get3DBorder ¶
Tk_Get3DBorder calls the Tk framework function Tk_Get3DBorder.
func Tk_Get3DBorderFromObj ¶
Tk_Get3DBorderFromObj calls the Tk framework function Tk_Get3DBorderFromObj.
func Tk_GetAllBindings ¶
Tk_GetAllBindings calls the Tk framework function Tk_GetAllBindings.
func Tk_GetAtomName ¶
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 ¶
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 ¶
Tk_GetBitmapFromObj calls the Tk framework function Tk_GetBitmapFromObj.
func Tk_GetCapStyle ¶
Tk_GetCapStyle calls the Tk framework function Tk_GetCapStyle.
func Tk_GetColor ¶
Tk_GetColor calls the Tk framework function Tk_GetColor.
func Tk_GetColorFromObj ¶
Tk_GetColorFromObj calls the Tk framework function Tk_GetColorFromObj.
func Tk_GetColormap ¶
Tk_GetColormap calls the Tk framework function Tk_GetColormap.
func Tk_GetCursor ¶
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 ¶
Tk_GetCursorFromObj calls the Tk framework function Tk_GetCursorFromObj.
func Tk_GetDash ¶
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 ¶
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 ¶
Tk_GetFont calls the Tk framework function Tk_GetFont.
func Tk_GetFontFromObj ¶
Tk_GetFontFromObj calls the Tk framework function Tk_GetFontFromObj.
func Tk_GetFontMetrics ¶
Tk_GetFontMetrics calls the Tk framework function Tk_GetFontMetrics.
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 ¶
Tk_GetItemTypes calls the Tk framework function Tk_GetItemTypes.
func Tk_GetJoinStyle ¶
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 ¶
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 ¶
Tk_GetPixmap calls the Tk framework function Tk_GetPixmap.
func Tk_GetRelief ¶
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 ¶
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 ¶
Tk_GetStyle calls the Tk framework function Tk_GetStyle.
func Tk_GetStyleEngine ¶
Tk_GetStyleEngine calls the Tk framework function Tk_GetStyleEngine.
func Tk_GetStyleFromObj ¶
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_GetUserInactiveTime ¶
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_HandleEvent ¶
Tk_HandleEvent calls the Tk framework function Tk_HandleEvent.
func Tk_IdToWindow ¶
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_InitConsoleChannels ¶
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 ¶
Tk_InternAtom calls the Tk framework function Tk_InternAtom.
func Tk_IntersectTextLayout ¶
Tk_IntersectTextLayout calls the Tk framework function Tk_IntersectTextLayout.
func Tk_MainWindow ¶
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 ¶
Tk_MakeWindowExist calls the Tk framework function Tk_MakeWindowExist.
func Tk_ManageGeometry ¶
Tk_ManageGeometry calls the Tk framework function Tk_ManageGeometry.
func Tk_MapWindow ¶
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 ¶
Tk_MoveResizeWindow calls the Tk framework function Tk_MoveResizeWindow.
func Tk_MoveToplevelWindow ¶
Tk_MoveToplevelWindow calls the Tk framework function Tk_MoveToplevelWindow.
func Tk_MoveWindow ¶
Tk_MoveWindow calls the Tk framework function Tk_MoveWindow.
func Tk_NameOf3DBorder ¶
Tk_NameOf3DBorder calls the Tk framework function Tk_NameOf3DBorder.
func Tk_NameOfAnchor ¶
Tk_NameOfAnchor calls the Tk framework function Tk_NameOfAnchor.
func Tk_NameOfBitmap ¶
Tk_NameOfBitmap calls the Tk framework function Tk_NameOfBitmap.
func Tk_NameOfCapStyle ¶
Tk_NameOfCapStyle calls the Tk framework function Tk_NameOfCapStyle.
func Tk_NameOfCursor ¶
Tk_NameOfCursor calls the Tk framework function Tk_NameOfCursor.
func Tk_NameOfFont ¶
Tk_NameOfFont calls the Tk framework function Tk_NameOfFont.
func Tk_NameOfImage ¶
Tk_NameOfImage calls the Tk framework function Tk_NameOfImage.
func Tk_NameOfJoinStyle ¶
Tk_NameOfJoinStyle calls the Tk framework function Tk_NameOfJoinStyle.
func Tk_NameOfJustify ¶
Tk_NameOfJustify calls the Tk framework function Tk_NameOfJustify.
func Tk_NameOfRelief ¶
Tk_NameOfRelief calls the Tk framework function Tk_NameOfRelief.
func Tk_NameOfStyle ¶
Tk_NameOfStyle calls the Tk framework function Tk_NameOfStyle.
func Tk_NameToWindow ¶
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 ¶
Tk_PhotoBlank calls the Tk framework function Tk_PhotoBlank.
func Tk_PhotoExpand ¶
Tk_PhotoExpand calls the Tk framework function Tk_PhotoExpand.
func Tk_PhotoExpand_Panic ¶
Tk_PhotoExpand_Panic calls the Tk framework function Tk_PhotoExpand_Panic.
func Tk_PhotoGetImage ¶
Tk_PhotoGetImage calls the Tk framework function Tk_PhotoGetImage.
func Tk_PhotoGetSize ¶
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 ¶
Tk_PhotoSetSize calls the Tk framework function Tk_PhotoSetSize.
func Tk_PhotoSetSize_Panic ¶
Tk_PhotoSetSize_Panic calls the Tk framework function Tk_PhotoSetSize_Panic.
func Tk_PointToChar ¶
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 ¶
Tk_PostscriptFont calls the Tk framework function Tk_PostscriptFont.
func Tk_PostscriptFontName ¶
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 ¶
Tk_PostscriptY calls the Tk framework function Tk_PostscriptY.
func Tk_PreserveColormap ¶
Tk_PreserveColormap calls the Tk framework function Tk_PreserveColormap.
func Tk_QueueWindowEvent ¶
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 ¶
Tk_RegisterStyleEngine calls the Tk framework function Tk_RegisterStyleEngine.
func Tk_RegisterStyledElement ¶
Tk_RegisterStyledElement calls the Tk framework function Tk_RegisterStyledElement.
func Tk_ResetOutlineGC ¶
Tk_ResetOutlineGC calls the Tk framework function Tk_ResetOutlineGC.
func Tk_ResetUserInactiveTime ¶
Tk_ResetUserInactiveTime calls the Tk framework function Tk_ResetUserInactiveTime.
func Tk_ResizeWindow ¶
Tk_ResizeWindow calls the Tk framework function Tk_ResizeWindow.
func Tk_RestackWindow ¶
Tk_RestackWindow calls the Tk framework function Tk_RestackWindow.
func Tk_RestoreSavedOptions ¶
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 ¶
Tk_SafeInit calls the Tk framework function Tk_SafeInit.
func Tk_SetAppName ¶
Tk_SetAppName calls the Tk framework function Tk_SetAppName.
func Tk_SetBackgroundFromBorder ¶
Tk_SetBackgroundFromBorder calls the Tk framework function Tk_SetBackgroundFromBorder.
func Tk_SetCaretPos ¶
Tk_SetCaretPos calls the Tk framework function Tk_SetCaretPos.
func Tk_SetClass ¶
Tk_SetClass calls the Tk framework function Tk_SetClass.
func Tk_SetClassProcs ¶
Tk_SetClassProcs calls the Tk framework function Tk_SetClassProcs.
func Tk_SetGrid ¶
Tk_SetGrid calls the Tk framework function Tk_SetGrid.
func Tk_SetInternalBorder ¶
Tk_SetInternalBorder calls the Tk framework function Tk_SetInternalBorder.
func Tk_SetInternalBorderEx ¶
Tk_SetInternalBorderEx calls the Tk framework function Tk_SetInternalBorderEx.
func Tk_SetMinimumRequestSize ¶
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 ¶
Tk_SetTSOrigin calls the Tk framework function Tk_SetTSOrigin.
func Tk_SetWindowBackground ¶
Tk_SetWindowBackground calls the Tk framework function Tk_SetWindowBackground.
func Tk_SetWindowBackgroundPixmap ¶
Tk_SetWindowBackgroundPixmap calls the Tk framework function Tk_SetWindowBackgroundPixmap.
func Tk_SetWindowBorder ¶
Tk_SetWindowBorder calls the Tk framework function Tk_SetWindowBorder.
func Tk_SetWindowBorderPixmap ¶
Tk_SetWindowBorderPixmap calls the Tk framework function Tk_SetWindowBorderPixmap.
func Tk_SetWindowBorderWidth ¶
Tk_SetWindowBorderWidth calls the Tk framework function Tk_SetWindowBorderWidth.
func Tk_SetWindowColormap ¶
Tk_SetWindowColormap calls the Tk framework function Tk_SetWindowColormap.
func Tk_SetWindowVisual ¶
Tk_SetWindowVisual calls the Tk framework function Tk_SetWindowVisual.
func Tk_SizeOfBitmap ¶
Tk_SizeOfBitmap calls the Tk framework function Tk_SizeOfBitmap.
func Tk_SizeOfImage ¶
Tk_SizeOfImage calls the Tk framework function Tk_SizeOfImage.
func Tk_StrictMotif ¶
Tk_StrictMotif calls the Tk framework function Tk_StrictMotif.
func Tk_TextLayoutToPostscript ¶
Tk_TextLayoutToPostscript calls the Tk framework function Tk_TextLayoutToPostscript.
func Tk_TextWidth ¶
Tk_TextWidth calls the Tk framework function Tk_TextWidth.
func Tk_UndefineCursor ¶
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_UnmaintainGeometry ¶
Tk_UnmaintainGeometry calls the Tk framework function Tk_UnmaintainGeometry.
func Tk_UnmapWindow ¶
Tk_UnmapWindow calls the Tk framework function Tk_UnmapWindow.
func Tk_UnsetGrid ¶
Tk_UnsetGrid calls the Tk framework function Tk_UnsetGrid.
Types ¶
type Anchor ¶ added in v0.17.0
type Anchor int64
func Tk_GetAnchor ¶
Tk_GetAnchor calls the Tk framework function Tk_GetAnchor.
type Configtypes ¶ added in v0.17.0
type Configtypes int64
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 Justify ¶ added in v0.17.0
type Justify int64
func Tk_GetJustify ¶
Tk_GetJustify calls the Tk framework function Tk_GetJustify.
type Optiontype ¶ added in v0.17.0
type Optiontype int64
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 int64
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 TclQueueposition ¶ added in v0.17.0
type TclQueueposition int64
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 int64
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 TkStubs ¶
type TkStubs struct {
Magic int
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 XCharStruct ¶
type XColor ¶
func Tk_CanvasPsColor ¶
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 ¶
Tk_GCForColor calls the Tk framework function Tk_GCForColor.
func Tk_GetColorByValue ¶
Tk_GetColorByValue calls the Tk framework function Tk_GetColorByValue.
func Tk_NameOfColor ¶
Tk_NameOfColor calls the Tk framework function Tk_NameOfColor.
type XDisplay ¶
type XDisplay struct {
ExtData unsafe.Pointer
FreeFuncs unsafe.Pointer
Fd int
ConnChecker int
ProtoMajorVersion int
ProtoMinorVersion int
Vendor unsafe.Pointer
ResourceBase int
ResourceMask int
ResourceID int
ResourceShift int
XID unsafe.Pointer
ByteOrder int
BitmapUnit int
BitmapPad int
BitmapBitOrder int
Nformats int
PixmapFormat unsafe.Pointer
Vnumber int
Release int
Head unsafe.Pointer
Tail unsafe.Pointer
Qlen int
Request uint
LastReq unsafe.Pointer
Buffer unsafe.Pointer
Bufptr unsafe.Pointer
Bufmax unsafe.Pointer
MaxRequestSize uint
Db unsafe.Pointer
Synchandler unsafe.Pointer
DisplayName unsafe.Pointer
DefaultScreen int
Nscreens int
Screens unsafe.Pointer
MotionBuffer uint
Flags uint
MinKeycode int
MaxKeycode int
Keysyms unsafe.Pointer
Modifiermap unsafe.Pointer
KeysymsPerKeycode int
Xdefaults unsafe.Pointer
ScratchBuffer unsafe.Pointer
ScratchLength uint
ExtNumber int
ExtProcs unsafe.Pointer
EventVec unsafe.Pointer
WireVec unsafe.Pointer
LockMeaning int
Lock unsafe.Pointer
AsyncHandlers unsafe.Pointer
BigreqSize uint
LockFns unsafe.Pointer
KeyBindings unsafe.Pointer
CursorFont int
Atoms unsafe.Pointer
ModeSwitch uint
ContextDb unsafe.Pointer
ErrorVec unsafe.Pointer
Cms unsafe.Pointer
ImFilters unsafe.Pointer
Qfree unsafe.Pointer
NextEventSerialNum uint
Savedsynchandler unsafe.Pointer
}
type XFontSetExtents ¶
type XFontSetExtents struct {
MaxInkExtent XRectangle
MaxLogicalExtent XRectangle
}
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
String returns the XIMCaretDirection constant's name, or its numeric form when the value is not a known constant.
type XIMCaretStyle ¶
type XIMCaretStyle int64
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 int
Direction XIMCaretDirection
Style XIMCaretStyle
}
type XIMStatusDataType ¶
type XIMStatusDataType int64
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
}