Method

GtkSelectionDataset_pixbuf

since: 2.6

Declaration [src]

gboolean
gtk_selection_data_set_pixbuf (
  GtkSelectionData* selection_data,
  GdkPixbuf* pixbuf
)

Description [src]

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

Available since: 2.6

Parameters

pixbuf

Type: GdkPixbuf

A GdkPixbuf.

The data is owned by the caller of the method.

Return value

Type: gboolean

TRUE if the selection was successfully set, otherwise FALSE.