SelectionData.set

void set(gdk.atom.Atom type, int format, ubyte[] data)

Stores new data into a #GtkSelectionData object. Should only be called from a selection handler callback. Zero-terminates the stored data.

Parameters

typethe type of selection data
formatformat (number of bits in a unit)
datapointer to the data (will be copied)