Method
GtkSelectionDataget_text
Declaration [src]
guchar*
gtk_selection_data_get_text (
const GtkSelectionData* selection_data
)
Return value
Type: guchar*
If the selection data contained a
recognized text type and it could be converted to UTF-8, a newly
allocated string containing the converted text, otherwise NULL
.
If the result is non-NULL
it must be freed with g_free().
The caller of the method takes ownership of the returned data, and is responsible for freeing it. |
The return value can be NULL . |
The value is a NUL terminated UTF-8 string. |