Learn R Programming

RGtk2 (version 2.20.31)

gtkClipboardWaitIsTextAvailable: gtkClipboardWaitIsTextAvailable

Description

Test to see if there is text available to be pasted This is done by requesting the TARGETS atom and checking if it contains any of the supported 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.

Usage

gtkClipboardWaitIsTextAvailable(object)

Arguments

object

Value

TRUE is there is text available, FALSE otherwise.

Details

This function is a little faster than calling gtkClipboardWaitForText since it doesn't need to retrieve the actual text.