On Jul 23, 2013, at 3:16 AM, Rick Mann wrote:

> I've developed a little OS X utility that displays information in a 
> NSStatusWindowLevel window. But if the user uses Control-left/right arrows to 
> switch between full-screen apps, it stays where it is relative to the screen. 
> One user in testing wanted it to "stick" to the Finder desktop.
> 
> I never use full-screen, nor whatever it is you get if you Control-left arrow 
> from the "regular" desktop. Nor do I use Spaces.

You probably need to set those up, at least in a test account, if you want to 
make sure your app is behaving like you intend.  By default, the Dashboard is 
to the left of the regular spaces.


> - Is there a part of the docs that talks about these interactions? I don't 
> even know what it's called.
> 
> - Is there a way to get the window (which is drawn by an app without a 
> UI/menu bar) to "stick?"


You're probably looking for "window collection behavior".
Window Programming Guide: Setting Window Collection Behavior
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/WinPanel/Articles/SettingWindowCollectionBehavior.html

I'm not entirely sure what you mean by "stick".  The Finder will appear on 
multiple spaces, but not spaces dedicated to full-screen apps.  I think, but am 
not sure, that including NSWindowCollectionBehaviorCanJoinAllSpaces but leaving 
out NSWindowCollectionBehaviorFullScreenAuxiliary will make your window appear 
on all of the appropriate spaces.

Regards,
Ken


_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to