Kotlin Wrappers API Reference
Toggle table of contents
web
Target filter
web
Switch theme
Search in API
Skip to content
Kotlin Wrappers API Reference
kotlin-tauri-apps-api
/
tauri.apps.api.window
/
Window
/
setIcon
set
Icon
external
fun
setIcon
(
icon
:
JsImage
)
:
Promise
<
Void
>
(
source
)
Sets the window icon.
Parameters
icon
Icon bytes or path to the icon file.