[][src]Function tetra::input::set_clipboard_text

pub fn set_clipboard_text(ctx: &Context, text: &str) -> Result

Sets the contents of the system's clipboard.

Errors

  • TetraError::PlatformError will be returned if the clipboard could not be modified.