Re: Positioning in NSToolbar
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