Hello
I need to catch user logout moment in order to correct close application and save user data. In wxWidgets there is EVT_QUERY_END_SESSION, it woks for Window for me and for MacOS (read at forum), but does not work in wxGTK.
Is there Any other way to determine logout moment in wxWidget or GTK or maybe in other way.
wxWidgets trunkg, wxGTK, ubuntu.
Catch user logout\reboot in Linux
Catch user logout\reboot in Linux
Best regards, Nikolay
wxWidgets in russian
Small Notes Manager and Clipboard Manager with History written with wxWidgets
wxWidgets in russian
Small Notes Manager and Clipboard Manager with History written with wxWidgets
Re: Catch user logout\reboot in Linux
Try [wx]EVT_END_SESSION.
Re: Catch user logout\reboot in Linux
It does not work too.
Best regards, Nikolay
wxWidgets in russian
Small Notes Manager and Clipboard Manager with History written with wxWidgets
wxWidgets in russian
Small Notes Manager and Clipboard Manager with History written with wxWidgets
Re: Catch user logout\reboot in Linux
The closest I found is :
http://www.codeguru.com/forum/showthread.php?t=507252
http://www.unix.com/shell-programming-s ... ogout.html
http://www.unix.com/programming/129264- ... tdown.html
http://www.linuxquestions.org/questions ... al-337275/
so it seems to be quite complicated to do on Linux in general
http://www.codeguru.com/forum/showthread.php?t=507252
http://www.unix.com/shell-programming-s ... ogout.html
http://www.unix.com/programming/129264- ... tdown.html
http://www.linuxquestions.org/questions ... al-337275/
so it seems to be quite complicated to do on Linux in general
"Keyboard not detected. Press F1 to continue"
-- Windows
-- Windows