sudo rm -rf
sudo rm -rf

Reputation: 29524

Change window Exposé behavior outside of Interface Builder

Here's the setting I'm talking about:

enter image description here

I'm wondering if I can change the Exposé behavior on the fly, or even during initialization in my code? I have some users that don't wish to see my app firmly planted on the desktop (Stationary Behavior), so I wanted to add an option to allow it to roam freely during Exposé. However, I haven't found a property to change this on my window. Is it possible?

Upvotes: 0

Views: 69

Answers (1)

Rengers
Rengers

Reputation: 15218

I think you can use this NSWindow method:

- (void)setCollectionBehavior:(NSWindowCollectionBehavior)behavior

List of NSWindowCollectionBehavior options.

Upvotes: 1

Related Questions