Johnston Jiaa wrote:
>
>> Just don't distinguish between quick and slow drags. Just keep a
>> temporary variable that has the previous mouse position, and draw
>> ovals from there to the current mouse position every time your
>> function is called.
>
> I now have the variable with the previous
ouse position in that
function.
- Original Message -
From: "Johnston Jiaa" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, December 04, 2007 7:30 PM
Subject: [Tutor] Button 1 Motion Event
> I'm creating a drawing program, like MS Paint in Tkinter. I bound
> the
Johnston Jiaa wrote:
> I'm creating a drawing program, like MS Paint in Tkinter. I bound
> the event to my Canvas object. The function it's bound
> to creates an oval at the event's x and y attributes.
>
> This works fine if the user is dragging slowly, but if he does a
> sudden dragging m
"Johnston Jiaa" <[EMAIL PROTECTED]> wrote
> I'm creating a drawing program, like MS Paint in Tkinter. I bound
> the event to my Canvas object. The function it's bound
> to creates an oval at the event's x and y attributes.
>
> This works fine if the user is dragging slowly, but if he does a
>
I'm creating a drawing program, like MS Paint in Tkinter. I bound
the event to my Canvas object. The function it's bound
to creates an oval at the event's x and y attributes.
This works fine if the user is dragging slowly, but if he does a
sudden dragging motion, the ovals are very far ap