SelectionData.dataSetText

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

class SelectionData
int
dataSetText
(
string str
)

Parameters

str string

a UTF-8 string

Return Value

Type: int

TRUE if the selection was successfully set, otherwise FALSE.

Meta