macOS menu search?

Mac OSX specific forum
Rinzwind
Enthusiast
Enthusiast
Posts: 369
Joined: Wed Mar 11, 2009 4:06 pm
Location: NL

macOS menu search?

Post by Rinzwind »

Anyone an idea how this is done in PB? The IDE includes it, so I guess it should be possible. You know, the way you can search for the location of a menu item in macOS? Most times the search box is located in the Help menu.
Rinzwind
Enthusiast
Enthusiast
Posts: 369
Joined: Wed Mar 11, 2009 4:06 pm
Location: NL

Re: macOS menu search?

Post by Rinzwind »

Talked too soon. Simply adding a Help menu automagically adds it. Not sure if this is language dependant however. How does macOS 'know' its the help menu?
wilbert
PureBasic Expert
PureBasic Expert
Posts: 3728
Joined: Sun Aug 08, 2004 5:21 am
Location: Netherlands

Re: macOS menu search?

Post by wilbert »

If you want to return useful information yourself for that search box, you need to implement
NSUserInterfaceItemSearching
macOS 10.15 Catalina, Windows 10
Post Reply