Join Slack
Powered by
How do I catch mouse events outside of the widget?
# compose-desktop
l
luen
12/11/2021, 1:13 PM
How do I catch mouse events outside of the widget?
d
Dominaezzz
12/11/2021, 1:20 PM
Add a border to the element and add a modifier to it,.
l
luen
12/11/2021, 1:23 PM
not correctly formulated the question. Here's a more correct one: How do I catch mouse events outside of the widget?
k
Kirill Grouchnikov
12/11/2021, 2:46 PM
https://docs.oracle.com/javase/7/docs/api/java/awt/Toolkit.html#addAWTEventListener(java.awt.event.AWTEventListener,%20long)
r
rcd27
12/16/2021, 5:56 AM
I handle those with `jnativehook`: tracks keys pressed and mouse events from OS API:
implementation("com.1stleg:jnativehook:2.1.0")
9
Views
Open in Slack
Previous
Next