[Python-bugs-list] [ python-Bugs-602259 ] 3rd parameter for Tkinter.scan_dragto

SourceForge.net noreply@sourceforge.net
Fri, 10 Jan 2003 15:26:40 -0800


Bugs item #602259, was opened at 2002-08-30 03:26
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=602259&group_id=5470

Category: Tkinter
Group: Python 2.3
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Matthias Klose (doko)
Assigned to: Neal Norwitz (nnorwitz)
Summary: 3rd parameter for Tkinter.scan_dragto

Initial Comment:
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]


----------------------------------------------------------------------

>Comment By: Neal Norwitz (nnorwitz)
Date: 2003-01-10 18:26

Message:
Logged In: YES 
user_id=33168

Checked in as:
 Lib/lib-tk/Tkinter.py 1.168
 Misc/NEWS 1.611

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=602259&group_id=5470