• 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: Tiger Mail.app style toolbar item
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tiger Mail.app style toolbar item


  • Subject: Re: Tiger Mail.app style toolbar item
  • From: mmalcolm crawford <email@hidden>
  • Date: Mon, 26 Dec 2005 21:10:49 -0800


On Dec 26, 2005, at 8:52 PM, mmalcolm crawford wrote:

On Dec 26, 2005, at 8:39 PM, Eric Lin wrote:
Is the capsule-style toolbar item in OS 10.4's Mail.app available for
developers?
Select the "Unified title/toolbar look" in Interface Builder -- try it, for example, in <file:///Developer/Examples/AppKit/ SimpleToolbar/>.

Oh, my apologies, I somehow contrived to miss the word "item".

I don't *think* there's built-in support. You should be able to just create a control (in this case, it might be easiest to start by subclassing NSSegmentedCell) and implement relevant mouse methods to get the highlighting behaviour (see amongst others, <http:// developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/ ObjC_classic/Classes/NSResponder.html> for mouseEntered/Exited:, <http://developer.apple.com/documentation/Cocoa/Conceptual/ BasicEventHandling/Tasks/HandlingMouseEvents.html>, and possibly <http://developer.apple.com/documentation/Cocoa/Conceptual/ ControlCell/Tasks/SubclassingNSCell.html>).

mmalc

_______________________________________________
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
References: 
 >Tiger Mail.app style toolbar item (From: Eric Lin <email@hidden>)
 >Re: Tiger Mail.app style toolbar item (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: Tiger Mail.app style toolbar item
  • Next by Date: IB palette mojo
  • Previous by thread: Re: Tiger Mail.app style toolbar item
  • Next by thread: Re: Tiger Mail.app style toolbar item
  • Index(es):
    • Date
    • Thread