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 gdk-atom as a string representing the form into which the clipboard owner should convert the selection

Return Value

A newly allocated gtk-selection-data object 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, etc, may be dispatched during the wait.
 

See also

2021-10-6