Building a Spotlight-like custom NSMenu with an embedded NSSearchField
Building a Spotlight-like custom NSMenu with an embedded NSSearchField
- Subject: Building a Spotlight-like custom NSMenu with an embedded NSSearchField
- From: augusto callejas <email@hidden>
- Date: Wed, 7 Jul 2010 10:20:59 -0700
hi-
i've built the beginning of my own custom NSMenu with an embedded NSSearchField.
i was wondering if the following behavior is possible:
in spotlight, when you enter a search term, you start getting results and the first term
is highlighted:
http://www.genielogic.com/page7/files/spotlightmenu-deathgrip.jpg
you can then use the arrow keys to navigate the results.
is it possible to do this when you have an embedded NSSearchField inside an NSMenuItem,
which has focus, but still have another NSMenuItem below it with focus and also be able to navigate
the rest of the NSMenu with arrow keys? i'm not sure if this is possible because then focus would
be lost from the NSSearchField.
thanks,
augusto._______________________________________________
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