setShadow

fun setShadow(enable: Boolean): ERROR CLASS: Symbol not found for js.promise.Promise<ERROR CLASS: Symbol not found for js.core.Void>(source)

Whether or not the window should have shadow.

Platform-specific

  • Windows:

  • false has no effect on decorated window, shadows are always ON.

  • true will make undecorated window have a 1px white border, and on Windows 11, it will have a rounded corners.

  • Linux: Unsupported.