RGtk2 (version 2.20.31)

gtkClipboardWaitForTargets: gtkClipboardWaitForTargets

Description

Returns a list of targets that are present on the clipboard, or NULL if there aren't any targets available. This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait.

Usage

gtkClipboardWaitForTargets(object)

Arguments

object

Value

A list containing the following elements:
retval
[logical] TRUE if any targets are present on the clipboard, otherwise FALSE.
targets
location to store a list of targets. The result stored here must be freed with gFree().
n.targets
location to store number of items in targets.

Details

Since 2.4