Page 1 of 1
Toolbar and spotlight search
Posted: Mon Aug 06, 2012 7:12 am
by jesperbrannmark
When using toolbar, has anyone succesed to put a textgadget/any type of textinput with a search icon in it - like spotlight search on a lot of the cocoa applications around (like mail, finder etc) ?

Re: Toolbar and spotlight search
Posted: Thu Aug 30, 2012 5:23 pm
by wilbert
It's a NSSearchField inside a NSMenu.
It doesn't exist as a PB Gadget but it is a Cocoa object that could be used if you wrap it in a lib.
Re: Toolbar and spotlight search
Posted: Thu Aug 30, 2012 6:18 pm
by jesperbrannmark
But I have this in spotify / windows as well.. and if i click on the "start"-flag in windows 7 its also something similar. this must be something, slightly, crossplatform?
Re: Toolbar and spotlight search
Posted: Thu Aug 30, 2012 6:46 pm
by wilbert
I don't know if it is available in all operating systems.
I added it to my userlib in case you want to use it.
It's very basic; didn't add support for recent searches since that would require a file to store those.