SelectionData.setPixbuf

Sets the contents of the selection from a #GdkPixbuf The pixbuf is converted to the form determined by selection_data->target.

class SelectionData
bool
setPixbuf

Parameters

pixbuf gdkpixbuf.pixbuf.Pixbuf

a #GdkPixbuf

Return Value

Type: bool

true if the selection was successfully set, otherwise false.