Method

GtkClipboardwait_is_image_available

since: 2.6

Declaration [src]

gboolean
gtk_clipboard_wait_is_image_available (
  GtkClipboard* clipboard
)

Description [src]

Test to see if there is an image available to be pasted This is done by requesting the TARGETS atom and checking if it contains any of the supported image targets. This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait.

This function is a little faster than calling gtk_clipboard_wait_for_image() since it doesn’t need to retrieve the actual image data.

Available since: 2.6

Return value

Type: gboolean

TRUE is there is an image available, FALSE otherwise.