Skip to main content

Crate iced_window_chrome

Crate iced_window_chrome 

Source
Expand description

Native-only window chrome patches for iced.

This crate keeps the runtime integration small:

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§

CaptionButtons
Windows caption button visibility.
ChromeSettings
Cross-platform chrome settings. Each platform reads only its own section.
LinuxChromeSettings
Native Linux/X11 window manager chrome settings.
MacosChromeSettings
Native macOS titlebar settings.
WindowsCapabilities
Windows runtime support flags for version-dependent chrome features.
WindowsChromeSettings
Native Windows window chrome settings.
WindowsVersion
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.
MacosTitlebarSeparatorStyle
Native macOS titlebar separator style.
WindowCornerPreference
Windows 11 corner preference.
WindowsBackdrop
System-managed Windows backdrop material.

Functions§

apply
Apply a chrome patch to the given live iced window.
apply_result
Apply a chrome patch to the given live iced window and return the native result.
apply_to_latest
Apply a chrome patch to the most recently opened live iced window.
apply_to_latest_result
Apply a chrome patch to the most recently opened live iced window and return the native result.
current_windows_capabilities
Returns Windows runtime capabilities when running on Windows.
handle
Handle a crate Event emitted by subscription.
handle_result
Handle a crate Event emitted by subscription and 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.