Crate window_shadows
source · [−]Expand description
Add native shadows to your windows.
Platform-specific
- Linux: Unsupported, Shadows are controlled by the compositor installed on the end-user system.
Example
use window_shadows::set_shadow;
set_shadow(&window, true).expect("Unsupported platform!");Enums
Functions
Enables or disables the shadows for a window.