Method
GtkClipboardrequest_contents
Declaration [src]
void
gtk_clipboard_request_contents (
GtkClipboard* clipboard,
GdkAtom target,
GtkClipboardReceivedFunc callback,
gpointer user_data
)
Description [src]
Requests the contents of clipboard as the given target. When the results of the result are later received the supplied callback will be called.
Parameters
target-
Type:
GdkAtomAn atom representing the form into which the clipboard owner should convert the selection.
callback-
Type:
GtkClipboardReceivedFuncA function to call when the results are received (or the retrieval fails). If the retrieval fails the length field of
selection_datawill be negative. user_data-
Type:
gpointerUser data to pass to
callback.The argument can be NULL.The data is owned by the caller of the method.