Double Click Mouse Event in Tkinter

2006-01-07 Thread scott_gui
Creating a Windows application:
 mouse event has a conflict when there is also a
binding to the  event. It seems like a silly oversight that
performing a double click will also initiate the single click action.

Has anyone figured out a way to circumvent this problem? Right now I am
making the Double click function undo the action my Single click
function does, but this is very annoying, especially since the action
that is bound to the Single click flashes for a second.

-- 
http://mail.python.org/mailman/listinfo/python-list


Double Click mouse event problems

2006-01-07 Thread scott_gui
I tried to post this a few seconds ago and isn't showing. My apologies
if it posts twice.

I am creating a Windows application:
The mouse event  has a conflict when the 
event also has a binding. Double clicks will first perform the single
click action. This seems a little silly.

Anyone know how to circumvent this? Right now I am having the function
that is bound to the double click event undo the action the single
click event performs. This is annoying and it flashes the single click
event for a split second before the double click takes over.

-- 
http://mail.python.org/mailman/listinfo/python-list


Double Click mouse event problems

2006-01-07 Thread scott_gui
I am creating a Windows application:
The mouse event  has a conflict when the 
event also has a binding. Double clicks will first perform the single
click action. This seems a little silly.

Anyone know how to circumvent this? Right now I am having the function
that is bound to the double click event undo the action the single
click event performs. This is annoying and it flashes the single click
event for a split second before the double click takes over.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Double Click mouse event problems

2006-01-08 Thread scott_gui
Thank you very much. Adding in a timer delay is a good fake out. I
guess I always considered a double-click to be one distinct behavior
aside from the single click. I have rarely seen where a double-click
action engaged an object without single clicks to select the object.
For example, the Window's file manager allows you to Ctrl-click select
two files and double click to launch both files. So I don't expect
distinct behaviors from Button-1-Down and Button-1-Up, but I guess I do
expect them from a double and single click.

No matter, I'll try the delay. This should work reasonably well.

-- 
http://mail.python.org/mailman/listinfo/python-list