Re: Interacting with Spaces
Re: Interacting with Spaces
- Subject: Re: Interacting with Spaces
- From: Chilton Webb <email@hidden>
- Date: Thu, 14 Aug 2008 18:24:47 -0500
Hi Justin,
I think what you're after is this...
[[self window]
setCollectionBehavior:NSWindowCollectionBehaviorCanJoinAllSpaces];
...That will make your app's window show up on any space when the user
returns from 'Spaces space'.
-Chilton
On Aug 14, 2008, at 5:24 PM, Justin Patrin wrote:
I've been working with the code for Blacktree's Nocturne to make ti
work for multiple monitor and with Spaces and have had a lot of luck
with parts and nto so much with others.
The problem I'm trying to fix currently has to do with switching
Spaces. Nocturne puts an overlay window on top of each screen which
has a filter applied to it. When I switch Spaces these go away. If I
switch back to the original Space they come back. I'm guessing that
these are being treated as a normal window and being left where they
were created.
I need to be able to do one or more of the following:
* Make the overlay windows appear on all Spaces (selecting the app
to be on all Spaces in the Spaces configuration doesn't work)
* Listen for updates to Spaces configurations
* Get a list of all Screens and all Spaces and be able to create
overlays for all Spaces
* Listen for A switch to a new Space so I can move the overlay
windows
I looked around in the OSX API docs but couldn't find anything having
to do with Spaces. If someone could give me a pointer on where to look
for any of these I'd appreciate it.
P.S. This my my first real foray into OSX programming so please bear
with me of my questions are obvious. If this question would be better
asked on another list just let me know.
--
Justin Patrin
_______________________________________________
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
_______________________________________________
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