Method

GtkClipboardwait_is_target_available

since: 2.6

Declaration [src]

gboolean
gtk_clipboard_wait_is_target_available (
  GtkClipboard* clipboard,
  GdkAtom target
)

Description [src]

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.

Available since: 2.6

Parameters

target

Type: GdkAtom

A GdkAtom indicating which target to look for.

Return value

Type: gboolean

TRUE if the target is available, FALSE otherwise.