CustomTkinter
CustomTkinter copied to clipboard
Where can I find all possible bind and event descriptions? (Press/Release)
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