Re: A window that moves on the active space
Re: A window that moves on the active space
- Subject: Re: A window that moves on the active space
- From: 慧 松本 <email@hidden>
- Date: Tue, 13 Nov 2007 12:36:57 +0900
On 2007/11/13, at 12:17, Ricky Sharp wrote:
I want to make a window that is always on the active space of
Leopard spaces.
It moves automatically to new active space when user changes the
active space.
It will be nice if the find panel had such a feature.
Does anybody know how to make such a window?
Satoshi,
You may want to try calling setCollectionBehavior: with
NSWindowCollectionBehaviorMoveToActiveSpace as a parameter.
When setting the CollectionBehavior to
NSWindowCollectionBehaviorMoveToActiveSpace,
the window does not move automatically when user changes the active
space.
But it moves to the active space when the window is activated.
It's enough solution for me.
Thanks!!
Satoshi
-----------------------------------------------------
Satoshi Matsumoto <email@hidden>
816-5 Odake, Odawara, Kanagawa, Japan 256-0802
_______________________________________________
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