• 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: Positioning in NSToolbar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Positioning in NSToolbar


  • Subject: Re: Positioning in NSToolbar
  • From: Dan Messing <email@hidden>
  • Date: Thu, 27 Apr 2006 10:23:37 -0500

There's some sample code installed along with the dev tools in / Developer/Examples/AppKit/SimpleToolbar/ that demonstrates exactly what you're looking for: adding a search text field to a toolbar, right-aligned.

Dan Messing
Stunt Software
http://www.stuntsoftware.com/


On Apr 27, 2006, at 9:22 AM, Ryan Britton wrote:

To do a search field, you'll need to use the setView: method of
NSToolbarItem.

http://developer.apple.com/documentation/Cocoa/Reference/
ApplicationKit/ObjC_classic/Classes/NSToolbarItem.html#//apple_ref/
occ/instm/NSToolbarItem/setView:

_______________________________________________ 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
  • Prev by Date: Re: NSNumberFormatter and localized format problem
  • Next by Date: Re: Converting C strings into NSStrings (and vice versa)
  • Previous by thread: Re: Positioning in NSToolbar
  • Next by thread: Compiler Warnings
  • Index(es):
    • Date
    • Thread