gtkClipboardSetText {RGtk2} | R Documentation

## 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()`.

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]