Package: gdk

Function gdk:clipboard-read-value-async

Lambda List

gdk:clipboard-read-value-async (clipboard gtype priority cancellable func)

Arguments

clipboard -- a gdk:clipboard object
gtype -- a g:type-t type ID to read
priority -- an integer with the I/O priority of the request
cancellable -- an optional g:cancellable instance, nil to ignore
func -- a g:async-ready-callback callback function to call when the request is satisfied

Details

Asynchronously request the clipboard contents converted to the given gtype. When the operation is finished the func callback function will be called. You can then call the gdk:clipboard-read-value-finish function to get the resulting value.

For local clipboard contents that are available in the given gtype, the value will be copied directly. Otherwise, GDK will try to use the gdk:content-deserialize-async function to convert the clipboard's data.
 

See also

#2023-7-30