klyn.gui.windows.Window.setPlacement
method
public native setPlacement(placement as WindowPlacement) as Void
Description

Restores geometry and mode without changing the selected frame. Before show(), only the requested placement is stored. Bounds outside available screens are moved back onto the nearest screen.

Parameters
ParameterDescription
placementSnapshot to restore.
Throws
  • ValueException if placement is null.
  • Exception if the native backend cannot apply the display mode.
Example

window.setPlacement(saved)