Overview of tauri-nspanel core components
v2.1The tauri-nspanel library is built around several key abstractions:
Main Types
Panel<R>: The core trait implemented by all panels.PanelBuilder<R, P>: A builder used to create panels via a fluent API.ManagerExt<R>: An extension trait that allows you to access panels directly from your TauriAppHandle.
Key Enums
PanelLevel: Controls window layering levels.StyleMask: Defines window appearance styles.CollectionBehavior: Manages how panels behave with respect to macOS Spaces and fullscreen mode.TrackingAreaOptions: Configures mouse tracking areas.
Macros
tauri_panel!: Used to define panel classes and their associated event handlers.panel!: Used to define an individual panel class.panel_event!: Used to define event handler delegates.