Clipboard.requestTargets

Requests the contents of the clipboard as list of supported targets. When the list is later received, @callback will be called.

The @targets parameter to @callback will contain the resulting targets if the request succeeded, or %NULL if it failed.

class Clipboard
void
requestTargets

Parameters

callback GtkClipboardTargetsReceivedFunc

a function to call when the targets are received, or the retrieval fails. (It will always be called one way or the other.)

userData void*

user data to pass to @callback.

Meta