Learn R Programming

RGtk2 (version 2.20.31)

gtkClipboardWaitIsTargetAvailable: gtkClipboardWaitIsTargetAvailable

Description

Checks if a clipboard supports pasting data of a given type. This function can be used to determine if a "Paste" menu item should be insensitive or not.

Usage

gtkClipboardWaitIsTargetAvailable(object, target)

Arguments

object
target
A GdkAtom indicating which target to look for.

Value

TRUE if the target is available, FALSE otherwise.

Details

If you want to see if there's text available on the clipboard, use gtkClipboardWaitIsTextAvailable instead. Since 2.6