Re: Tiger Mail.app style toolbar item
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