Method
GtkSelectionDataset_text
[−]
Declaration [src]
gboolean
gtk_selection_data_set_text (
GtkSelectionData* selection_data,
const gchar* str,
gint len
)
[−]
Description [src]
Sets the contents of the selection from a UTF-8 encoded string.
The string is converted to the form determined by
selection_data
->target.
[−]
Parameters
str
-
Type:
const gchar*
A UTF-8 string.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. len
-
Type:
gint
The length of
str
, or -1 ifstr
is nul-terminated.