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)
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
.