Package: gtk

Function gtk-clipboard-wait-is-rich-text-available

Lambda List

gtk-clipboard-wait-is-rich-text-available (clipboard buffer)

Arguments

clipboard -- a gtk-clipboard object
buffer -- a gtk-text-buffer object

Return Value

True if there is rich text available, false otherwise.

Details

Test to see if there is rich text available to be pasted. This is done by requesting the "TARGETS" atom and checking if it contains any of the supported rich text targets. This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait.

This function is a little faster than calling the gtk-clipboard-wait-for-rich-text function since it does not need to retrieve the actual text.
 

See also

2021-10-6