gtkClipboardWaitForTargets: gtkClipboardWaitForTargets

Description Usage Arguments Details Value Author(s)

View source: R/gtkFuncs.R

Description

Returns a list of targets that are present on the clipboard, or NULL if there aren't any targets available. This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait.

Usage

1

Arguments

object

a GtkClipboard

Details

Since 2.4

Value

A list containing the following elements:

retval

[logical] TRUE if any targets are present on the clipboard, otherwise FALSE.

targets

location to store a list of targets. The result stored here must be freed with gFree().

n.targets

location to store number of items in targets.

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.