Package: gtk

Function gtk:selection-data-text

Lambda List

gtk:selection-data-text (selection)

Syntax

(gtk:selection-data-text selection) => text
(setf (gtk:selection-data-text selection) text)

Arguments

selection -- a gtk:selection-data instance
text -- a UTF-8 string

Details

The gtk:selection-data-text function gets the contents of the selection data as a UTF-8 string. The (setf gtk:selection-data-text) function sets the contents of the selection. The string is converted to the form determined by the target of the selection.
 

See also

#2023-3-24