Re: Catch logging off in GTK application



Hi;

If you're using GtkApplication under GNOME and Xfce, you'll get the GApplication::shutdown signal if the session manager terminates the session.

Other session managers do not expose a DBus API that GTK can use; if they do, patches are welcome to support them.

Ciao,
Emmanuele.

On Wed, 30 Nov 2016 at 19:47, Igor Korot <ikorot01 gmail com> wrote:
 Hi, ALL,
What is the way to go to catch the logging off event in the GTK+ app?
For both GTK+2 and GTK+3.

Thank you.
_______________________________________________
gtk-list mailing list
gtk-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-list


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