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.
我想在 Slider 小部件上实现一个拖动检测。所以当用户拖动拇指时。应该检测到阻力。任何人都可以在不使用拖动检测侦听器的情况下提出解决方法。
谢谢
关于巴拉特 Y
org.eclipse.swt.widgets.Slider#addSelectionListener(SelectionListener)就是你要找的。
org.eclipse.swt.widgets.Slider#addSelectionListener(SelectionListener)