summaryrefslogtreecommitdiffstats
path: root/doc/bind.n
diff options
context:
space:
mode:
authorwolfsuit <wolfsuit>2004-02-16 23:20:01 (GMT)
committerwolfsuit <wolfsuit>2004-02-16 23:20:01 (GMT)
commit7c88717969f2b9b187a84e5da70f7d2678082907 (patch)
treea7fb2247f3f3ac62c9908f9aee98f70b46f73743 /doc/bind.n
parent2da0744807fc66a4aa8bb9e0d30c15d10286e7aa (diff)
downloadtk-7c88717969f2b9b187a84e5da70f7d2678082907.zip
tk-7c88717969f2b9b187a84e5da70f7d2678082907.tar.gz
tk-7c88717969f2b9b187a84e5da70f7d2678082907.tar.bz2
Update the docs for the Mac OS X MouseWheel changes.
Diffstat (limited to 'doc/bind.n')
-rw-r--r--doc/bind.n14
1 files changed, 8 insertions, 6 deletions
diff --git a/doc/bind.n b/doc/bind.n
index 5704ba7..1238641 100644
--- a/doc/bind.n
+++ b/doc/bind.n
@@ -6,7 +6,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: bind.n,v 1.7 2002/09/30 09:35:39 dkf Exp $
+'\" RCS: @(#) $Id: bind.n,v 1.7.2.1 2004/02/16 23:20:02 wolfsuit Exp $
'\"
.so man.macros
.TH bind n 8.0 Tk "Tk Built-In Commands"
@@ -199,16 +199,18 @@ substitutions you would make when binding to these events.
Some mice on the Windows platform support a mouse wheel which is used
for scrolling documents without using the scrollbars. By rolling the
wheel, the system will generate \fBMouseWheel\fR events that the
-application can use to scroll. Like \fBKey\fR events the event is
-always routed to the window that currently has focus. When the event
+application can use to scroll. On Windows, the event is
+always routed to the window that currently has focus. On Mac OS X,
+the event is routed to the window under the pointer. When the event
is received you can use the \fB%D\fR substitution to get the
\fIdelta\fR field for the event which is a integer value of motion
that the mouse wheel has moved. The smallest value for which the
system will report is defined by the OS. On Windows 95 & 98 machines
this value is at least 120 before it is reported. However, higher
-resolution devices may be available in the future. The sign of the
-value determines which direction your widget should scroll. Positive
-values should scroll up and negative values should scroll down.
+resolution devices may be available in the future. On Mac OS X, the value is
+not scaled by 120, but a value of 1 corresponds to roughly one text line.
+The sign of the value determines which direction your widget should scroll.
+Positive values should scroll up and negative values should scroll down.
.VE
.PP
The last part of a long event specification is \fIdetail\fR. In the