I would like to create a filter bar like the one in the Mail app:

Do you have any suggestions on how I could do?
My application is targeted only at OS X 10.7+, so I’d really like to use the most modern method available.
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
MGScopeBar is an open source component that will mostly do what you want. The appearance is not exactly the same, but you could easily change that.