Web lists-archives.com

Re: Catch logging off in GTK application




 Paul,

On Wed, Nov 30, 2016 at 4:14 PM, Paul Davis <paul@xxxxxxxxxxxxxxxxxxxxx> wrote:
> Technically, that's not a GTK+ question.
>
> GTK+ apps can run on desktops or platforms where there's no concept of
> "logging in" or "logging off".
>
> GNOME covers that and GTK+ does represent some of it, but it isn't
> necessarily portable to other desktop environments.

So if I write the GTK+-based application and want to have it handle graceful
exit when the user logs off the session or just kills the GUI session, it is not
possible?

Or you are saying that there are other libraries that should handle this? If
yes - which one(s)? I can try to check their API and see what I can do...

Thank you.

>
> On Wed, Nov 30, 2016 at 7:47 PM, 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