ApplicationWindow have applicationActive property, or you can use
Qt.application.active directly.
------ Исходное сообщение ------
От: "george b" <scooterschors...@gmail.com>
Кому: "Sailfish OS Developers" <devel@lists.sailfishos.org>
Отправлено: 30.04.2016 1:15:27
Тема: [SailfishDevel] App Status
Hello
I didn't find a way to determine in which status an app is. I want to
know if the App is 'active' or in background on the home screen.
Of course, a qml page has the 'status' property. But that's only for a
page. I want to have 'status' of the whole App. Doesn't necesarry have
to be a qml property. A C++ signal or dbus api would also be nice :-).
Bye
Georg
_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org