• 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: Capsule-Style Toolbar Controls
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Capsule-Style Toolbar Controls (From: Stefan Hafeneger <email@hidden>)
 >Re: Capsule-Style Toolbar Controls (From: Peter Ammon <email@hidden>)

  • Prev by Date: NSArrayController bound to @unionOfArrays not updating
  • Next by Date: Re: binary search trees & binning
  • Previous by thread: Re: Capsule-Style Toolbar Controls
  • Next by thread: Re: Capsule-Style Toolbar Controls
  • Index(es):
    • Date
    • Thread