Method
GtkSelectionDataset
Declaration [src]
void
gtk_selection_data_set (
GtkSelectionData* selection_data,
GdkAtom type,
gint format,
const guchar* data,
gint length
)
Description [src]
Stores new data into a GtkSelectionData object. Should
only be called from a selection handler callback.
Zero-terminates the stored data.
Parameters
type-
Type:
GdkAtomThe type of selection data.
format-
Type:
gintFormat (number of bits in a unit).
data-
Type: An array of
gucharPointer to the data (will be copied).
The length of the array is specified in the lengthargument.The data is owned by the caller of the method. length-
Type:
gintLength of the data.