This struct is responsible for handling, initialising, updating and maintaining of various widgets that are being rendered simultaneously across monitors for your lock. It uses [SpellSkiaWinAdapter] internally. This struct is made public for documentation purposes (and was previously used by end user of library) but it is now not to be used directly.
| 90 | // FIXME: this implementation should be by smithay-clipboard. |
| 91 | // fix after state management moved from window to platform. |
| 92 | fn set_clipboard_text(&self, text: &str, _clipboard: slint::platform::Clipboard) { |
| 93 | // if let DefaultClipboard = clipboard { |
| 94 | let opts = Options::new(); |
| 95 | if let Err(err) = opts.copy( |
| 96 | Source::Bytes(text.to_string().into_bytes().into()), |
| 97 | CopyMimeType::Autodetect, |
| 98 | ) { |
| 99 | warn!("[Clipboard]: Error in setting clipboard value: {}", err); |
nothing calls this directly
no outgoing calls
no test coverage detected