Re: Capsule-Style Toolbar Controls
Re: Capsule-Style Toolbar Controls
- Subject: Re: Capsule-Style Toolbar Controls
- From: Jim Puls <email@hidden>
- Date: Wed, 16 Apr 2008 15:01:34 -0700
On Apr 16, 2008, at 2:29 PM, Peter Ammon wrote:
Well, in the nib files from Mail and Preview there are no toolbars,
so Apple builds them via code. So the question is: If I code them
as well, is it possible to do the same that Apple does in Mail and
Preview via NSSegmentedCell or is this all done by hand?
With best wishes, Stefan
Hi Stefan,
As of Leopard, this is all possible using standard AppKit controls,
which Mail and Preview both use.
It's also worth pointing out that you can't reasonably put this type
of toolbar in a nib file because Interface Builder doesn't support
NSToolbarItemGroup.
So again, you can do this with standard controls, but you have to do
it in code.
-> jp
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden