diff options
author | culler <culler> | 2019-01-05 19:34:32 (GMT) |
---|---|---|
committer | culler <culler> | 2019-01-05 19:34:32 (GMT) |
commit | 1615a89ab7456071e1091399dbe169c8f1d7d757 (patch) | |
tree | 934951b29a0e9a5327b28280995c6a3c61764ffe /doc/grab.n | |
parent | 0ff9be54ab18ebef3aecc29024da14d34940d45a (diff) | |
download | tk-1615a89ab7456071e1091399dbe169c8f1d7d757.zip tk-1615a89ab7456071e1091399dbe169c8f1d7d757.tar.gz tk-1615a89ab7456071e1091399dbe169c8f1d7d757.tar.bz2 |
Document the behavior of local and global grabs on macOS.
Diffstat (limited to 'doc/grab.n')
-rw-r--r-- | doc/grab.n | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -61,6 +61,16 @@ The \fBfocus\fR command is still used to determine which window in the application receives the keyboard events. The keyboard grab is released when the grab is released. .PP +On macOS a global grab affects all windows created by one Tk process. +No window in that process other than the grab window can even be +focused, hence no other window receives key or mouse events. A local +grab on macOS affects all windows created by one Tcl interpreter. It +is possible to focus any window belonging to the Tk process during a +local grab but the grab window is the only window created by its +interpreter which receives key or mouse events. Windows belonging to the +same process but created by different interpreters continue to receive +key and mouse events normally. +.PP Grabs apply to particular displays. If an application has windows on multiple displays then it can establish a separate grab on each display. |