Gtk.SelectionData.prototype.set
function set(type:Gdk.Atom, format:Number, data:[guint8]):void { // Gjs wrapper for gtk_selection_data_set() }
Stores new data into a Gtk.SelectionData object. Should <emphasis>only</emphasis> be called from a selection handler callback. Zero-terminates the stored data.
- type
the type of selection data
- format
format (number of bits in a unit)
- data
pointer to the data (will be copied)