Package: gtk

Function gtk-clipboard-wait-for-targets

Lambda List

gtk-clipboard-wait-for-targets (clipboard targets n-targets)

Arguments

clipboard -- a gtk-clipboard object
targets -- location to store an array of targets. The result stored here must be freed with the g-free function
n-targets -- location to store the number of items in targets

Return Value

True if any targets are present on the clipboard, otherwise false.

Details

Returns a list of targets that are present on the clipboard, or nil if there are not 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.
 

See also

2021-10-6