Hi again

This time I have one kind of bigger problem. I have to bind single click and double click with Tkinter. So, I tried this:

root.bind("<Button-1>", single_click)
root.bind("<Double-Button-1>", double_click)

That doesn't work. What I can try next? How to execute function X on double click and function Y on single click?

Sorry again my English, my mother tongue is Finnish.

Solved with <<ListboxSelect>>

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.