Package: gtk

Function gtk-clipboard-request-rich-text

Lambda List

gtk-clipboard-request-rich-text (clipboard buffer func)

Arguments

clipboard -- a gtk-clipboard object
buffer -- a gtk-text-buffer object
func -- a gtk-clipboard-rich-text-received-func callback function to call when the text is received, or the retrieval fails. It will always be called one way or the other.

Details

Requests the contents of the clipboard as rich text. When the rich text is later received, the callback function will be called.

The text parameter to the callback function will contain the resulting rich text if the request succeeded, or nil if it failed. The length parameter will contain the length of the text. This function can fail for various reasons, in particular if the clipboard was empty or if the contents of the clipboard could not be converted into rich text form.
 

See also

2021-10-6