setShadow

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.