Re: gtk_clipboard_set_image

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2010/11/3 JiÅÃ ZÃrevÃcky <zarevucky.jiri@xxxxxxxxx>
Andy Bell pÃÅe v St 03. 11. 2010 v 11:19 +0100:
> Hi All,
>
> I am having trouble with setting an image to the clipboard.
> [...]
>
> I don't get any errors, but when I come to try to paste it I have
> nothing on the clipboard. ÂFor example, opening OpenOffice, I would
> like to paste the image but nothing happens, nor in GIMP. ÂI am using
> Ubuntu 10.4.
>
> Thanks, Andy

Are you aware that data in clipboard is gone once you close your
application? I think that might be the source of your problem. That's
how X server works and I don't think you can work around it.


I am, the application is still open and I use the following call:

gtk_clipboard_store( gtk_clipboard_get( GDK_SELECTION_CLIPBOARD ) );

Thanks, Andy
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux