From 53542ad7b74ce909809d9e560c25ab6d946d8f78 Mon Sep 17 00:00:00 2001 From: wolfsuit Date: Mon, 16 Feb 2004 23:20:01 +0000 Subject: Update the docs for the Mac OS X MouseWheel changes. --- ChangeLog | 1 + doc/bind.n | 14 ++++++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 11c7232..b8ffd76 100644 --- a/ChangeLog +++ b/ChangeLog @@ -11,6 +11,7 @@ way to do this for the TOT, but this is simple and will do for the 8.4 branch. * library/text.tcl: Ditto. + * doc/bind.n: Update the docs to reflect the changes. 2004-02-15 Jim Ingham 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 -- cgit v0.12