discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: api for programmatically getting a list of all windows


From: A. Arias
Subject: Re: api for programmatically getting a list of all windows
Date: Sun, 16 Sep 2012 23:38:42 -0600

El dom, 16-09-2012 a las 22:31 -0700, Dan Hitt escribió:
> I would like to programmatically get a list of all windows on
> my screen in a gnustep application.
> 
> I suppose i could shell out and call
>    xwininfo -tree -root
> and then parse the output, but i imagine there must
> be a much more systematic way to do this involving
> standard gnustep classes.
> 
> (I did google around, but not very successfully.)
> 
> Thanks in advance for any clues!
> 
> dan
> 

NSArray *allWindows = [NSApp windows];

Regards.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]