slint-ui-templates 0.1.0

Composable Slint UI building blocks — mother-child pattern, token-driven
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# `pal/mod.rs`


## `pub(crate) fn is_dark_mode() -> bool { false }  /// Apply OS-level backdrop to a Slint window. /// No-op when `style == BgStyle::Solid` or on non-Windows platforms. pub fn apply_backdrop(window: &slint::Window, style: BgStyle)`

*Line 23 · fn*

Fallback dark-mode check for non-Windows platforms (always returns false).

---

## `pub fn apply_backdrop(window: &slint::Window, style: BgStyle)`

*Line 27 · fn*

Apply OS-level backdrop to a Slint window.
No-op when `style == BgStyle::Solid` or on non-Windows platforms.

---