Mail.app offline button
Mail.app offline button
- Subject: Mail.app offline button
- From: "Paulo F. Andrade" <email@hidden>
- Date: Sat, 25 Aug 2007 23:02:07 +0100
Hello,
I'm trying to recreate a button inside an NSCell like the one in
Mail.app when the mailbox is offline.
In my attempts to do this I have encountered a few problems:
1- My NSOutlineView reuses the same cell to draw all rows, so I can't
have iVars in my NSCell subclass, because they will be the same for
evey row (i tried having an NSButton as an iVar nut that didn't work).
2- I tried drawing the button image and then track the mouse inside
the NSCell subclass. But then I noticed in the Documentation that the
startTrackingAt:inView: , continueTracking:at:inView: methods are for
mouse dragged events...
It only getting to dead ends. Can anyone point me in the right
direction?
iTunes and Finder also do this with the eject button.
Paulo F. Andrade 52439@IST
mailto: email@hidden
_______________________________________________
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