setWindowState
open suspend override fun setWindowState(left: Int, top: Int, width: Int, height: Int, state: String)
Sets the tab's window state, including position and size.
This method allows you to set the window's position (left, top), size (width, height), and state (normal, minimized, maximized, fullscreen).
Parameters
left
The left position of the window. Defaults to 0.
top
The top position of the window. Defaults to 0.
width
The width of the window. Defaults to 1280.
height
The height of the window. Defaults to 720.
state
The state of the window. Defaults to "normal". Valid values are "minimized", "maximized", "fullscreen", and "normal".