Is there any way to get a list of all windows that are open at present and see what window is at the top (i.e. active?) from Python?

This is using Gnome on Ubuntu Linux.

wnck looks like it might do this, but it's very lacking in documentation.

没有正确的解决方案

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top