Пример #1
0
        public static void CopyToClipboard(DrawingArea drawingArea, Pixbuf screenshot)
        {
            var clipboard = drawingArea.GetClipboard(Gdk.Selection.Clipboard);

            // FIXME macOS: can't paste directly on Outlook or Word —can on Gimp
            clipboard.Image = screenshot;
        }