Re: Catch logging off in GTK application



All right...

But what if you do

ssh -X remote.sys.com
my_nice_gtk_app &

On whitch desktop is this running?

Gtk that interacts with the "lokal" desktop is a problem!

If I do "open file" - do I then expect the lokal filesystem or
the filesystem on the systems that the gtk app is running.

/gh


Den 2016-12-01 kl. 09:53, skrev Paul Davis:
No, he's talking about handling notifications from a desktop environment that strongly suggest to the 
application that it should exit.

On Thu, Dec 1, 2016 at 5:47 AM, Göran Hasse <gorhas raditex nu <mailto:gorhas raditex nu>> wrote:


    You should be talking of "quit" an application. And to notice when an application (a process)
    exits it is possible to know.

    I is always possible to make a service listen on a socket and take connections from
    afar without "logging in" to the operating system.

    /gh

    Den 2016-11-30 kl. 20:47, skrev Igor Korot:
    >  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 <mailto:gtk-list gnome org>
    > https://mail.gnome.org/mailman/listinfo/gtk-list <https://mail.gnome.org/mailman/listinfo/gtk-list>
    >

    --
    Göran Hasse
    Raditex Control AB
    Boo 229
    715 91 ODENSBACKEN
    http://www.rscada.se
    OrgNr: 556611-8773
    email: gorhas raditex nu <mailto:gorhas raditex nu>
    tel: 019-450105
    mob: 070-5530148
    Lat:  59.18805083 Long: 15.50300449
    URL: http://alturl.com/3e6hf
    _______________________________________________
    gtk-list mailing list
    gtk-list gnome org <mailto:gtk-list gnome org>
    https://mail.gnome.org/mailman/listinfo/gtk-list <https://mail.gnome.org/mailman/listinfo/gtk-list>



-- 
Göran Hasse
Raditex Control AB
Boo 229
715 91 ODENSBACKEN
http://www.rscada.se
OrgNr: 556611-8773
email: gorhas raditex nu
tel: 019-450105
mob: 070-5530148
Lat:  59.18805083 Long: 15.50300449
URL: http://alturl.com/3e6hf


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