gtkSelectionDataSetText {RGtk2} | R Documentation

## gtkSelectionDataSetText

### Description

Sets the contents of the selection from a UTF-8 encoded string. The string is converted to the form determined by `selection.data->target`.

### Usage

    gtkSelectionDataSetText(object, str, len = -1)

### Arguments

``object`` | a `GtkSelectionData`
``str`` | a UTF-8 string
``len`` | the length of `str`, or -1 if `str` is nul-terminated.

### Value

[logical] `TRUE` if the selection was successfully set, otherwise `FALSE`.

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]