Package: gdk

Function gdk:clipboard-read-text-async

Lambda List

gdk:clipboard-read-text-async (clipboard cancellable func)

Arguments

clipboard -- a gdk:clipboard object
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 a string. When the operation is finished the func callback function will be called. You can then call the gdk:clipboard-read-text-finish function to get the result.

This is a simple wrapper around the gdk:clipboard-read-value-async function. Use that function directly if you need more control over the operation.
 

See also

#2023-7-30