Kotlin Wrappers API Reference
Toggle table of contents
common
Platform filter
common
Switch theme
kotlin-electron
/
electron.core
/
Tray
/
setPressedImage
set
Pressed
Image
fun
setPressedImage
(
image
:
NativeImage
)
(
source
)
fun
setPressedImage
(
image
:
String
)
(
source
)
Sets the
image
associated with this tray icon when pressed on macOS.