pub fn set_string<S: SfStrConv>(string: S)
Expand description

Set the content of the clipboard as string data.

This function sets the content of the clipboard as a string.

Warning

Due to limitations on some operating systems, setting the clipboard contents is only guaranteed to work if there is currently an open window for which events are being handled.