hxn

ClipboardItems

Representations of one thing, by MIME type, which write puts on the clipboard together so that a reader takes the richest it understands: text/plain beside text/html, or image/png beside text/plain.

Static methods

function hxnAdopt(hxnRaw:Handle):ClipboardItems

An object for a value the library returned.

function create():ClipboardItems

Properties

var hxnRaw:Handle

Methods

function add(mimeType:String, bytes:Bytes):Void
function write():Bool

Replaces the clipboard's contents with the items; whether the platform took them. The handle names nothing after.

function close():Void

Releases the native value now. The collector does it otherwise. Using this object afterwards throws.