RGtk2 (version 2.20.31)

gtkClipboardWaitForContents: gtkClipboardWaitForContents

Description

Requests the contents of the clipboard using the given target. This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait.

Usage

gtkClipboardWaitForContents(object, target)

Arguments

object
target
an atom representing the form into which the clipboard owner should convert the selection.

Value

GtkSelectionData] a newly-allocated GtkSelectionData object or NULL if retrieving the given target failed. If non-NULL,