diff options
author | wolfsuit <wolfsuit> | 2004-02-16 23:20:01 (GMT) |
---|---|---|
committer | wolfsuit <wolfsuit> | 2004-02-16 23:20:01 (GMT) |
commit | 67184a5a33b07828d91ceff3e3430296dc476580 (patch) | |
tree | a7fb2247f3f3ac62c9908f9aee98f70b46f73743 /doc | |
parent | 529402c74caad6427229c711ad5998294300baad (diff) | |
download | tk-67184a5a33b07828d91ceff3e3430296dc476580.zip tk-67184a5a33b07828d91ceff3e3430296dc476580.tar.gz tk-67184a5a33b07828d91ceff3e3430296dc476580.tar.bz2 |
Update the docs for the Mac OS X MouseWheel changes.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bind.n | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -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 |