Enum i_slint_core::platform::Clipboard
source · #[non_exhaustive]
pub enum Clipboard {
DefaultClipboard,
SelectionClipboard,
}Expand description
The clip board, used in Platform::clipboard_text and Platform::set_clipboard_text`
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
DefaultClipboard
This is the default clipboard used for text action for Ctrl+V, Ctrl+C. Corresponds to the secondary clipboard on X11.
SelectionClipboard
This is the clipboard that is used when text is selected Corresponds to the primary clipboard on X11. The Platform implementation should do nothing if copy on select is not supported on that platform.