On Jul 23, 2013, at 01:34 , Ken Thomases <[email protected]> wrote:
> 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. So, there are definitely behaviors in there that will do what my users want, but now the trick is to message it properly. I'd like to have a single UI element in the prefs for adjusting spaces-related behavior. A checkbox labeled "Stay on screen when changing Spaces" might work, for example. I think (although I have not verified this) that it's possible to have the window always move to the active space but still participate in Expose (which the behavior NSWindowCollectionBehaviorStationary, which keeps it always on screen, also prevents. It seems that choices are mutually exclusive, but they're all individual bits that can be set, so I don't know what the behavior is (e.g. what happens when I set both NSWindowCollectionBehaviorStationary and NSWindowCollectionBehaviorTransient?). The real trick is finding good wording for the prefs. -- Rick _______________________________________________ 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]
