Package: gtk

Function gtk-clipboard-wait-for-text

Lambda List

gtk-clipboard-wait-for-text (clipboard)

Arguments

clipboard -- a gtk-clipboard object

Return Value

A newly allocated UTF-8 string, or nil if retrieving the selection data failed.

Details

Requests the contents of the clipboard as text and converts the result to UTF-8 if necessary. 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