I would like to put images taken with the camera onto the clipboard.<br><br>I am able to put images taken with the camera onto the clipboard this way:<br><br style="font-family: times new roman,serif;"><span style="font-family: times new roman,serif;">
self.clipBoard = gtk.Clipboard(display=gtk.gdk.display_get_default(), selection="CLIPBOARD")</span><br style="font-family: times new roman,serif;"><span style="font-family: times new roman,serif;">...</span><br style="font-family: times new roman,serif;">
<span style="font-family: times new roman,serif;">#todo: should probably listen for a CTRL+C callback, but how?</span><br style="font-family: times new roman,serif;"><span style="font-family: times new roman,serif;">self.clipBoard.set_image
( pixbuf )<br><br></span>My questions are:<br><ol><li>How do I listen for Control+C events to call self.clipBoard.set_image( pixbuf )?</li><li>Is there anything else to it? Images I put on the clipboard now do not have either a name or an "Open" menuitem. Is there a spec somewhere for what metadata we should associate with clipboard data?
</li><li>Is there an example of using drag and drop in sugar to the clipboard?<br></li></ol>