Learn R Programming

RGtk2 (version 2.20.31)

gtkClipboardSetText: gtkClipboardSetText

Description

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.

Usage

gtkClipboardSetText(object, text, len = -1)

Arguments

object
a GtkClipboard object
text
a UTF-8 string.
len
length of text, in bytes, or -1, in which case the length will be determined with strlen().