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 [GtkSelectionData] a GtkSelectionData
str [character] a UTF-8 string
len [integer] 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.12.5-3 Index]