• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Adding an NSSearchField into NSToolbar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding an NSSearchField into NSToolbar


  • Subject: Re: Adding an NSSearchField into NSToolbar
  • From: Nicko van Someren <email@hidden>
  • Date: Tue, 10 Feb 2004 14:23:07 +0000

On 9 Feb 2004, at 22:16, Roberto Sobachi wrote:

How can I add an NSSearchField into an NSToolbar??

It's easy. In the delegate's toolbar:itemForItemIdentifier:... rather than using setView: on the NSToolbarItem you make an NSSearchField and use the setView: call on the toolbar item. You need to set the maximum and minimum size for the item too.

Nicko
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Adding an NSSearchField into NSToolbar (From: Roberto Sobachi <email@hidden>)

  • Prev by Date: Re: exluding a window from Expose
  • Next by Date: Re: Making the correct button the default button?
  • Previous by thread: Re: Adding an NSSearchField into NSToolbar
  • Next by thread: Identifying preferencePanes
  • Index(es):
    • Date
    • Thread