Web lists-archives.com

Re: Moving the file to Recycle Bin/Trash




Hi;

On 14 October 2015 at 17:16, Igor Korot <ikorot01@xxxxxxxxx> wrote:
>  Hi,
> Everywhere I look I can't seem to find a way to send the file to the
> Recycle Bin/Trash using GTK+.

You want GIO:

  https://developer.gnome.org/gio/stable/GFile.html#g-file-trash

> Is there any "standard" way to send the file to the Recycle Bin/Trash
> in GTK+ application on Linux?

Yes, the function above implements the standard as defined here:

  http://standards.freedesktop.org/trash-spec/trashspec-1.0.html

Ciao,
 Emmanuele.

-- 
https://www.bassi.io
[@] ebassi [@gmail.com]
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list