Package: gtk

Function gtk:clipboard-wait-for-contents

Lambda List

gtk:clipboard-wait-for-contents (clipboard target)

Arguments

clipboard -- a gtk:clipboard object
target -- a string representing the form into which the clipboard owner should convert the selection

Return Value

The newly allocated gtk:selection-data instance or nil if retrieving the given target failed.

Details

Requests the contents of the clipboard using the given target. This function waits for the data to be received using the main loop, so events, timeouts, and so on, may be dispatched during the wait.
 

See also

#2025-07-03