Re: Moving the file to Recycle Bin/Trash



Hi;

On 14 October 2015 at 17:16, Igor Korot <ikorot01 gmail com> 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]


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