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

noreply@sourceforge.net noreply@sourceforge.net
Sat, 02 Nov 2002 13:07:06 -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: Open
Resolution: None
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]


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

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