Function window_vibrancy::apply_vibrancy

source ·
pub fn apply_vibrancy(
    window: impl HasWindowHandle,
    effect: NSVisualEffectMaterial,
    state: Option<NSVisualEffectState>,
    radius: Option<f64>,
) -> Result<(), Error>
Expand description

Applies macos vibrancy effect to window. Works only on macOS 10.10 or newer.

§Platform-specific

  • Linux / Windows: Unsupported.