2021年5月7日星期五

Tkinter: how to bind scale hotkeys?

I'd like to bind Control+MouseWheelUp combination. I tried to do so:

import tkinter as tk    root = tk.Tk()  root.bind('<Control-Button-4>',print)  

This gives no reaction? Why?

https://stackoverflow.com/questions/67443993/tkinter-how-to-bind-scale-hotkeys May 08, 2021 at 12:06PM

没有评论:

发表评论