RGtk2 (version 2.20.31)

gtkClipboardWaitForImage: gtkClipboardWaitForImage

Description

Requests the contents of the clipboard as image and converts the result to a GdkPixbuf. This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait.

Usage

gtkClipboardWaitForImage(object)

Arguments

object

Value

GdkPixbuf] or NULL if retrieving the selection data failed. (This could happen for various reasons, in particular if the clipboard was empty or if the contents of the clipboard could not be converted into an image.)

Details

Since 2.6