Spaces API issues
Spaces API issues
- Subject: Spaces API issues
- From: Chilton Webb <email@hidden>
- Date: Wed, 09 Jul 2008 15:14:26 -0700
Hi,
I realize there is no Spaces API, and that there likely won't be, per se.
I have an app that my users want to behave differently based on the space it is currently accessed from. There is currently no way to find the current 'space', as I understand it, so that is out of the question (and I filed a feature request). Of course, if anyone knows how to do this, I wouldn't mind hearing about it ;-)
In the meantime, they would at least like my app to show up in every space. It's not as elegant, but at least it's something. So currently I use this:
[[self window] setCollectionBehavior:NSWindowCollectionBehaviorCanJoinAllSpaces];
The problem is that in most cases, regardless of what app they click on in the Spaces' overview, my app shows up in front when the space (any space) zooms in. Also, despite that this will occur, my app doesn't show up in all of the spaces.
What I would like to know is how I can get Spaces to keep my app on all spaces, yet not have it come to the foreground when the user switches spaces.
Thanks!
-Chilton
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden