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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to