SelectionData.set

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

class SelectionData
void
set
(,
int format
,
char[] data
)

Parameters

type GdkAtom

the type of selection data

format int

format (number of bits in a unit)

data char[]

pointer to the data (will be copied)