Imported Tk 8.6.9

This commit is contained in:
Steve Dower
2018-12-11 10:05:28 -08:00
parent 753ac6b037
commit 5ba5cbc9af
184 changed files with 6223 additions and 1994 deletions

View File

@@ -79,6 +79,35 @@ DebuggerObjCmd(
return TCL_OK;
}
/*
*----------------------------------------------------------------------
*
* TkTestSimulateDrawing --
*
* A test widget display procedure which records calls can use this to
* avoid duplicate calls which would occur due to fact that no valid
* graphics context is available to the idle task which is running the
* display proc. Note that no actual drawing to the screen will take
* place when this flag is set. This is just a wrapper for the NSApp
* property.
*
*
* Results:
* Calls to low level drawing routines will return without actually
* drawing anything to the screen.
*
* Side effects:
* None
*
*----------------------------------------------------------------------
*/
MODULE_SCOPE void
TkTestSimulateDrawing(Bool yesno) {
[NSApp setSimulateDrawing:yesno];
}
/*
* Local Variables:
* mode: objc