CustomTkinter icon indicating copy to clipboard operation
CustomTkinter copied to clipboard

Where can I find all possible bind and event descriptions? (Press/Release)

Open rtek1000 opened this issue 8 months ago • 2 comments
trafficstars

Hello,

I couldn't find equivalent usage examples.

I found this partial tip, which worked:

Tkinter:

btn1.bind("<ButtonPress>", on_press_func)
btn1.bind("<ButtonRelease>", on_release_func)

CustomTkinter:

btn1.bind("<ButtonPress-1>", on_press_func)
btn1.bind("<ButtonRelease>", on_release_func)

Ref.:

https://customtkinter.tomschimansky.com/documentation/widgets/button

https://python-course.eu/tkinter/events-and-binds-in-tkinter.php

https://stackoverflow.com/questions/74163391/customtkinter-some-binds-dont-work-on-frames

rtek1000 avatar Feb 22 '25 01:02 rtek1000