Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个带有 4 个按钮的 Grid 容器。我需要捕捉一个可以识别鼠标指针悬停在按钮顶部的信号。我还不想点击按钮。我只想检测指针的存在。
您正在寻找的信号是enter-notify-event和leave-notify-event。
enter-notify-event
leave-notify-event