gboolean gtk_clipboard_wait_for_targets ( GtkClipboard* clipboard, GdkAtom** targets, gint* n_targets )
Returns a list of targets that are present on the clipboard, or
if there aren’t any targets available. The returned list must be
freed with g_free().
This function waits for the data to be received using the main
loop, so events, timeouts, etc, may be dispatched during the wait.
Available since: 2.4
Type: An array of
Location to store an array of targets. The result stored here must be freed with g_free().
The argument will be set by the function. The length of the array is specified in the
The instance takes ownership of the data container, but not the data inside it.
Location to store number of items in
The argument will be set by the function.