0

Excuse me for my bad English. I am write a kde plasmoid for show info of top maximized window on the top panel. I need to know what window is maximized and is over other windows. I by use of org.kde.tasmanager know that a specific window is maximized or not. but I dont know what window is over and what window is below. which package I must use for this. and I dont know where is api for kde qml objects to find this. Thanks.

mojtaba baghban
  • 111
  • 1
  • 2
  • I found a reference to `org.kde.kwindowsystem` [here](https://cgit.kde.org/plasma-desktop.git/tree/applets/window-list/contents/ui/main.qml) and [this](https://api.kde.org/frameworks/kdeclarative/html/classKWindowSystemProxy.html) seems to be the exposed API. Nothing for your use case though I think – Kevin Krammer Mar 04 '17 at 09:37
  • Thanks Kevin for your attention. but I didn't find solution of my problem in above links. – mojtaba baghban Mar 04 '17 at 09:56
  • It seem that KWindowSystem::stackingOrder() is what i want now how use it in a qml file. thanks – mojtaba baghban Mar 04 '17 at 22:16
  • if the second link is, as I suspect, the QML wrapper API, then `stackingOrder()` is not yet part of the exported functions. You could write a plasmoid that has QML and C++ and expose the functionality yourself – Kevin Krammer Mar 05 '17 at 08:05

0 Answers0