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
/
setPosition
set
Position
fun
setPosition
(
position
:
LogicalPosition
)
:
Promise
<
Void
>
(
source
)
fun
setPosition
(
position
:
PhysicalPosition
)
:
Promise
<
Void
>
(
source
)
fun
setPosition
(
position
:
Position
)
:
Promise
<
Void
>
(
source
)
Sets the window outer position.
Parameters
position
The new position, in logical or physical pixels.