Crate layer_shika_composition

Crate layer_shika_composition 

Source

Re-exports§

pub use value_conversion::IntoValue;
pub use layer_shika_adapters::platform::slint;
pub use layer_shika_adapters::platform::slint_interpreter;

Modules§

calloop
prelude
value_conversion

Structs§

AnchorEdges
Represents which edges of the output a layer surface should be anchored to.
CallbackContext
Context provided to callback handlers with surface and control information
EventDispatchContext
EventLoopHandle
Handle for registering custom event sources with the event loop
Handle
Type-safe unique identifier for runtime resources
LayerSurfaceHandle
Low-level handle for configuring layer-shell surface properties
OutputGeometry
Physical geometry and properties of an output
OutputInfo
Runtime information about a connected output (monitor)
OutputRegistry
PopupBuilder
Builder for configuring and displaying popup windows
PopupRequest
Configuration for showing a popup window
PopupWindow
RuntimeSurfaceConfigBuilder
Builder for applying multiple configuration changes to a surface at once
Selection
A selection of surfaces matching a selector
Selector
Combined surface and output selector for precise targeting
Shell
Main runtime for managing Wayland layer-shell surfaces with Slint UI
ShellBuilder
Builder for configuring and creating a Shell with one or more surfaces
ShellConfig
Declarative configuration for creating a shell with multiple surfaces
ShellControl
Handle for runtime control of shell operations
ShellEventContext
Context providing access to shell state within custom event source callbacks
ShellEventLoop
Main event loop for the shell runtime
SurfaceComponentConfig
Associates a Slint component name with its surface configuration
SurfaceConfigBuilder
Builder for configuring a single surface within a Shell
SurfaceControlHandle
Handle for runtime control of a specific surface
SurfaceDefinition
Definition of a surface including component name and configuration
SurfaceEntry
Registry entry for a surface with handle, name, and output instances
SurfaceInfo
Runtime information about a surface instance
SurfaceInstanceId
SurfaceMetadata
Metadata tracked for each registered surface
SurfaceRegistry
Central registry for managing surface entries and lookups

Enums§

AnchorStrategy
Strategy for calculating popup position relative to an anchor rectangle
CompiledUiSource
Source for Slint UI definition
Error
Error types for layer-shika operations
KeyboardInteractivity
Controls how a surface receives keyboard input
Layer
Vertical stacking layer for layer-shell surfaces
Output
Selector for targeting outputs (monitors) in runtime operations
OutputPolicy
Determines which outputs (monitors) should display the surface
PopupPlacement
Where to position a popup relative to the surface
PopupPositioningMode
Alignment mode for popup positioning
PopupSize
How to size a popup window
Surface
Selector for targeting surfaces when setting up callbacks or runtime configuration
SurfaceTarget

Constants§

DEFAULT_COMPONENT_NAME
Default Slint component name used when none is specified
DEFAULT_SURFACE_NAME
Default surface name used internally

Traits§

ShellRuntime
Trait providing runtime access to shell components and event loop
ShellSurfaceConfigHandler

Type Aliases§

OutputHandle
Unique identifier for an output (monitor)
PopupHandle
Unique identifier for a popup window
Result
Result type alias using layer-shika’s Error
SurfaceHandle
Unique identifier for a layer surface