Skip to main content

Module wayland_adapter

Module wayland_adapter 

Source
Expand description

It provides various widget types for implementing properties across various functionalities for your shell. The most common widget (or window as called by many) is SpellWin. You can also implement a lock screen with SpellLock.

Structs§

LockHandle
Struct to handle unlocking of a SpellLock instance. It can be captured from SpellLock::get_handler.
SpellBoard
Furture virtual keyboard implementation will be on this type. Currently, it is redundent.
SpellLock
SpellLock is a struct which represents a window lock. It can be run and initialised on a custom lockscreen implementation with slint. Know limitations include the abscence to verify from fingerprints and unideal issues on multi-monitor setup. You can add the path of binary of your lock in your compositor config and idle manager config to use the program. It will be linked to spell-cli directly in coming releases.
SpellSlintLock
It is an internal struct used by SpellLock internally.
SpellWin
SpellWin is the main type for implementing widgets, it covers various properties and trait implementation, thus providing various features.
WinHandle
This is a wrapper around calloop’s loop_handle for calling wayland specific features of SpellWin. It can be accessed from crate::wayland_adapter::SpellWin::get_handler.