Web lists-archives.com

Re: Catch logging off in GTK application




Emmanuelle,

On Thu, Dec 1, 2016 at 4:06 PM, Emmanuele Bassi <ebassi@xxxxxxxxx> wrote:
> Hi;
>
> If you're using GtkApplication under GNOME and Xfce, you'll get the
> GApplication::shutdown signal if the session manager terminates the session.

Thank you.
But I can use D-Bus API directly, right?

Thank you.

>
> 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@xxxxxxxxx> 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@xxxxxxxxx
>> https://mail.gnome.org/mailman/listinfo/gtk-list
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list