Method

GtkSelectionDataset_pixbuf

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 GdkPixbuf
 

A GdkPixbuf.

 The data is owned by the caller of the function.

Return value

Returns: gboolean
 

TRUE if the selection was successfully set, otherwise FALSE.