RGtk2 (version 2.20.31)

gtkSelectionDataSetText: 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

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

Value

TRUE if the selection was successfully set, otherwise FALSE.