Package: gtk

Function gtk-selection-data-set

Lambda List

gtk-selection-data-set (selection type format data length)

Arguments

selection -- a gtk-selection-data instance
type -- a gdk-atom as a string with the type of selection data
format -- an integer with the format, number of bits in a unit
data -- a pointer to the data, will be copied
length -- an integer with the length of the data

Details

Stores new data into a gtk-selection-data instance. Should only be called from a selection handler callback. Zero-terminates the stored data.
 

See also

2021-10-3