searchTerms magic
searchTerms magic
- Subject: searchTerms magic
- From: Andrei Tchijov <email@hidden>
- Date: Fri, 25 Aug 2006 14:44:53 -0400
Hi,
It looks like Apple created Prefernece Panes employ some sort of
"secret sauce" to make sure that when particular Pane gets opened in
response to search, it gets opened on relevant tab.
Looking into searchTerms files from Apple's preference panes one can
easily see direct correlation between keys for top level items and
names of top level tabs in corresponding preference panes. For
example "Energy Saver" preference pane has "Sleep" and "Options"
among top level tabs and EnergyServe.searchTerms has "Sleep" and
"Options" among top level keys.
I have tried to replicate this functionality for my preference pane.
Searching part works great. I can type relevant terms in search box
and my preference pane gets highlighted. Unfortunately, when you
trying to select one of search results (to open appropriate
preference pane), my preference pane always shows the same top level
tab.
Could some one please shed some light on this problem?
You comments will be greatly appreciated
Andrei Tchijov
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden