@@ -140,4 +140,58 @@ fun main() = Window(title = "Compose for Desktop", size = IntSize(400, 400)) {
...
@@ -140,4 +140,58 @@ fun main() = Window(title = "Compose for Desktop", size = IntSize(400, 400)) {
}
}
}
}
```
```


\ No newline at end of file
### Mouse right/middle clicks and keyboard modifiers
While first-class support for pointer type-specific data, like pressed mouse buttons, is still in development in Compose, there is an available raw AWT mouse event object in Compose for Desktop, that can be used as a workaround when you need advanced functionality.