Re: Moving the file to Recycle Bin/Trash
- From: Emmanuele Bassi <ebassi gmail com>
- To: Igor Korot <ikorot01 gmail com>
- Cc: "gtk-list gnome org" <gtk-list gnome org>
- Subject: Re: Moving the file to Recycle Bin/Trash
- Date: Wed, 14 Oct 2015 17:22:06 +0100
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]