Skip to content

Instantly share code, notes, and snippets.

@JNRowe
Created April 4, 2010 08:39
Show Gist options
  • Save JNRowe/355241 to your computer and use it in GitHub Desktop.
Save JNRowe/355241 to your computer and use it in GitHub Desktop.
>>> import wnck
>>> s = wnck.screen_get_default()
>>> s.force_update ()
>>> s.get_windows()
[<wnck.Window object at 0x10399b0 (WnckWindow at 0x10b8240)>,
<wnck.Window object at 0x1039cd0 (WnckWindow at 0x10b8ce0)>]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment