Package: gtk

Function gtk:clipboard-wait-for-rich-text

Lambda List

gtk:clipboard-wait-for-rich-text (clipboard buffer)

Syntax

(gtk:clipboard-wait-for-rich-text clipboard buffer) => data, format, length

Arguments

clipboard -- a gtk:clipboard object
buffer -- a gtk:text-buffer object
data -- a newly allocated binary block of data which must be freed with the g:free function, or nil if retrieving the selection data failed
format -- a string for the format of the returned data
length -- an integer for the length of the returned data

Details

Requests the contents of the clipboard as rich text. 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