Clipboard.waitIsTargetAvailable

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.

If you want to see if there’s text available on the clipboard, use gtk_clipboard_wait_is_text_available () instead.

class Clipboard
bool
waitIsTargetAvailable

Parameters

target GdkAtom

A #GdkAtom indicating which target to look for.

Return: %TRUE if the target is available, %FALSE otherwise.

Meta