Gtk.Clipboard.prototype.set_image

function set_image(pixbuf:GdkPixbuf.Pixbuf):void {
    // Gjs wrapper for gtk_clipboard_set_image()
}

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

Since 2.6

pixbuf

a GdkPixbuf.Pixbuf