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.
Bound
Type state indicating the builder is bound to a shell
CallbackContext
Context provided to callback handlers
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
LockSelection
A selection of session lock surfaces matching a selector
Offset
OutputGeometry
Physical geometry and properties of an output
OutputInfo
Runtime information about a connected output (monitor)
OutputRegistry
PopupBehavior
Behavioral configuration
PopupBuilder
Builder for configuring popups
PopupConfig
Declarative popup configuration (runtime modifiable)
PopupShell
PopupWindow
PropertyError
Result of a property operation on a single surface
RuntimeSurfaceConfigBuilder
Builder for applying multiple configuration changes to a surface at once
Selection
A selection of surfaces matching a selector
SelectionResult
Result of an operation on multiple selected surfaces
Selector
Combined surface and output selector for precise targeting
SessionLock
SessionLockBuilder
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
Unbound
Type state indicating the builder is not bound to a shell

Enums§

Alignment
How popup aligns relative to anchor
AnchorPoint
9-point anchor system
AnchorStrategy
Strategy for calculating popup position relative to an anchor rectangle
CompiledUiSource
Source for Slint UI definition
ConstraintAdjustment
Wayland-compatible constraint adjustment
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)
OutputMigrationPolicy
OutputPolicy
Determines which outputs (monitors) should display the surface
OutputTarget
Explicit output targeting
PopupPosition
PopupSize
Surface
Selector for targeting surfaces in callbacks and 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