Learn R Programming

RGtk2 (version 2.20.31)

gtkSelectionDataSet: gtkSelectionDataSet

Description

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

Usage

gtkSelectionDataSet(object, type = object[["target"]], format = 8, data)

Arguments

object
a pointer to a GtkSelectionData structure.
type
the type of selection data
format
format (number of bits in a unit)
data
pointer to the data (will be copied)