Expand description
Native-only window chrome patches for iced.
This crate keeps the runtime integration small:
- call
applyorapply_to_latestwhen you want to patch a live window - install
subscriptionto watch later-opened windows - forward emitted
Eventvalues back intohandlein your update loop
The extra subscription + handle hop is a real iced runtime constraint:
subscriptions can observe window openings, but they cannot directly execute
window::run side effects on their own.
Structs§
- Caption
Buttons - Windows caption button visibility.
- Chrome
Settings - Cross-platform chrome settings. Each platform reads only its own section.
- Linux
Chrome Settings - Native Linux/X11 window manager chrome settings.
- Macos
Chrome Settings - Native macOS titlebar settings.
- Windows
Capabilities - Windows runtime support flags for version-dependent chrome features.
- Windows
Chrome Settings - Native Windows window chrome settings.
- Windows
Version - The current Windows runtime version.
Enums§
- Error
- Errors produced while trying to patch a live native window.
- Event
- Subscription payloads that should be fed back into
handle. - Macos
Titlebar Separator Style - Native macOS titlebar separator style.
- Window
Corner Preference - Windows 11 corner preference.
- Windows
Backdrop - System-managed Windows backdrop material.
Functions§
- apply
- Apply a chrome patch to the given live
icedwindow. - apply_
result - Apply a chrome patch to the given live
icedwindow and return the native result. - apply_
to_ latest - Apply a chrome patch to the most recently opened live
icedwindow. - apply_
to_ latest_ result - Apply a chrome patch to the most recently opened live
icedwindow and return the native result. - current_
windows_ capabilities - Returns Windows runtime capabilities when running on Windows.
- handle
- Handle a crate
Eventemitted bysubscription. - handle_
result - Handle a crate
Eventemitted bysubscriptionand return the native result. - subscription
- Subscribe to later-opened windows so they can be patched in your update loop.
Type Aliases§
- Result
- Convenience result type for native patch operations.