SelectionData.getPixbuf

Gets the contents of the selection data as a #GdkPixbuf.

class SelectionData
getPixbuf
()

Return Value

Type: Pixbuf

if the selection data contained a recognized image type and it could be converted to a #GdkPixbuf, a newly allocated pixbuf is returned, otherwise %NULL. If the result is non-%NULL it must be freed with g_object_unref().

Meta