Clipboard.setText
void setText(string text)Sets the contents of the clipboard to the given UTF-8 string. GTK+ will make a copy of the text and take responsibility for responding for requests for the text, and for converting the text into the requested format.
Parameters
text | a UTF-8 string. |