@set
Description:
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 |