Carbon


TXNIsScrapPastable

Header: MacTextEditor.h Carbon status: Supported

Tests to see if the Clipboard contains data that is supported by MLTE.

Boolean TXNIsScrapPastable ();
function result

Returns true if the data type on the Clipboard is supported.

DISCUSSION

The type of data that is supported is determined by what you set when you called TXNInitTextension. You can call this function to determine if the Paste item in the Edit menu should be active.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)