Re: Spotlight-Style search menu
Re: Spotlight-Style search menu
- Subject: Re: Spotlight-Style search menu
- From: Chaitanya Pandit <email@hidden>
- Date: Wed, 2 Jun 2010 22:34:24 +0530
>
> This is the solution I've decided on as well. It's actually a button on a window that I want to trigger the search field to pop down, and I still want it to behave like a menu, i.e. clicking anywhere else on the screen dismisses the "menu", and the button get's the pushed in look. What's the best way to achieve this behavior? _______________________________________________
>
Well, you can have the custom view in the status bar to be a NSButton, it's action will compute the location and make the window key and visible at that location and when the window resigns key, just fade it away
> 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