Clipboard.waitIsRichTextAvailable

Test to see if there is rich text available to be pasted This is done by requesting the TARGETS atom and checking if it contains any of the supported rich text targets. This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait.

This function is a little faster than calling Clipboard.waitForRichText since it doesn’t need to retrieve the actual text.

class Clipboard
bool
waitIsRichTextAvailable

Parameters

buffer TextBuffer

Return Value

Type: bool

TRUE is there is rich text available, FALSE otherwise.

Meta

Since

2.10