TkStubs

Struct TkStubs 

Source
#[repr(C)]
pub struct TkStubs {
Show 293 fields pub magic: c_int, pub hooks: *const TkStubHooks, pub tk_MainLoop: Option<unsafe extern "C" fn()>, pub tk_3DBorderColor: Option<unsafe extern "C" fn(border: Tk_3DBorder) -> *mut XColor>, pub tk_3DBorderGC: Option<unsafe extern "C" fn(tkwin: Tk_Window, border: Tk_3DBorder, which: c_int) -> GC>, pub tk_3DHorizontalBevel: Option<unsafe extern "C" fn(tkwin: Tk_Window, drawable: Drawable, border: Tk_3DBorder, x: c_int, y: c_int, width: c_int, height: c_int, leftIn: c_int, rightIn: c_int, topBevel: c_int, relief: c_int)>, pub tk_3DVerticalBevel: Option<unsafe extern "C" fn(tkwin: Tk_Window, drawable: Drawable, border: Tk_3DBorder, x: c_int, y: c_int, width: c_int, height: c_int, leftBevel: c_int, relief: c_int)>, pub tk_AddOption: Option<unsafe extern "C" fn(tkwin: Tk_Window, name: *const c_char, value: *const c_char, priority: c_int)>, pub tk_BindEvent: Option<unsafe extern "C" fn(bindingTable: Tk_BindingTable, eventPtr: *mut XEvent, tkwin: Tk_Window, numObjects: c_int, objectPtr: *mut ClientData)>, pub tk_CanvasDrawableCoords: Option<unsafe extern "C" fn(canvas: Tk_Canvas, x: f64, y: f64, drawableXPtr: *mut c_short, drawableYPtr: *mut c_short)>, pub tk_CanvasEventuallyRedraw: Option<unsafe extern "C" fn(canvas: Tk_Canvas, x1: c_int, y1: c_int, x2: c_int, y2: c_int)>, pub tk_CanvasGetCoord: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, canvas: Tk_Canvas, str_: *const c_char, doublePtr: *mut f64) -> c_int>, pub tk_CanvasGetTextInfo: Option<unsafe extern "C" fn(canvas: Tk_Canvas) -> *mut Tk_CanvasTextInfo>, pub tk_CanvasPsBitmap: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, canvas: Tk_Canvas, bitmap: Pixmap, x: c_int, y: c_int, width: c_int, height: c_int) -> c_int>, pub tk_CanvasPsColor: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, canvas: Tk_Canvas, colorPtr: *mut XColor) -> c_int>, pub tk_CanvasPsFont: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, canvas: Tk_Canvas, font: Tk_Font) -> c_int>, pub tk_CanvasPsPath: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, canvas: Tk_Canvas, coordPtr: *mut f64, numPoints: c_int)>, pub tk_CanvasPsStipple: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, canvas: Tk_Canvas, bitmap: Pixmap) -> c_int>, pub tk_CanvasPsY: Option<unsafe extern "C" fn(canvas: Tk_Canvas, y: f64) -> f64>, pub tk_CanvasSetStippleOrigin: Option<unsafe extern "C" fn(canvas: Tk_Canvas, gc: GC)>, pub tk_CanvasTagsParseProc: Option<unsafe extern "C" fn(clientData: ClientData, interp: *mut Tcl_Interp, tkwin: Tk_Window, value: *const c_char, widgRec: *mut c_char, offset: c_int) -> c_int>, pub tk_CanvasTagsPrintProc: Option<unsafe extern "C" fn(clientData: ClientData, tkwin: Tk_Window, widgRec: *mut c_char, offset: c_int, freeProcPtr: *mut Tcl_FreeProc) -> *const c_char>, pub tk_CanvasTkwin: Option<unsafe extern "C" fn(canvas: Tk_Canvas) -> Tk_Window>, pub tk_CanvasWindowCoords: Option<unsafe extern "C" fn(canvas: Tk_Canvas, x: f64, y: f64, screenXPtr: *mut c_short, screenYPtr: *mut c_short)>, pub tk_ChangeWindowAttributes: Option<unsafe extern "C" fn(tkwin: Tk_Window, valueMask: c_ulong, attsPtr: *mut XSetWindowAttributes)>, pub tk_CharBbox: Option<unsafe extern "C" fn(layout: Tk_TextLayout, index: c_int, xPtr: *mut c_int, yPtr: *mut c_int, widthPtr: *mut c_int, heightPtr: *mut c_int) -> c_int>, pub tk_ClearSelection: Option<unsafe extern "C" fn(tkwin: Tk_Window, selection: Atom)>, pub tk_ClipboardAppend: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, target: Atom, format: Atom, buffer: *const c_char) -> c_int>, pub tk_ClipboardClear: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window) -> c_int>, pub tk_ConfigureInfo: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, specs: *const Tk_ConfigSpec, widgRec: *mut c_char, argvName: *const c_char, flags: c_int) -> c_int>, pub tk_ConfigureValue: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, specs: *const Tk_ConfigSpec, widgRec: *mut c_char, argvName: *const c_char, flags: c_int) -> c_int>, pub tk_ConfigureWidget: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, specs: *const Tk_ConfigSpec, argc: c_int, argv: *mut *const c_char, widgRec: *mut c_char, flags: c_int) -> c_int>, pub tk_ConfigureWindow: Option<unsafe extern "C" fn(tkwin: Tk_Window, valueMask: c_uint, valuePtr: *mut XWindowChanges)>, pub tk_ComputeTextLayout: Option<unsafe extern "C" fn(font: Tk_Font, str_: *const c_char, numChars: c_int, wrapLength: c_int, justify: Tk_Justify, flags: c_int, widthPtr: *mut c_int, heightPtr: *mut c_int) -> Tk_TextLayout>, pub tk_CoordsToWindow: Option<unsafe extern "C" fn(rootX: c_int, rootY: c_int, tkwin: Tk_Window) -> Tk_Window>, pub tk_CreateBinding: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, bindingTable: Tk_BindingTable, object: ClientData, eventStr: *const c_char, script: *const c_char, append: c_int) -> c_ulong>, pub tk_CreateBindingTable: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp) -> Tk_BindingTable>, pub tk_CreateErrorHandler: Option<unsafe extern "C" fn(display: *mut Display, errNum: c_int, request: c_int, minorCode: c_int, errorProc: Tk_ErrorProc, clientData: ClientData) -> Tk_ErrorHandler>, pub tk_CreateEventHandler: Option<unsafe extern "C" fn(token: Tk_Window, mask: c_ulong, proc_: Tk_EventProc, clientData: ClientData)>, pub tk_CreateGenericHandler: Option<unsafe extern "C" fn(proc_: Tk_GenericProc, clientData: ClientData)>, pub tk_CreateImageType: Option<unsafe extern "C" fn(typePtr: *const Tk_ImageType)>, pub tk_CreateItemType: Option<unsafe extern "C" fn(typePtr: *mut Tk_ItemType)>, pub tk_CreatePhotoImageFormat: Option<unsafe extern "C" fn(formatPtr: *const Tk_PhotoImageFormat)>, pub tk_CreateSelHandler: Option<unsafe extern "C" fn(tkwin: Tk_Window, selection: Atom, target: Atom, proc_: Tk_SelectionProc, clientData: ClientData, format: Atom)>, pub tk_CreateWindow: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, parent: Tk_Window, name: *const c_char, screenName: *const c_char) -> Tk_Window>, pub tk_CreateWindowFromPath: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, pathName: *const c_char, screenName: *const c_char) -> Tk_Window>, pub tk_DefineBitmap: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, name: *const c_char, source: *const c_void, width: c_int, height: c_int) -> c_int>, pub tk_DefineCursor: Option<unsafe extern "C" fn(window: Tk_Window, cursor: Tk_Cursor)>, pub tk_DeleteAllBindings: Option<unsafe extern "C" fn(bindingTable: Tk_BindingTable, object: ClientData)>, pub tk_DeleteBinding: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, bindingTable: Tk_BindingTable, object: ClientData, eventStr: *const c_char) -> c_int>, pub tk_DeleteBindingTable: Option<unsafe extern "C" fn(bindingTable: Tk_BindingTable)>, pub tk_DeleteErrorHandler: Option<unsafe extern "C" fn(handler: Tk_ErrorHandler)>, pub tk_DeleteEventHandler: Option<unsafe extern "C" fn(token: Tk_Window, mask: c_ulong, proc_: Tk_EventProc, clientData: ClientData)>, pub tk_DeleteGenericHandler: Option<unsafe extern "C" fn(proc_: Tk_GenericProc, clientData: ClientData)>, pub tk_DeleteImage: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, name: *const c_char)>, pub tk_DeleteSelHandler: Option<unsafe extern "C" fn(tkwin: Tk_Window, selection: Atom, target: Atom)>, pub tk_DestroyWindow: Option<unsafe extern "C" fn(tkwin: Tk_Window)>, pub tk_DisplayName: Option<unsafe extern "C" fn(tkwin: Tk_Window) -> *const c_char>, pub tk_DistanceToTextLayout: Option<unsafe extern "C" fn(layout: Tk_TextLayout, x: c_int, y: c_int) -> c_int>, pub tk_Draw3DPolygon: Option<unsafe extern "C" fn(tkwin: Tk_Window, drawable: Drawable, border: Tk_3DBorder, pointPtr: *mut XPoint, numPoints: c_int, borderWidth: c_int, leftRelief: c_int)>, pub tk_Draw3DRectangle: Option<unsafe extern "C" fn(tkwin: Tk_Window, drawable: Drawable, border: Tk_3DBorder, x: c_int, y: c_int, width: c_int, height: c_int, borderWidth: c_int, relief: c_int)>, pub tk_DrawChars: Option<unsafe extern "C" fn(display: *mut Display, drawable: Drawable, gc: GC, tkfont: Tk_Font, source: *const c_char, numBytes: c_int, x: c_int, y: c_int)>, pub tk_DrawFocusHighlight: Option<unsafe extern "C" fn(tkwin: Tk_Window, gc: GC, width: c_int, drawable: Drawable)>, pub tk_DrawTextLayout: Option<unsafe extern "C" fn(display: *mut Display, drawable: Drawable, gc: GC, layout: Tk_TextLayout, x: c_int, y: c_int, firstChar: c_int, lastChar: c_int)>, pub tk_Fill3DPolygon: Option<unsafe extern "C" fn(tkwin: Tk_Window, drawable: Drawable, border: Tk_3DBorder, pointPtr: *mut XPoint, numPoints: c_int, borderWidth: c_int, leftRelief: c_int)>, pub tk_Fill3DRectangle: Option<unsafe extern "C" fn(tkwin: Tk_Window, drawable: Drawable, border: Tk_3DBorder, x: c_int, y: c_int, width: c_int, height: c_int, borderWidth: c_int, relief: c_int)>, pub tk_FindPhoto: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, imageName: *const c_char) -> Tk_PhotoHandle>, pub tk_FontId: Option<unsafe extern "C" fn(font: Tk_Font) -> Font>, pub tk_Free3DBorder: Option<unsafe extern "C" fn(border: Tk_3DBorder)>, pub tk_FreeBitmap: Option<unsafe extern "C" fn(display: *mut Display, bitmap: Pixmap)>, pub tk_FreeColor: Option<unsafe extern "C" fn(colorPtr: *mut XColor)>, pub tk_FreeColormap: Option<unsafe extern "C" fn(display: *mut Display, colormap: Colormap)>, pub tk_FreeCursor: Option<unsafe extern "C" fn(display: *mut Display, cursor: Tk_Cursor)>, pub tk_FreeFont: Option<unsafe extern "C" fn(f: Tk_Font)>, pub tk_FreeGC: Option<unsafe extern "C" fn(display: *mut Display, gc: GC)>, pub tk_FreeImage: Option<unsafe extern "C" fn(image: Tk_Image)>, pub tk_FreeOptions: Option<unsafe extern "C" fn(specs: *const Tk_ConfigSpec, widgRec: *mut c_char, display: *mut Display, needFlags: c_int)>, pub tk_FreePixmap: Option<unsafe extern "C" fn(display: *mut Display, pixmap: Pixmap)>, pub tk_FreeTextLayout: Option<unsafe extern "C" fn(textLayout: Tk_TextLayout)>, pub tk_FreeXId: Option<unsafe extern "C" fn(display: *mut Display, xid: XID)>, pub tk_GCForColor: Option<unsafe extern "C" fn(colorPtr: *mut XColor, drawable: Drawable) -> GC>, pub tk_GeometryRequest: Option<unsafe extern "C" fn(tkwin: Tk_Window, reqWidth: c_int, reqHeight: c_int)>, pub tk_Get3DBorder: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, colorName: Tk_Uid) -> Tk_3DBorder>, pub tk_GetAllBindings: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, bindingTable: Tk_BindingTable, object: ClientData)>, pub tk_GetAnchor: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, str_: *const c_char, anchorPtr: *mut Tk_Anchor) -> c_int>, pub tk_GetAtomName: Option<unsafe extern "C" fn(tkwin: Tk_Window, atom: Atom) -> *const c_char>, pub tk_GetBinding: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, bindingTable: Tk_BindingTable, object: ClientData, eventStr: *const c_char) -> *const c_char>, pub tk_GetBitmap: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, str_: *const c_char) -> Pixmap>, pub tk_GetBitmapFromData: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, source: *const c_void, width: c_int, height: c_int) -> Pixmap>, pub tk_GetCapStyle: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, str_: *const c_char, capPtr: *mut c_int) -> c_int>, pub tk_GetColor: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, name: Tk_Uid) -> *mut XColor>, pub tk_GetColorByValue: Option<unsafe extern "C" fn(tkwin: Tk_Window, colorPtr: *mut XColor) -> *mut XColor>, pub tk_GetColormap: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, str_: *const c_char) -> Colormap>, pub tk_GetCursor: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, str_: Tk_Uid) -> Tk_Cursor>, pub tk_GetCursorFromData: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, source: *const c_char, mask: *const c_char, width: c_int, height: c_int, xHot: c_int, yHot: c_int, fg: Tk_Uid, bg: Tk_Uid) -> Tk_Cursor>, pub tk_GetFont: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, str_: *const c_char) -> Tk_Font>, pub tk_GetFontFromObj: Option<unsafe extern "C" fn(tkwin: Tk_Window, objPtr: *mut Tcl_Obj) -> Tk_Font>, pub tk_GetFontMetrics: Option<unsafe extern "C" fn(font: Tk_Font, fmPtr: *mut Tk_FontMetrics)>, pub tk_GetGC: Option<unsafe extern "C" fn(tkwin: Tk_Window, valueMask: c_ulong, valuePtr: *mut XGCValues) -> GC>, pub tk_GetImage: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, name: *const c_char, changeProc: Tk_ImageChangedProc, clientData: ClientData) -> Tk_Image>, pub tk_GetImageMasterData: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, name: *const c_char, typePtrPtr: *mut *const Tk_ImageType) -> ClientData>, pub tk_GetItemTypes: Option<unsafe extern "C" fn() -> *mut Tk_ItemType>, pub tk_GetJoinStyle: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, str_: *const c_char, joinPtr: *mut c_int) -> c_int>, pub tk_GetJustify: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, str_: *const c_char, justifyPtr: *mut Tk_Justify) -> c_int>, pub tk_GetNumMainWindows: Option<unsafe extern "C" fn() -> c_int>, pub tk_GetOption: Option<unsafe extern "C" fn(tkwin: Tk_Window, name: *const c_char, className: *const c_char) -> Tk_Uid>, pub tk_GetPixels: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, str_: *const c_char, intPtr: *mut c_int) -> c_int>, pub tk_GetPixmap: Option<unsafe extern "C" fn(display: *mut Display, d: Drawable, width: c_int, height: c_int, depth: c_int) -> Pixmap>, pub tk_GetRelief: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, name: *const c_char, reliefPtr: *mut c_int) -> c_int>, pub tk_GetRootCoords: Option<unsafe extern "C" fn(tkwin: Tk_Window, xPtr: *mut c_int, yPtr: *mut c_int)>, pub tk_GetScrollInfo: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, argc: c_int, argv: *mut *const c_char, dblPtr: *mut f64, intPtr: *mut c_int) -> c_int>, pub tk_GetScreenMM: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, str_: *const c_char, doublePtr: *mut f64) -> c_int>, pub tk_GetSelection: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, selection: Atom, target: Atom, proc_: Tk_GetSelProc, clientData: ClientData) -> c_int>, pub tk_GetUid: Option<unsafe extern "C" fn(str_: *const c_char) -> Tk_Uid>, pub tk_GetVisual: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, str_: *const c_char, depthPtr: *mut c_int, colormapPtr: *mut Colormap) -> *mut Visual>, pub tk_GetVRootGeometry: Option<unsafe extern "C" fn(tkwin: Tk_Window, xPtr: *mut c_int, yPtr: *mut c_int, widthPtr: *mut c_int, heightPtr: *mut c_int)>, pub tk_Grab: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, grabGlobal: c_int) -> c_int>, pub tk_HandleEvent: Option<unsafe extern "C" fn(eventPtr: *mut XEvent)>, pub tk_IdToWindow: Option<unsafe extern "C" fn(display: *mut Display, window: Window) -> Tk_Window>, pub tk_ImageChanged: Option<unsafe extern "C" fn(model: Tk_ImageMaster, x: c_int, y: c_int, width: c_int, height: c_int, imageWidth: c_int, imageHeight: c_int)>, pub tk_Init: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp) -> c_int>, pub tk_InternAtom: Option<unsafe extern "C" fn(tkwin: Tk_Window, name: *const c_char) -> Atom>, pub tk_IntersectTextLayout: Option<unsafe extern "C" fn(layout: Tk_TextLayout, x: c_int, y: c_int, width: c_int, height: c_int) -> c_int>, pub tk_MaintainGeometry: Option<unsafe extern "C" fn(window: Tk_Window, container: Tk_Window, x: c_int, y: c_int, width: c_int, height: c_int)>, pub tk_MainWindow: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp) -> Tk_Window>, pub tk_MakeWindowExist: Option<unsafe extern "C" fn(tkwin: Tk_Window)>, pub tk_ManageGeometry: Option<unsafe extern "C" fn(tkwin: Tk_Window, mgrPtr: *const Tk_GeomMgr, clientData: ClientData)>, pub tk_MapWindow: Option<unsafe extern "C" fn(tkwin: Tk_Window)>, pub tk_MeasureChars: Option<unsafe extern "C" fn(tkfont: Tk_Font, source: *const c_char, numBytes: c_int, maxPixels: c_int, flags: c_int, lengthPtr: *mut c_int) -> c_int>, pub tk_MoveResizeWindow: Option<unsafe extern "C" fn(tkwin: Tk_Window, x: c_int, y: c_int, width: c_int, height: c_int)>, pub tk_MoveWindow: Option<unsafe extern "C" fn(tkwin: Tk_Window, x: c_int, y: c_int)>, pub tk_MoveToplevelWindow: Option<unsafe extern "C" fn(tkwin: Tk_Window, x: c_int, y: c_int)>, pub tk_NameOf3DBorder: Option<unsafe extern "C" fn(border: Tk_3DBorder) -> *const c_char>, pub tk_NameOfAnchor: Option<unsafe extern "C" fn(anchor: Tk_Anchor) -> *const c_char>, pub tk_NameOfBitmap: Option<unsafe extern "C" fn(display: *mut Display, bitmap: Pixmap) -> *const c_char>, pub tk_NameOfCapStyle: Option<unsafe extern "C" fn(cap: c_int) -> *const c_char>, pub tk_NameOfColor: Option<unsafe extern "C" fn(colorPtr: *mut XColor) -> *const c_char>, pub tk_NameOfCursor: Option<unsafe extern "C" fn(display: *mut Display, cursor: Tk_Cursor) -> *const c_char>, pub tk_NameOfFont: Option<unsafe extern "C" fn(font: Tk_Font) -> *const c_char>, pub tk_NameOfImage: Option<unsafe extern "C" fn(model: Tk_ImageMaster) -> *const c_char>, pub tk_NameOfJoinStyle: Option<unsafe extern "C" fn(join: c_int) -> *const c_char>, pub tk_NameOfJustify: Option<unsafe extern "C" fn(justify: Tk_Justify) -> *const c_char>, pub tk_NameOfRelief: Option<unsafe extern "C" fn(relief: c_int) -> *const c_char>, pub tk_NameToWindow: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, pathName: *const c_char, tkwin: Tk_Window) -> Tk_Window>, pub tk_OwnSelection: Option<unsafe extern "C" fn(tkwin: Tk_Window, selection: Atom, proc_: Tk_LostSelProc, clientData: ClientData)>, pub tk_ParseArgv: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, argcPtr: *mut c_int, argv: *mut *const c_char, argTable: *const Tk_ArgvInfo, flags: c_int) -> c_int>, pub tk_PhotoPutBlock_NoComposite: Option<unsafe extern "C" fn(handle: Tk_PhotoHandle, blockPtr: *mut Tk_PhotoImageBlock, x: c_int, y: c_int, width: c_int, height: c_int)>, pub tk_PhotoPutZoomedBlock_NoComposite: Option<unsafe extern "C" fn(handle: Tk_PhotoHandle, blockPtr: *mut Tk_PhotoImageBlock, x: c_int, y: c_int, width: c_int, height: c_int, zoomX: c_int, zoomY: c_int, subsampleX: c_int, subsampleY: c_int)>, pub tk_PhotoGetImage: Option<unsafe extern "C" fn(handle: Tk_PhotoHandle, blockPtr: *mut Tk_PhotoImageBlock) -> c_int>, pub tk_PhotoBlank: Option<unsafe extern "C" fn(handle: Tk_PhotoHandle)>, pub tk_PhotoExpand_Panic: Option<unsafe extern "C" fn(handle: Tk_PhotoHandle, width: c_int, height: c_int)>, pub tk_PhotoGetSize: Option<unsafe extern "C" fn(handle: Tk_PhotoHandle, widthPtr: *mut c_int, heightPtr: *mut c_int)>, pub tk_PhotoSetSize_Panic: Option<unsafe extern "C" fn(handle: Tk_PhotoHandle, width: c_int, height: c_int)>, pub tk_PointToChar: Option<unsafe extern "C" fn(layout: Tk_TextLayout, x: c_int, y: c_int) -> c_int>, pub tk_PostscriptFontName: Option<unsafe extern "C" fn(tkfont: Tk_Font, dsPtr: *mut Tcl_DString) -> c_int>, pub tk_PreserveColormap: Option<unsafe extern "C" fn(display: *mut Display, colormap: Colormap)>, pub tk_QueueWindowEvent: Option<unsafe extern "C" fn(eventPtr: *mut XEvent, position: Tcl_QueuePosition)>, pub tk_RedrawImage: Option<unsafe extern "C" fn(image: Tk_Image, imageX: c_int, imageY: c_int, width: c_int, height: c_int, drawable: Drawable, drawableX: c_int, drawableY: c_int)>, pub tk_ResizeWindow: Option<unsafe extern "C" fn(tkwin: Tk_Window, width: c_int, height: c_int)>, pub tk_RestackWindow: Option<unsafe extern "C" fn(tkwin: Tk_Window, aboveBelow: c_int, other: Tk_Window) -> c_int>, pub tk_RestrictEvents: Option<unsafe extern "C" fn(proc_: Tk_RestrictProc, arg: ClientData, prevArgPtr: *mut ClientData) -> Tk_RestrictProc>, pub tk_SafeInit: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp) -> c_int>, pub tk_SetAppName: Option<unsafe extern "C" fn(tkwin: Tk_Window, name: *const c_char) -> *const c_char>, pub tk_SetBackgroundFromBorder: Option<unsafe extern "C" fn(tkwin: Tk_Window, border: Tk_3DBorder)>, pub tk_SetClass: Option<unsafe extern "C" fn(tkwin: Tk_Window, className: *const c_char)>, pub tk_SetGrid: Option<unsafe extern "C" fn(tkwin: Tk_Window, reqWidth: c_int, reqHeight: c_int, gridWidth: c_int, gridHeight: c_int)>, pub tk_SetInternalBorder: Option<unsafe extern "C" fn(tkwin: Tk_Window, width: c_int)>, pub tk_SetWindowBackground: Option<unsafe extern "C" fn(tkwin: Tk_Window, pixel: c_ulong)>, pub tk_SetWindowBackgroundPixmap: Option<unsafe extern "C" fn(tkwin: Tk_Window, pixmap: Pixmap)>, pub tk_SetWindowBorder: Option<unsafe extern "C" fn(tkwin: Tk_Window, pixel: c_ulong)>, pub tk_SetWindowBorderWidth: Option<unsafe extern "C" fn(tkwin: Tk_Window, width: c_int)>, pub tk_SetWindowBorderPixmap: Option<unsafe extern "C" fn(tkwin: Tk_Window, pixmap: Pixmap)>, pub tk_SetWindowColormap: Option<unsafe extern "C" fn(tkwin: Tk_Window, colormap: Colormap)>, pub tk_SetWindowVisual: Option<unsafe extern "C" fn(tkwin: Tk_Window, visual: *mut Visual, depth: c_int, colormap: Colormap) -> c_int>, pub tk_SizeOfBitmap: Option<unsafe extern "C" fn(display: *mut Display, bitmap: Pixmap, widthPtr: *mut c_int, heightPtr: *mut c_int)>, pub tk_SizeOfImage: Option<unsafe extern "C" fn(image: Tk_Image, widthPtr: *mut c_int, heightPtr: *mut c_int)>, pub tk_StrictMotif: Option<unsafe extern "C" fn(tkwin: Tk_Window) -> c_int>, pub tk_TextLayoutToPostscript: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, layout: Tk_TextLayout)>, pub tk_TextWidth: Option<unsafe extern "C" fn(font: Tk_Font, str_: *const c_char, numBytes: c_int) -> c_int>, pub tk_UndefineCursor: Option<unsafe extern "C" fn(window: Tk_Window)>, pub tk_UnderlineChars: Option<unsafe extern "C" fn(display: *mut Display, drawable: Drawable, gc: GC, tkfont: Tk_Font, source: *const c_char, x: c_int, y: c_int, firstByte: c_int, lastByte: c_int)>, pub tk_UnderlineTextLayout: Option<unsafe extern "C" fn(display: *mut Display, drawable: Drawable, gc: GC, layout: Tk_TextLayout, x: c_int, y: c_int, underline: c_int)>, pub tk_Ungrab: Option<unsafe extern "C" fn(tkwin: Tk_Window)>, pub tk_UnmaintainGeometry: Option<unsafe extern "C" fn(window: Tk_Window, container: Tk_Window)>, pub tk_UnmapWindow: Option<unsafe extern "C" fn(tkwin: Tk_Window)>, pub tk_UnsetGrid: Option<unsafe extern "C" fn(tkwin: Tk_Window)>, pub tk_UpdatePointer: Option<unsafe extern "C" fn(tkwin: Tk_Window, x: c_int, y: c_int, state: c_int)>, pub tk_AllocBitmapFromObj: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, objPtr: *mut Tcl_Obj) -> Pixmap>, pub tk_Alloc3DBorderFromObj: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, objPtr: *mut Tcl_Obj) -> Tk_3DBorder>, pub tk_AllocColorFromObj: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, objPtr: *mut Tcl_Obj) -> *mut XColor>, pub tk_AllocCursorFromObj: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, objPtr: *mut Tcl_Obj) -> Tk_Cursor>, pub tk_AllocFontFromObj: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, objPtr: *mut Tcl_Obj) -> Tk_Font>, pub tk_CreateOptionTable: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, templatePtr: *const Tk_OptionSpec) -> Tk_OptionTable>, pub tk_DeleteOptionTable: Option<unsafe extern "C" fn(optionTable: Tk_OptionTable)>, pub tk_Free3DBorderFromObj: Option<unsafe extern "C" fn(tkwin: Tk_Window, objPtr: *mut Tcl_Obj)>, pub tk_FreeBitmapFromObj: Option<unsafe extern "C" fn(tkwin: Tk_Window, objPtr: *mut Tcl_Obj)>, pub tk_FreeColorFromObj: Option<unsafe extern "C" fn(tkwin: Tk_Window, objPtr: *mut Tcl_Obj)>, pub tk_FreeConfigOptions: Option<unsafe extern "C" fn(recordPtr: *mut c_char, optionToken: Tk_OptionTable, tkwin: Tk_Window)>, pub tk_FreeSavedOptions: Option<unsafe extern "C" fn(savePtr: *mut Tk_SavedOptions)>, pub tk_FreeCursorFromObj: Option<unsafe extern "C" fn(tkwin: Tk_Window, objPtr: *mut Tcl_Obj)>, pub tk_FreeFontFromObj: Option<unsafe extern "C" fn(tkwin: Tk_Window, objPtr: *mut Tcl_Obj)>, pub tk_Get3DBorderFromObj: Option<unsafe extern "C" fn(tkwin: Tk_Window, objPtr: *mut Tcl_Obj) -> Tk_3DBorder>, pub tk_GetAnchorFromObj: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, objPtr: *mut Tcl_Obj, anchorPtr: *mut Tk_Anchor) -> c_int>, pub tk_GetBitmapFromObj: Option<unsafe extern "C" fn(tkwin: Tk_Window, objPtr: *mut Tcl_Obj) -> Pixmap>, pub tk_GetColorFromObj: Option<unsafe extern "C" fn(tkwin: Tk_Window, objPtr: *mut Tcl_Obj) -> *mut XColor>, pub tk_GetCursorFromObj: Option<unsafe extern "C" fn(tkwin: Tk_Window, objPtr: *mut Tcl_Obj) -> Tk_Cursor>, pub tk_GetOptionInfo: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, recordPtr: *mut c_char, optionTable: Tk_OptionTable, namePtr: *mut Tcl_Obj, tkwin: Tk_Window) -> *mut Tcl_Obj>, pub tk_GetOptionValue: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, recordPtr: *mut c_char, optionTable: Tk_OptionTable, namePtr: *mut Tcl_Obj, tkwin: Tk_Window) -> *mut Tcl_Obj>, pub tk_GetJustifyFromObj: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, objPtr: *mut Tcl_Obj, justifyPtr: *mut Tk_Justify) -> c_int>, pub tk_GetMMFromObj: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, objPtr: *mut Tcl_Obj, doublePtr: *mut f64) -> c_int>, pub tk_GetPixelsFromObj: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, objPtr: *mut Tcl_Obj, intPtr: *mut c_int) -> c_int>, pub tk_GetReliefFromObj: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, objPtr: *mut Tcl_Obj, resultPtr: *mut c_int) -> c_int>, pub tk_GetScrollInfoObj: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, objc: c_int, objv: *const *mut Tcl_Obj, dblPtr: *mut f64, intPtr: *mut c_int) -> c_int>, pub tk_InitOptions: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, recordPtr: *mut c_char, optionToken: Tk_OptionTable, tkwin: Tk_Window) -> c_int>, pub tk_MainEx: Option<unsafe extern "C" fn(argc: c_int, argv: *mut *mut c_char, appInitProc: Tcl_AppInitProc, interp: *mut Tcl_Interp)>, pub tk_RestoreSavedOptions: Option<unsafe extern "C" fn(savePtr: *mut Tk_SavedOptions)>, pub tk_SetOptions: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, recordPtr: *mut c_char, optionTable: Tk_OptionTable, objc: c_int, objv: *const *mut Tcl_Obj, tkwin: Tk_Window, savePtr: *mut Tk_SavedOptions, maskPtr: *mut c_int) -> c_int>, pub tk_InitConsoleChannels: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp)>, pub tk_CreateConsoleWindow: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp) -> c_int>, pub tk_CreateSmoothMethod: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, method: *const Tk_SmoothMethod)>, pub reserved218: Option<unsafe extern "C" fn()>, pub reserved219: Option<unsafe extern "C" fn()>, pub tk_GetDash: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, value: *const c_char, dash: *mut Tk_Dash) -> c_int>, pub tk_CreateOutline: Option<unsafe extern "C" fn(outline: *mut Tk_Outline)>, pub tk_DeleteOutline: Option<unsafe extern "C" fn(display: *mut Display, outline: *mut Tk_Outline)>, pub tk_ConfigOutlineGC: Option<unsafe extern "C" fn(gcValues: *mut XGCValues, canvas: Tk_Canvas, item: *mut Tk_Item, outline: *mut Tk_Outline) -> c_int>, pub tk_ChangeOutlineGC: Option<unsafe extern "C" fn(canvas: Tk_Canvas, item: *mut Tk_Item, outline: *mut Tk_Outline) -> c_int>, pub tk_ResetOutlineGC: Option<unsafe extern "C" fn(canvas: Tk_Canvas, item: *mut Tk_Item, outline: *mut Tk_Outline) -> c_int>, pub tk_CanvasPsOutline: Option<unsafe extern "C" fn(canvas: Tk_Canvas, item: *mut Tk_Item, outline: *mut Tk_Outline) -> c_int>, pub tk_SetTSOrigin: Option<unsafe extern "C" fn(tkwin: Tk_Window, gc: GC, x: c_int, y: c_int)>, pub tk_CanvasGetCoordFromObj: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, canvas: Tk_Canvas, obj: *mut Tcl_Obj, doublePtr: *mut f64) -> c_int>, pub tk_CanvasSetOffset: Option<unsafe extern "C" fn(canvas: Tk_Canvas, gc: GC, offset: *mut Tk_TSOffset)>, pub tk_DitherPhoto: Option<unsafe extern "C" fn(handle: Tk_PhotoHandle, x: c_int, y: c_int, width: c_int, height: c_int)>, pub tk_PostscriptBitmap: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, psInfo: Tk_PostscriptInfo, bitmap: Pixmap, startX: c_int, startY: c_int, width: c_int, height: c_int) -> c_int>, pub tk_PostscriptColor: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, psInfo: Tk_PostscriptInfo, colorPtr: *mut XColor) -> c_int>, pub tk_PostscriptFont: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, psInfo: Tk_PostscriptInfo, font: Tk_Font) -> c_int>, pub tk_PostscriptImage: Option<unsafe extern "C" fn(image: Tk_Image, interp: *mut Tcl_Interp, tkwin: Tk_Window, psinfo: Tk_PostscriptInfo, x: c_int, y: c_int, width: c_int, height: c_int, prepass: c_int) -> c_int>, pub tk_PostscriptPath: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, psInfo: Tk_PostscriptInfo, coordPtr: *mut f64, numPoints: c_int)>, pub tk_PostscriptStipple: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, psInfo: Tk_PostscriptInfo, bitmap: Pixmap) -> c_int>, pub tk_PostscriptY: Option<unsafe extern "C" fn(y: f64, psInfo: Tk_PostscriptInfo) -> f64>, pub tk_PostscriptPhoto: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, blockPtr: *mut Tk_PhotoImageBlock, psInfo: Tk_PostscriptInfo, width: c_int, height: c_int) -> c_int>, pub tk_CreateClientMessageHandler: Option<unsafe extern "C" fn(proc_: Tk_ClientMessageProc)>, pub tk_DeleteClientMessageHandler: Option<unsafe extern "C" fn(proc_: Tk_ClientMessageProc)>, pub tk_CreateAnonymousWindow: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, parent: Tk_Window, screenName: *const c_char) -> Tk_Window>, pub tk_SetClassProcs: Option<unsafe extern "C" fn(tkwin: Tk_Window, procs: *const Tk_ClassProcs, instanceData: ClientData)>, pub tk_SetInternalBorderEx: Option<unsafe extern "C" fn(tkwin: Tk_Window, left: c_int, right: c_int, top: c_int, bottom: c_int)>, pub tk_SetMinimumRequestSize: Option<unsafe extern "C" fn(tkwin: Tk_Window, minWidth: c_int, minHeight: c_int)>, pub tk_SetCaretPos: Option<unsafe extern "C" fn(tkwin: Tk_Window, x: c_int, y: c_int, height: c_int)>, pub tk_PhotoPutBlock_Panic: Option<unsafe extern "C" fn(handle: Tk_PhotoHandle, blockPtr: *mut Tk_PhotoImageBlock, x: c_int, y: c_int, width: c_int, height: c_int, compRule: c_int)>, pub tk_PhotoPutZoomedBlock_Panic: Option<unsafe extern "C" fn(handle: Tk_PhotoHandle, blockPtr: *mut Tk_PhotoImageBlock, x: c_int, y: c_int, width: c_int, height: c_int, zoomX: c_int, zoomY: c_int, subsampleX: c_int, subsampleY: c_int, compRule: c_int)>, pub tk_CollapseMotionEvents: Option<unsafe extern "C" fn(display: *mut Display, collapse: c_int) -> c_int>, pub tk_RegisterStyleEngine: Option<unsafe extern "C" fn(name: *const c_char, parent: Tk_StyleEngine) -> Tk_StyleEngine>, pub tk_GetStyleEngine: Option<unsafe extern "C" fn(name: *const c_char) -> Tk_StyleEngine>, pub tk_RegisterStyledElement: Option<unsafe extern "C" fn(engine: Tk_StyleEngine, templatePtr: *mut Tk_ElementSpec) -> c_int>, pub tk_GetElementId: Option<unsafe extern "C" fn(name: *const c_char) -> c_int>, pub tk_CreateStyle: Option<unsafe extern "C" fn(name: *const c_char, engine: Tk_StyleEngine, clientData: ClientData) -> Tk_Style>, pub tk_GetStyle: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, name: *const c_char) -> Tk_Style>, pub tk_FreeStyle: Option<unsafe extern "C" fn(style: Tk_Style)>, pub tk_NameOfStyle: Option<unsafe extern "C" fn(style: Tk_Style) -> *const c_char>, pub tk_AllocStyleFromObj: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, objPtr: *mut Tcl_Obj) -> Tk_Style>, pub tk_GetStyleFromObj: Option<unsafe extern "C" fn(objPtr: *mut Tcl_Obj) -> Tk_Style>, pub tk_FreeStyleFromObj: Option<unsafe extern "C" fn(objPtr: *mut Tcl_Obj)>, pub tk_GetStyledElement: Option<unsafe extern "C" fn(style: Tk_Style, elementId: c_int, optionTable: Tk_OptionTable) -> Tk_StyledElement>, pub tk_GetElementSize: Option<unsafe extern "C" fn(style: Tk_Style, element: Tk_StyledElement, recordPtr: *mut c_char, tkwin: Tk_Window, width: c_int, height: c_int, inner: c_int, widthPtr: *mut c_int, heightPtr: *mut c_int)>, pub tk_GetElementBox: Option<unsafe extern "C" fn(style: Tk_Style, element: Tk_StyledElement, recordPtr: *mut c_char, tkwin: Tk_Window, x: c_int, y: c_int, width: c_int, height: c_int, inner: c_int, xPtr: *mut c_int, yPtr: *mut c_int, widthPtr: *mut c_int, heightPtr: *mut c_int)>, pub tk_GetElementBorderWidth: Option<unsafe extern "C" fn(style: Tk_Style, element: Tk_StyledElement, recordPtr: *mut c_char, tkwin: Tk_Window) -> c_int>, pub tk_DrawElement: Option<unsafe extern "C" fn(style: Tk_Style, element: Tk_StyledElement, recordPtr: *mut c_char, tkwin: Tk_Window, d: Drawable, x: c_int, y: c_int, width: c_int, height: c_int, state: c_int)>, pub tk_PhotoExpand: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, handle: Tk_PhotoHandle, width: c_int, height: c_int) -> c_int>, pub tk_PhotoPutBlock: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, handle: Tk_PhotoHandle, blockPtr: *mut Tk_PhotoImageBlock, x: c_int, y: c_int, width: c_int, height: c_int, compRule: c_int) -> c_int>, pub tk_PhotoPutZoomedBlock: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, handle: Tk_PhotoHandle, blockPtr: *mut Tk_PhotoImageBlock, x: c_int, y: c_int, width: c_int, height: c_int, zoomX: c_int, zoomY: c_int, subsampleX: c_int, subsampleY: c_int, compRule: c_int) -> c_int>, pub tk_PhotoSetSize: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, handle: Tk_PhotoHandle, width: c_int, height: c_int) -> c_int>, pub tk_GetUserInactiveTime: Option<unsafe extern "C" fn(dpy: *mut Display) -> c_long>, pub tk_ResetUserInactiveTime: Option<unsafe extern "C" fn(dpy: *mut Display)>, pub tk_Interp: Option<unsafe extern "C" fn(tkwin: Tk_Window) -> *mut Tcl_Interp>, pub tk_CreateOldImageType: Option<unsafe extern "C" fn(typePtr: *const Tk_ImageType)>, pub tk_CreateOldPhotoImageFormat: Option<unsafe extern "C" fn(formatPtr: *const Tk_PhotoImageFormat)>, pub reserved274: Option<unsafe extern "C" fn()>, pub reserved275: Option<unsafe extern "C" fn()>, pub reserved276: Option<unsafe extern "C" fn()>, pub reserved277: Option<unsafe extern "C" fn()>, pub reserved278: Option<unsafe extern "C" fn()>, pub reserved279: Option<unsafe extern "C" fn()>, pub reserved280: Option<unsafe extern "C" fn()>, pub reserved281: Option<unsafe extern "C" fn()>, pub reserved282: Option<unsafe extern "C" fn()>, pub reserved283: Option<unsafe extern "C" fn()>, pub reserved284: Option<unsafe extern "C" fn()>, pub reserved285: Option<unsafe extern "C" fn()>, pub reserved286: Option<unsafe extern "C" fn()>, pub reserved287: Option<unsafe extern "C" fn()>, pub reserved288: Option<unsafe extern "C" fn()>, pub reserved289: Option<unsafe extern "C" fn()>, pub tkUnusedStubEntry: Option<unsafe extern "C" fn()>,
}

Fields§

§magic: c_int§hooks: *const TkStubHooks§tk_MainLoop: Option<unsafe extern "C" fn()>§tk_3DBorderColor: Option<unsafe extern "C" fn(border: Tk_3DBorder) -> *mut XColor>§tk_3DBorderGC: Option<unsafe extern "C" fn(tkwin: Tk_Window, border: Tk_3DBorder, which: c_int) -> GC>§tk_3DHorizontalBevel: Option<unsafe extern "C" fn(tkwin: Tk_Window, drawable: Drawable, border: Tk_3DBorder, x: c_int, y: c_int, width: c_int, height: c_int, leftIn: c_int, rightIn: c_int, topBevel: c_int, relief: c_int)>§tk_3DVerticalBevel: Option<unsafe extern "C" fn(tkwin: Tk_Window, drawable: Drawable, border: Tk_3DBorder, x: c_int, y: c_int, width: c_int, height: c_int, leftBevel: c_int, relief: c_int)>§tk_AddOption: Option<unsafe extern "C" fn(tkwin: Tk_Window, name: *const c_char, value: *const c_char, priority: c_int)>§tk_BindEvent: Option<unsafe extern "C" fn(bindingTable: Tk_BindingTable, eventPtr: *mut XEvent, tkwin: Tk_Window, numObjects: c_int, objectPtr: *mut ClientData)>§tk_CanvasDrawableCoords: Option<unsafe extern "C" fn(canvas: Tk_Canvas, x: f64, y: f64, drawableXPtr: *mut c_short, drawableYPtr: *mut c_short)>§tk_CanvasEventuallyRedraw: Option<unsafe extern "C" fn(canvas: Tk_Canvas, x1: c_int, y1: c_int, x2: c_int, y2: c_int)>§tk_CanvasGetCoord: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, canvas: Tk_Canvas, str_: *const c_char, doublePtr: *mut f64) -> c_int>§tk_CanvasGetTextInfo: Option<unsafe extern "C" fn(canvas: Tk_Canvas) -> *mut Tk_CanvasTextInfo>§tk_CanvasPsBitmap: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, canvas: Tk_Canvas, bitmap: Pixmap, x: c_int, y: c_int, width: c_int, height: c_int) -> c_int>§tk_CanvasPsColor: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, canvas: Tk_Canvas, colorPtr: *mut XColor) -> c_int>§tk_CanvasPsFont: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, canvas: Tk_Canvas, font: Tk_Font) -> c_int>§tk_CanvasPsPath: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, canvas: Tk_Canvas, coordPtr: *mut f64, numPoints: c_int)>§tk_CanvasPsStipple: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, canvas: Tk_Canvas, bitmap: Pixmap) -> c_int>§tk_CanvasPsY: Option<unsafe extern "C" fn(canvas: Tk_Canvas, y: f64) -> f64>§tk_CanvasSetStippleOrigin: Option<unsafe extern "C" fn(canvas: Tk_Canvas, gc: GC)>§tk_CanvasTagsParseProc: Option<unsafe extern "C" fn(clientData: ClientData, interp: *mut Tcl_Interp, tkwin: Tk_Window, value: *const c_char, widgRec: *mut c_char, offset: c_int) -> c_int>§tk_CanvasTagsPrintProc: Option<unsafe extern "C" fn(clientData: ClientData, tkwin: Tk_Window, widgRec: *mut c_char, offset: c_int, freeProcPtr: *mut Tcl_FreeProc) -> *const c_char>§tk_CanvasTkwin: Option<unsafe extern "C" fn(canvas: Tk_Canvas) -> Tk_Window>§tk_CanvasWindowCoords: Option<unsafe extern "C" fn(canvas: Tk_Canvas, x: f64, y: f64, screenXPtr: *mut c_short, screenYPtr: *mut c_short)>§tk_ChangeWindowAttributes: Option<unsafe extern "C" fn(tkwin: Tk_Window, valueMask: c_ulong, attsPtr: *mut XSetWindowAttributes)>§tk_CharBbox: Option<unsafe extern "C" fn(layout: Tk_TextLayout, index: c_int, xPtr: *mut c_int, yPtr: *mut c_int, widthPtr: *mut c_int, heightPtr: *mut c_int) -> c_int>§tk_ClearSelection: Option<unsafe extern "C" fn(tkwin: Tk_Window, selection: Atom)>§tk_ClipboardAppend: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, target: Atom, format: Atom, buffer: *const c_char) -> c_int>§tk_ClipboardClear: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window) -> c_int>§tk_ConfigureInfo: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, specs: *const Tk_ConfigSpec, widgRec: *mut c_char, argvName: *const c_char, flags: c_int) -> c_int>§tk_ConfigureValue: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, specs: *const Tk_ConfigSpec, widgRec: *mut c_char, argvName: *const c_char, flags: c_int) -> c_int>§tk_ConfigureWidget: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, specs: *const Tk_ConfigSpec, argc: c_int, argv: *mut *const c_char, widgRec: *mut c_char, flags: c_int) -> c_int>§tk_ConfigureWindow: Option<unsafe extern "C" fn(tkwin: Tk_Window, valueMask: c_uint, valuePtr: *mut XWindowChanges)>§tk_ComputeTextLayout: Option<unsafe extern "C" fn(font: Tk_Font, str_: *const c_char, numChars: c_int, wrapLength: c_int, justify: Tk_Justify, flags: c_int, widthPtr: *mut c_int, heightPtr: *mut c_int) -> Tk_TextLayout>§tk_CoordsToWindow: Option<unsafe extern "C" fn(rootX: c_int, rootY: c_int, tkwin: Tk_Window) -> Tk_Window>§tk_CreateBinding: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, bindingTable: Tk_BindingTable, object: ClientData, eventStr: *const c_char, script: *const c_char, append: c_int) -> c_ulong>§tk_CreateBindingTable: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp) -> Tk_BindingTable>§tk_CreateErrorHandler: Option<unsafe extern "C" fn(display: *mut Display, errNum: c_int, request: c_int, minorCode: c_int, errorProc: Tk_ErrorProc, clientData: ClientData) -> Tk_ErrorHandler>§tk_CreateEventHandler: Option<unsafe extern "C" fn(token: Tk_Window, mask: c_ulong, proc_: Tk_EventProc, clientData: ClientData)>§tk_CreateGenericHandler: Option<unsafe extern "C" fn(proc_: Tk_GenericProc, clientData: ClientData)>§tk_CreateImageType: Option<unsafe extern "C" fn(typePtr: *const Tk_ImageType)>§tk_CreateItemType: Option<unsafe extern "C" fn(typePtr: *mut Tk_ItemType)>§tk_CreatePhotoImageFormat: Option<unsafe extern "C" fn(formatPtr: *const Tk_PhotoImageFormat)>§tk_CreateSelHandler: Option<unsafe extern "C" fn(tkwin: Tk_Window, selection: Atom, target: Atom, proc_: Tk_SelectionProc, clientData: ClientData, format: Atom)>§tk_CreateWindow: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, parent: Tk_Window, name: *const c_char, screenName: *const c_char) -> Tk_Window>§tk_CreateWindowFromPath: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, pathName: *const c_char, screenName: *const c_char) -> Tk_Window>§tk_DefineBitmap: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, name: *const c_char, source: *const c_void, width: c_int, height: c_int) -> c_int>§tk_DefineCursor: Option<unsafe extern "C" fn(window: Tk_Window, cursor: Tk_Cursor)>§tk_DeleteAllBindings: Option<unsafe extern "C" fn(bindingTable: Tk_BindingTable, object: ClientData)>§tk_DeleteBinding: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, bindingTable: Tk_BindingTable, object: ClientData, eventStr: *const c_char) -> c_int>§tk_DeleteBindingTable: Option<unsafe extern "C" fn(bindingTable: Tk_BindingTable)>§tk_DeleteErrorHandler: Option<unsafe extern "C" fn(handler: Tk_ErrorHandler)>§tk_DeleteEventHandler: Option<unsafe extern "C" fn(token: Tk_Window, mask: c_ulong, proc_: Tk_EventProc, clientData: ClientData)>§tk_DeleteGenericHandler: Option<unsafe extern "C" fn(proc_: Tk_GenericProc, clientData: ClientData)>§tk_DeleteImage: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, name: *const c_char)>§tk_DeleteSelHandler: Option<unsafe extern "C" fn(tkwin: Tk_Window, selection: Atom, target: Atom)>§tk_DestroyWindow: Option<unsafe extern "C" fn(tkwin: Tk_Window)>§tk_DisplayName: Option<unsafe extern "C" fn(tkwin: Tk_Window) -> *const c_char>§tk_DistanceToTextLayout: Option<unsafe extern "C" fn(layout: Tk_TextLayout, x: c_int, y: c_int) -> c_int>§tk_Draw3DPolygon: Option<unsafe extern "C" fn(tkwin: Tk_Window, drawable: Drawable, border: Tk_3DBorder, pointPtr: *mut XPoint, numPoints: c_int, borderWidth: c_int, leftRelief: c_int)>§tk_Draw3DRectangle: Option<unsafe extern "C" fn(tkwin: Tk_Window, drawable: Drawable, border: Tk_3DBorder, x: c_int, y: c_int, width: c_int, height: c_int, borderWidth: c_int, relief: c_int)>§tk_DrawChars: Option<unsafe extern "C" fn(display: *mut Display, drawable: Drawable, gc: GC, tkfont: Tk_Font, source: *const c_char, numBytes: c_int, x: c_int, y: c_int)>§tk_DrawFocusHighlight: Option<unsafe extern "C" fn(tkwin: Tk_Window, gc: GC, width: c_int, drawable: Drawable)>§tk_DrawTextLayout: Option<unsafe extern "C" fn(display: *mut Display, drawable: Drawable, gc: GC, layout: Tk_TextLayout, x: c_int, y: c_int, firstChar: c_int, lastChar: c_int)>§tk_Fill3DPolygon: Option<unsafe extern "C" fn(tkwin: Tk_Window, drawable: Drawable, border: Tk_3DBorder, pointPtr: *mut XPoint, numPoints: c_int, borderWidth: c_int, leftRelief: c_int)>§tk_Fill3DRectangle: Option<unsafe extern "C" fn(tkwin: Tk_Window, drawable: Drawable, border: Tk_3DBorder, x: c_int, y: c_int, width: c_int, height: c_int, borderWidth: c_int, relief: c_int)>§tk_FindPhoto: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, imageName: *const c_char) -> Tk_PhotoHandle>§tk_FontId: Option<unsafe extern "C" fn(font: Tk_Font) -> Font>§tk_Free3DBorder: Option<unsafe extern "C" fn(border: Tk_3DBorder)>§tk_FreeBitmap: Option<unsafe extern "C" fn(display: *mut Display, bitmap: Pixmap)>§tk_FreeColor: Option<unsafe extern "C" fn(colorPtr: *mut XColor)>§tk_FreeColormap: Option<unsafe extern "C" fn(display: *mut Display, colormap: Colormap)>§tk_FreeCursor: Option<unsafe extern "C" fn(display: *mut Display, cursor: Tk_Cursor)>§tk_FreeFont: Option<unsafe extern "C" fn(f: Tk_Font)>§tk_FreeGC: Option<unsafe extern "C" fn(display: *mut Display, gc: GC)>§tk_FreeImage: Option<unsafe extern "C" fn(image: Tk_Image)>§tk_FreeOptions: Option<unsafe extern "C" fn(specs: *const Tk_ConfigSpec, widgRec: *mut c_char, display: *mut Display, needFlags: c_int)>§tk_FreePixmap: Option<unsafe extern "C" fn(display: *mut Display, pixmap: Pixmap)>§tk_FreeTextLayout: Option<unsafe extern "C" fn(textLayout: Tk_TextLayout)>§tk_FreeXId: Option<unsafe extern "C" fn(display: *mut Display, xid: XID)>§tk_GCForColor: Option<unsafe extern "C" fn(colorPtr: *mut XColor, drawable: Drawable) -> GC>§tk_GeometryRequest: Option<unsafe extern "C" fn(tkwin: Tk_Window, reqWidth: c_int, reqHeight: c_int)>§tk_Get3DBorder: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, colorName: Tk_Uid) -> Tk_3DBorder>§tk_GetAllBindings: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, bindingTable: Tk_BindingTable, object: ClientData)>§tk_GetAnchor: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, str_: *const c_char, anchorPtr: *mut Tk_Anchor) -> c_int>§tk_GetAtomName: Option<unsafe extern "C" fn(tkwin: Tk_Window, atom: Atom) -> *const c_char>§tk_GetBinding: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, bindingTable: Tk_BindingTable, object: ClientData, eventStr: *const c_char) -> *const c_char>§tk_GetBitmap: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, str_: *const c_char) -> Pixmap>§tk_GetBitmapFromData: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, source: *const c_void, width: c_int, height: c_int) -> Pixmap>§tk_GetCapStyle: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, str_: *const c_char, capPtr: *mut c_int) -> c_int>§tk_GetColor: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, name: Tk_Uid) -> *mut XColor>§tk_GetColorByValue: Option<unsafe extern "C" fn(tkwin: Tk_Window, colorPtr: *mut XColor) -> *mut XColor>§tk_GetColormap: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, str_: *const c_char) -> Colormap>§tk_GetCursor: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, str_: Tk_Uid) -> Tk_Cursor>§tk_GetCursorFromData: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, source: *const c_char, mask: *const c_char, width: c_int, height: c_int, xHot: c_int, yHot: c_int, fg: Tk_Uid, bg: Tk_Uid) -> Tk_Cursor>§tk_GetFont: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, str_: *const c_char) -> Tk_Font>§tk_GetFontFromObj: Option<unsafe extern "C" fn(tkwin: Tk_Window, objPtr: *mut Tcl_Obj) -> Tk_Font>§tk_GetFontMetrics: Option<unsafe extern "C" fn(font: Tk_Font, fmPtr: *mut Tk_FontMetrics)>§tk_GetGC: Option<unsafe extern "C" fn(tkwin: Tk_Window, valueMask: c_ulong, valuePtr: *mut XGCValues) -> GC>§tk_GetImage: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, name: *const c_char, changeProc: Tk_ImageChangedProc, clientData: ClientData) -> Tk_Image>§tk_GetImageMasterData: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, name: *const c_char, typePtrPtr: *mut *const Tk_ImageType) -> ClientData>§tk_GetItemTypes: Option<unsafe extern "C" fn() -> *mut Tk_ItemType>§tk_GetJoinStyle: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, str_: *const c_char, joinPtr: *mut c_int) -> c_int>§tk_GetJustify: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, str_: *const c_char, justifyPtr: *mut Tk_Justify) -> c_int>§tk_GetNumMainWindows: Option<unsafe extern "C" fn() -> c_int>§tk_GetOption: Option<unsafe extern "C" fn(tkwin: Tk_Window, name: *const c_char, className: *const c_char) -> Tk_Uid>§tk_GetPixels: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, str_: *const c_char, intPtr: *mut c_int) -> c_int>§tk_GetPixmap: Option<unsafe extern "C" fn(display: *mut Display, d: Drawable, width: c_int, height: c_int, depth: c_int) -> Pixmap>§tk_GetRelief: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, name: *const c_char, reliefPtr: *mut c_int) -> c_int>§tk_GetRootCoords: Option<unsafe extern "C" fn(tkwin: Tk_Window, xPtr: *mut c_int, yPtr: *mut c_int)>§tk_GetScrollInfo: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, argc: c_int, argv: *mut *const c_char, dblPtr: *mut f64, intPtr: *mut c_int) -> c_int>§tk_GetScreenMM: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, str_: *const c_char, doublePtr: *mut f64) -> c_int>§tk_GetSelection: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, selection: Atom, target: Atom, proc_: Tk_GetSelProc, clientData: ClientData) -> c_int>§tk_GetUid: Option<unsafe extern "C" fn(str_: *const c_char) -> Tk_Uid>§tk_GetVisual: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, str_: *const c_char, depthPtr: *mut c_int, colormapPtr: *mut Colormap) -> *mut Visual>§tk_GetVRootGeometry: Option<unsafe extern "C" fn(tkwin: Tk_Window, xPtr: *mut c_int, yPtr: *mut c_int, widthPtr: *mut c_int, heightPtr: *mut c_int)>§tk_Grab: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, grabGlobal: c_int) -> c_int>§tk_HandleEvent: Option<unsafe extern "C" fn(eventPtr: *mut XEvent)>§tk_IdToWindow: Option<unsafe extern "C" fn(display: *mut Display, window: Window) -> Tk_Window>§tk_ImageChanged: Option<unsafe extern "C" fn(model: Tk_ImageMaster, x: c_int, y: c_int, width: c_int, height: c_int, imageWidth: c_int, imageHeight: c_int)>§tk_Init: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp) -> c_int>§tk_InternAtom: Option<unsafe extern "C" fn(tkwin: Tk_Window, name: *const c_char) -> Atom>§tk_IntersectTextLayout: Option<unsafe extern "C" fn(layout: Tk_TextLayout, x: c_int, y: c_int, width: c_int, height: c_int) -> c_int>§tk_MaintainGeometry: Option<unsafe extern "C" fn(window: Tk_Window, container: Tk_Window, x: c_int, y: c_int, width: c_int, height: c_int)>§tk_MainWindow: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp) -> Tk_Window>§tk_MakeWindowExist: Option<unsafe extern "C" fn(tkwin: Tk_Window)>§tk_ManageGeometry: Option<unsafe extern "C" fn(tkwin: Tk_Window, mgrPtr: *const Tk_GeomMgr, clientData: ClientData)>§tk_MapWindow: Option<unsafe extern "C" fn(tkwin: Tk_Window)>§tk_MeasureChars: Option<unsafe extern "C" fn(tkfont: Tk_Font, source: *const c_char, numBytes: c_int, maxPixels: c_int, flags: c_int, lengthPtr: *mut c_int) -> c_int>§tk_MoveResizeWindow: Option<unsafe extern "C" fn(tkwin: Tk_Window, x: c_int, y: c_int, width: c_int, height: c_int)>§tk_MoveWindow: Option<unsafe extern "C" fn(tkwin: Tk_Window, x: c_int, y: c_int)>§tk_MoveToplevelWindow: Option<unsafe extern "C" fn(tkwin: Tk_Window, x: c_int, y: c_int)>§tk_NameOf3DBorder: Option<unsafe extern "C" fn(border: Tk_3DBorder) -> *const c_char>§tk_NameOfAnchor: Option<unsafe extern "C" fn(anchor: Tk_Anchor) -> *const c_char>§tk_NameOfBitmap: Option<unsafe extern "C" fn(display: *mut Display, bitmap: Pixmap) -> *const c_char>§tk_NameOfCapStyle: Option<unsafe extern "C" fn(cap: c_int) -> *const c_char>§tk_NameOfColor: Option<unsafe extern "C" fn(colorPtr: *mut XColor) -> *const c_char>§tk_NameOfCursor: Option<unsafe extern "C" fn(display: *mut Display, cursor: Tk_Cursor) -> *const c_char>§tk_NameOfFont: Option<unsafe extern "C" fn(font: Tk_Font) -> *const c_char>§tk_NameOfImage: Option<unsafe extern "C" fn(model: Tk_ImageMaster) -> *const c_char>§tk_NameOfJoinStyle: Option<unsafe extern "C" fn(join: c_int) -> *const c_char>§tk_NameOfJustify: Option<unsafe extern "C" fn(justify: Tk_Justify) -> *const c_char>§tk_NameOfRelief: Option<unsafe extern "C" fn(relief: c_int) -> *const c_char>§tk_NameToWindow: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, pathName: *const c_char, tkwin: Tk_Window) -> Tk_Window>§tk_OwnSelection: Option<unsafe extern "C" fn(tkwin: Tk_Window, selection: Atom, proc_: Tk_LostSelProc, clientData: ClientData)>§tk_ParseArgv: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, argcPtr: *mut c_int, argv: *mut *const c_char, argTable: *const Tk_ArgvInfo, flags: c_int) -> c_int>§tk_PhotoPutBlock_NoComposite: Option<unsafe extern "C" fn(handle: Tk_PhotoHandle, blockPtr: *mut Tk_PhotoImageBlock, x: c_int, y: c_int, width: c_int, height: c_int)>§tk_PhotoPutZoomedBlock_NoComposite: Option<unsafe extern "C" fn(handle: Tk_PhotoHandle, blockPtr: *mut Tk_PhotoImageBlock, x: c_int, y: c_int, width: c_int, height: c_int, zoomX: c_int, zoomY: c_int, subsampleX: c_int, subsampleY: c_int)>§tk_PhotoGetImage: Option<unsafe extern "C" fn(handle: Tk_PhotoHandle, blockPtr: *mut Tk_PhotoImageBlock) -> c_int>§tk_PhotoBlank: Option<unsafe extern "C" fn(handle: Tk_PhotoHandle)>§tk_PhotoExpand_Panic: Option<unsafe extern "C" fn(handle: Tk_PhotoHandle, width: c_int, height: c_int)>§tk_PhotoGetSize: Option<unsafe extern "C" fn(handle: Tk_PhotoHandle, widthPtr: *mut c_int, heightPtr: *mut c_int)>§tk_PhotoSetSize_Panic: Option<unsafe extern "C" fn(handle: Tk_PhotoHandle, width: c_int, height: c_int)>§tk_PointToChar: Option<unsafe extern "C" fn(layout: Tk_TextLayout, x: c_int, y: c_int) -> c_int>§tk_PostscriptFontName: Option<unsafe extern "C" fn(tkfont: Tk_Font, dsPtr: *mut Tcl_DString) -> c_int>§tk_PreserveColormap: Option<unsafe extern "C" fn(display: *mut Display, colormap: Colormap)>§tk_QueueWindowEvent: Option<unsafe extern "C" fn(eventPtr: *mut XEvent, position: Tcl_QueuePosition)>§tk_RedrawImage: Option<unsafe extern "C" fn(image: Tk_Image, imageX: c_int, imageY: c_int, width: c_int, height: c_int, drawable: Drawable, drawableX: c_int, drawableY: c_int)>§tk_ResizeWindow: Option<unsafe extern "C" fn(tkwin: Tk_Window, width: c_int, height: c_int)>§tk_RestackWindow: Option<unsafe extern "C" fn(tkwin: Tk_Window, aboveBelow: c_int, other: Tk_Window) -> c_int>§tk_RestrictEvents: Option<unsafe extern "C" fn(proc_: Tk_RestrictProc, arg: ClientData, prevArgPtr: *mut ClientData) -> Tk_RestrictProc>§tk_SafeInit: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp) -> c_int>§tk_SetAppName: Option<unsafe extern "C" fn(tkwin: Tk_Window, name: *const c_char) -> *const c_char>§tk_SetBackgroundFromBorder: Option<unsafe extern "C" fn(tkwin: Tk_Window, border: Tk_3DBorder)>§tk_SetClass: Option<unsafe extern "C" fn(tkwin: Tk_Window, className: *const c_char)>§tk_SetGrid: Option<unsafe extern "C" fn(tkwin: Tk_Window, reqWidth: c_int, reqHeight: c_int, gridWidth: c_int, gridHeight: c_int)>§tk_SetInternalBorder: Option<unsafe extern "C" fn(tkwin: Tk_Window, width: c_int)>§tk_SetWindowBackground: Option<unsafe extern "C" fn(tkwin: Tk_Window, pixel: c_ulong)>§tk_SetWindowBackgroundPixmap: Option<unsafe extern "C" fn(tkwin: Tk_Window, pixmap: Pixmap)>§tk_SetWindowBorder: Option<unsafe extern "C" fn(tkwin: Tk_Window, pixel: c_ulong)>§tk_SetWindowBorderWidth: Option<unsafe extern "C" fn(tkwin: Tk_Window, width: c_int)>§tk_SetWindowBorderPixmap: Option<unsafe extern "C" fn(tkwin: Tk_Window, pixmap: Pixmap)>§tk_SetWindowColormap: Option<unsafe extern "C" fn(tkwin: Tk_Window, colormap: Colormap)>§tk_SetWindowVisual: Option<unsafe extern "C" fn(tkwin: Tk_Window, visual: *mut Visual, depth: c_int, colormap: Colormap) -> c_int>§tk_SizeOfBitmap: Option<unsafe extern "C" fn(display: *mut Display, bitmap: Pixmap, widthPtr: *mut c_int, heightPtr: *mut c_int)>§tk_SizeOfImage: Option<unsafe extern "C" fn(image: Tk_Image, widthPtr: *mut c_int, heightPtr: *mut c_int)>§tk_StrictMotif: Option<unsafe extern "C" fn(tkwin: Tk_Window) -> c_int>§tk_TextLayoutToPostscript: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, layout: Tk_TextLayout)>§tk_TextWidth: Option<unsafe extern "C" fn(font: Tk_Font, str_: *const c_char, numBytes: c_int) -> c_int>§tk_UndefineCursor: Option<unsafe extern "C" fn(window: Tk_Window)>§tk_UnderlineChars: Option<unsafe extern "C" fn(display: *mut Display, drawable: Drawable, gc: GC, tkfont: Tk_Font, source: *const c_char, x: c_int, y: c_int, firstByte: c_int, lastByte: c_int)>§tk_UnderlineTextLayout: Option<unsafe extern "C" fn(display: *mut Display, drawable: Drawable, gc: GC, layout: Tk_TextLayout, x: c_int, y: c_int, underline: c_int)>§tk_Ungrab: Option<unsafe extern "C" fn(tkwin: Tk_Window)>§tk_UnmaintainGeometry: Option<unsafe extern "C" fn(window: Tk_Window, container: Tk_Window)>§tk_UnmapWindow: Option<unsafe extern "C" fn(tkwin: Tk_Window)>§tk_UnsetGrid: Option<unsafe extern "C" fn(tkwin: Tk_Window)>§tk_UpdatePointer: Option<unsafe extern "C" fn(tkwin: Tk_Window, x: c_int, y: c_int, state: c_int)>§tk_AllocBitmapFromObj: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, objPtr: *mut Tcl_Obj) -> Pixmap>§tk_Alloc3DBorderFromObj: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, objPtr: *mut Tcl_Obj) -> Tk_3DBorder>§tk_AllocColorFromObj: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, objPtr: *mut Tcl_Obj) -> *mut XColor>§tk_AllocCursorFromObj: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, objPtr: *mut Tcl_Obj) -> Tk_Cursor>§tk_AllocFontFromObj: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, objPtr: *mut Tcl_Obj) -> Tk_Font>§tk_CreateOptionTable: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, templatePtr: *const Tk_OptionSpec) -> Tk_OptionTable>§tk_DeleteOptionTable: Option<unsafe extern "C" fn(optionTable: Tk_OptionTable)>§tk_Free3DBorderFromObj: Option<unsafe extern "C" fn(tkwin: Tk_Window, objPtr: *mut Tcl_Obj)>§tk_FreeBitmapFromObj: Option<unsafe extern "C" fn(tkwin: Tk_Window, objPtr: *mut Tcl_Obj)>§tk_FreeColorFromObj: Option<unsafe extern "C" fn(tkwin: Tk_Window, objPtr: *mut Tcl_Obj)>§tk_FreeConfigOptions: Option<unsafe extern "C" fn(recordPtr: *mut c_char, optionToken: Tk_OptionTable, tkwin: Tk_Window)>§tk_FreeSavedOptions: Option<unsafe extern "C" fn(savePtr: *mut Tk_SavedOptions)>§tk_FreeCursorFromObj: Option<unsafe extern "C" fn(tkwin: Tk_Window, objPtr: *mut Tcl_Obj)>§tk_FreeFontFromObj: Option<unsafe extern "C" fn(tkwin: Tk_Window, objPtr: *mut Tcl_Obj)>§tk_Get3DBorderFromObj: Option<unsafe extern "C" fn(tkwin: Tk_Window, objPtr: *mut Tcl_Obj) -> Tk_3DBorder>§tk_GetAnchorFromObj: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, objPtr: *mut Tcl_Obj, anchorPtr: *mut Tk_Anchor) -> c_int>§tk_GetBitmapFromObj: Option<unsafe extern "C" fn(tkwin: Tk_Window, objPtr: *mut Tcl_Obj) -> Pixmap>§tk_GetColorFromObj: Option<unsafe extern "C" fn(tkwin: Tk_Window, objPtr: *mut Tcl_Obj) -> *mut XColor>§tk_GetCursorFromObj: Option<unsafe extern "C" fn(tkwin: Tk_Window, objPtr: *mut Tcl_Obj) -> Tk_Cursor>§tk_GetOptionInfo: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, recordPtr: *mut c_char, optionTable: Tk_OptionTable, namePtr: *mut Tcl_Obj, tkwin: Tk_Window) -> *mut Tcl_Obj>§tk_GetOptionValue: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, recordPtr: *mut c_char, optionTable: Tk_OptionTable, namePtr: *mut Tcl_Obj, tkwin: Tk_Window) -> *mut Tcl_Obj>§tk_GetJustifyFromObj: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, objPtr: *mut Tcl_Obj, justifyPtr: *mut Tk_Justify) -> c_int>§tk_GetMMFromObj: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, objPtr: *mut Tcl_Obj, doublePtr: *mut f64) -> c_int>§tk_GetPixelsFromObj: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, objPtr: *mut Tcl_Obj, intPtr: *mut c_int) -> c_int>§tk_GetReliefFromObj: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, objPtr: *mut Tcl_Obj, resultPtr: *mut c_int) -> c_int>§tk_GetScrollInfoObj: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, objc: c_int, objv: *const *mut Tcl_Obj, dblPtr: *mut f64, intPtr: *mut c_int) -> c_int>§tk_InitOptions: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, recordPtr: *mut c_char, optionToken: Tk_OptionTable, tkwin: Tk_Window) -> c_int>§tk_MainEx: Option<unsafe extern "C" fn(argc: c_int, argv: *mut *mut c_char, appInitProc: Tcl_AppInitProc, interp: *mut Tcl_Interp)>§tk_RestoreSavedOptions: Option<unsafe extern "C" fn(savePtr: *mut Tk_SavedOptions)>§tk_SetOptions: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, recordPtr: *mut c_char, optionTable: Tk_OptionTable, objc: c_int, objv: *const *mut Tcl_Obj, tkwin: Tk_Window, savePtr: *mut Tk_SavedOptions, maskPtr: *mut c_int) -> c_int>§tk_InitConsoleChannels: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp)>§tk_CreateConsoleWindow: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp) -> c_int>§tk_CreateSmoothMethod: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, method: *const Tk_SmoothMethod)>§reserved218: Option<unsafe extern "C" fn()>§reserved219: Option<unsafe extern "C" fn()>§tk_GetDash: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, value: *const c_char, dash: *mut Tk_Dash) -> c_int>§tk_CreateOutline: Option<unsafe extern "C" fn(outline: *mut Tk_Outline)>§tk_DeleteOutline: Option<unsafe extern "C" fn(display: *mut Display, outline: *mut Tk_Outline)>§tk_ConfigOutlineGC: Option<unsafe extern "C" fn(gcValues: *mut XGCValues, canvas: Tk_Canvas, item: *mut Tk_Item, outline: *mut Tk_Outline) -> c_int>§tk_ChangeOutlineGC: Option<unsafe extern "C" fn(canvas: Tk_Canvas, item: *mut Tk_Item, outline: *mut Tk_Outline) -> c_int>§tk_ResetOutlineGC: Option<unsafe extern "C" fn(canvas: Tk_Canvas, item: *mut Tk_Item, outline: *mut Tk_Outline) -> c_int>§tk_CanvasPsOutline: Option<unsafe extern "C" fn(canvas: Tk_Canvas, item: *mut Tk_Item, outline: *mut Tk_Outline) -> c_int>§tk_SetTSOrigin: Option<unsafe extern "C" fn(tkwin: Tk_Window, gc: GC, x: c_int, y: c_int)>§tk_CanvasGetCoordFromObj: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, canvas: Tk_Canvas, obj: *mut Tcl_Obj, doublePtr: *mut f64) -> c_int>§tk_CanvasSetOffset: Option<unsafe extern "C" fn(canvas: Tk_Canvas, gc: GC, offset: *mut Tk_TSOffset)>§tk_DitherPhoto: Option<unsafe extern "C" fn(handle: Tk_PhotoHandle, x: c_int, y: c_int, width: c_int, height: c_int)>§tk_PostscriptBitmap: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, psInfo: Tk_PostscriptInfo, bitmap: Pixmap, startX: c_int, startY: c_int, width: c_int, height: c_int) -> c_int>§tk_PostscriptColor: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, psInfo: Tk_PostscriptInfo, colorPtr: *mut XColor) -> c_int>§tk_PostscriptFont: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, psInfo: Tk_PostscriptInfo, font: Tk_Font) -> c_int>§tk_PostscriptImage: Option<unsafe extern "C" fn(image: Tk_Image, interp: *mut Tcl_Interp, tkwin: Tk_Window, psinfo: Tk_PostscriptInfo, x: c_int, y: c_int, width: c_int, height: c_int, prepass: c_int) -> c_int>§tk_PostscriptPath: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, psInfo: Tk_PostscriptInfo, coordPtr: *mut f64, numPoints: c_int)>§tk_PostscriptStipple: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, tkwin: Tk_Window, psInfo: Tk_PostscriptInfo, bitmap: Pixmap) -> c_int>§tk_PostscriptY: Option<unsafe extern "C" fn(y: f64, psInfo: Tk_PostscriptInfo) -> f64>§tk_PostscriptPhoto: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, blockPtr: *mut Tk_PhotoImageBlock, psInfo: Tk_PostscriptInfo, width: c_int, height: c_int) -> c_int>§tk_CreateClientMessageHandler: Option<unsafe extern "C" fn(proc_: Tk_ClientMessageProc)>§tk_DeleteClientMessageHandler: Option<unsafe extern "C" fn(proc_: Tk_ClientMessageProc)>§tk_CreateAnonymousWindow: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, parent: Tk_Window, screenName: *const c_char) -> Tk_Window>§tk_SetClassProcs: Option<unsafe extern "C" fn(tkwin: Tk_Window, procs: *const Tk_ClassProcs, instanceData: ClientData)>§tk_SetInternalBorderEx: Option<unsafe extern "C" fn(tkwin: Tk_Window, left: c_int, right: c_int, top: c_int, bottom: c_int)>§tk_SetMinimumRequestSize: Option<unsafe extern "C" fn(tkwin: Tk_Window, minWidth: c_int, minHeight: c_int)>§tk_SetCaretPos: Option<unsafe extern "C" fn(tkwin: Tk_Window, x: c_int, y: c_int, height: c_int)>§tk_PhotoPutBlock_Panic: Option<unsafe extern "C" fn(handle: Tk_PhotoHandle, blockPtr: *mut Tk_PhotoImageBlock, x: c_int, y: c_int, width: c_int, height: c_int, compRule: c_int)>§tk_PhotoPutZoomedBlock_Panic: Option<unsafe extern "C" fn(handle: Tk_PhotoHandle, blockPtr: *mut Tk_PhotoImageBlock, x: c_int, y: c_int, width: c_int, height: c_int, zoomX: c_int, zoomY: c_int, subsampleX: c_int, subsampleY: c_int, compRule: c_int)>§tk_CollapseMotionEvents: Option<unsafe extern "C" fn(display: *mut Display, collapse: c_int) -> c_int>§tk_RegisterStyleEngine: Option<unsafe extern "C" fn(name: *const c_char, parent: Tk_StyleEngine) -> Tk_StyleEngine>§tk_GetStyleEngine: Option<unsafe extern "C" fn(name: *const c_char) -> Tk_StyleEngine>§tk_RegisterStyledElement: Option<unsafe extern "C" fn(engine: Tk_StyleEngine, templatePtr: *mut Tk_ElementSpec) -> c_int>§tk_GetElementId: Option<unsafe extern "C" fn(name: *const c_char) -> c_int>§tk_CreateStyle: Option<unsafe extern "C" fn(name: *const c_char, engine: Tk_StyleEngine, clientData: ClientData) -> Tk_Style>§tk_GetStyle: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, name: *const c_char) -> Tk_Style>§tk_FreeStyle: Option<unsafe extern "C" fn(style: Tk_Style)>§tk_NameOfStyle: Option<unsafe extern "C" fn(style: Tk_Style) -> *const c_char>§tk_AllocStyleFromObj: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, objPtr: *mut Tcl_Obj) -> Tk_Style>§tk_GetStyleFromObj: Option<unsafe extern "C" fn(objPtr: *mut Tcl_Obj) -> Tk_Style>§tk_FreeStyleFromObj: Option<unsafe extern "C" fn(objPtr: *mut Tcl_Obj)>§tk_GetStyledElement: Option<unsafe extern "C" fn(style: Tk_Style, elementId: c_int, optionTable: Tk_OptionTable) -> Tk_StyledElement>§tk_GetElementSize: Option<unsafe extern "C" fn(style: Tk_Style, element: Tk_StyledElement, recordPtr: *mut c_char, tkwin: Tk_Window, width: c_int, height: c_int, inner: c_int, widthPtr: *mut c_int, heightPtr: *mut c_int)>§tk_GetElementBox: Option<unsafe extern "C" fn(style: Tk_Style, element: Tk_StyledElement, recordPtr: *mut c_char, tkwin: Tk_Window, x: c_int, y: c_int, width: c_int, height: c_int, inner: c_int, xPtr: *mut c_int, yPtr: *mut c_int, widthPtr: *mut c_int, heightPtr: *mut c_int)>§tk_GetElementBorderWidth: Option<unsafe extern "C" fn(style: Tk_Style, element: Tk_StyledElement, recordPtr: *mut c_char, tkwin: Tk_Window) -> c_int>§tk_DrawElement: Option<unsafe extern "C" fn(style: Tk_Style, element: Tk_StyledElement, recordPtr: *mut c_char, tkwin: Tk_Window, d: Drawable, x: c_int, y: c_int, width: c_int, height: c_int, state: c_int)>§tk_PhotoExpand: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, handle: Tk_PhotoHandle, width: c_int, height: c_int) -> c_int>§tk_PhotoPutBlock: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, handle: Tk_PhotoHandle, blockPtr: *mut Tk_PhotoImageBlock, x: c_int, y: c_int, width: c_int, height: c_int, compRule: c_int) -> c_int>§tk_PhotoPutZoomedBlock: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, handle: Tk_PhotoHandle, blockPtr: *mut Tk_PhotoImageBlock, x: c_int, y: c_int, width: c_int, height: c_int, zoomX: c_int, zoomY: c_int, subsampleX: c_int, subsampleY: c_int, compRule: c_int) -> c_int>§tk_PhotoSetSize: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, handle: Tk_PhotoHandle, width: c_int, height: c_int) -> c_int>§tk_GetUserInactiveTime: Option<unsafe extern "C" fn(dpy: *mut Display) -> c_long>§tk_ResetUserInactiveTime: Option<unsafe extern "C" fn(dpy: *mut Display)>§tk_Interp: Option<unsafe extern "C" fn(tkwin: Tk_Window) -> *mut Tcl_Interp>§tk_CreateOldImageType: Option<unsafe extern "C" fn(typePtr: *const Tk_ImageType)>§tk_CreateOldPhotoImageFormat: Option<unsafe extern "C" fn(formatPtr: *const Tk_PhotoImageFormat)>§reserved274: Option<unsafe extern "C" fn()>§reserved275: Option<unsafe extern "C" fn()>§reserved276: Option<unsafe extern "C" fn()>§reserved277: Option<unsafe extern "C" fn()>§reserved278: Option<unsafe extern "C" fn()>§reserved279: Option<unsafe extern "C" fn()>§reserved280: Option<unsafe extern "C" fn()>§reserved281: Option<unsafe extern "C" fn()>§reserved282: Option<unsafe extern "C" fn()>§reserved283: Option<unsafe extern "C" fn()>§reserved284: Option<unsafe extern "C" fn()>§reserved285: Option<unsafe extern "C" fn()>§reserved286: Option<unsafe extern "C" fn()>§reserved287: Option<unsafe extern "C" fn()>§reserved288: Option<unsafe extern "C" fn()>§reserved289: Option<unsafe extern "C" fn()>§tkUnusedStubEntry: Option<unsafe extern "C" fn()>

Trait Implementations§

Source§

impl Clone for TkStubs

Source§

fn clone(&self) -> TkStubs

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for TkStubs

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.