Method

GtkClipboardset_image

since: 2.6

Declaration [src]

void
gtk_clipboard_set_image (
  GtkClipboard* clipboard,
  GdkPixbuf* pixbuf
)

Description [src]

Sets the contents of the clipboard to the given GdkPixbuf. GTK+ will take responsibility for responding for requests for the image, and for converting the image into the requested format.

Available since: 2.6

Parameters

pixbuf

Type: GdkPixbuf

A GdkPixbuf.

The data is owned by the caller of the function.