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.


_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to