@set


Description:

public void @set (Atom type, int format, uint8[] data)

Stores new data into a SelectionData object.

Should only be called from a selection handler callback. Zero-terminates the stored data.

Parameters:

this

a pointer to a SelectionData-struct.

type

the type of selection data

format

format (number of bits in a unit)

data

pointer to the data (will be copied)

length

length of the data