Clipboard.storeAsync

Asynchronously instructs the clipboard to store its contents remotely.

If the clipboard is not local, this function does nothing but report success.

The callback must call gdk.clipboard.Clipboard.storeFinish.

The purpose of this call is to preserve clipboard contents beyond the lifetime of an application, so this function is typically called on exit. Depending on the platform, the functionality may not be available unless a "clipboard manager" is running.

This function is called automatically when a GtkApplication

is shut down, so you likely don't need to call it.

class Clipboard
void
storeAsync

Parameters

ioPriority int

the I/O priority of the request

cancellable gio.cancellable.Cancellable
callback gio.types.AsyncReadyCallback

callback to call when the request is satisfied