This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: 3rd parameter for Tkinter.scan_dragto
Type: Stage:
Components: Tkinter Versions: Python 2.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: nnorwitz Nosy List: doko, nnorwitz
Priority: normal Keywords:

Created on 2002-08-30 07:26 by doko, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Messages (2)
msg12207 - (view) Author: Matthias Klose (doko) * (Python committer) Date: 2002-08-30 07:26
In Tk8.3 (possibly earlier), one can add a third
optional parameter, called "gain", which determines the
multiplier used when performing the panning operation.
 The Tkinter call does not allow this parameter to be
passed in the resultant Tk's default gain of 10 is
often unusable.

Work around is to just do this call manually:

    self.canv.tk.call(self.canv._w, 'scan', 'dragto',
event.x, event.y, 1)

uses a gain of `1'.

[from http://bugs.debian.org/158168]
msg12208 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2003-01-10 23:26
Logged In: YES 
user_id=33168

Checked in as:
 Lib/lib-tk/Tkinter.py 1.168
 Misc/NEWS 1.611
History
Date User Action Args
2022-04-10 16:05:38adminsetgithub: 37112
2002-08-30 07:26:11dokocreate