I'm currently trying to write an Image Viewer, but the "Forward/Backward" Buttons on the mouse are not triggering any of the possible binds in tkinter.
I tried the binds:
<Key>, <KeyPress>, <ButtonPress>, <Return>
but none of them can detect the mouse clicks on the forward/backward button.
Has Python even the possiblity to detect them?
Edit:
The buttons are called XButtons and are hookable with PyHook or PyQt, but if I try to let them run in the background, they are lagging massively, any way to prevent that?
I'm currently trying to let this script run smoothly in the background without causing extreme lags
Edit:
Using wxPython with PyHook solved my problem, since Tkinter and PyHook is causing huge lags, which don't appear with wxPython