Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Quick (?) NSCell question: getting the drawing (inner) rectangle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quick (?) NSCell question: getting the drawing (inner) rectangle



Perhaps this method is only intended to provide information to the system by the NSCell implementation and is not intended for the purpose I need. In which case, is there a way to achieve what I want without having to ask for the NSTableColumn width and working out what proportion of this width is used for non-'interior' furniture (if any)?

-[NSTableView frameOfCellAtColumn:row:] is what you’re looking for. The frame that’s passed to the interior drawing method is really dependent on the cell subclass you’re using, but it’s based on the frame passed to -[NSCell drawWithFrame:inView:].


Now the standard question: what are you trying to do?

-Ben_______________________________________________

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: 
 >Quick (?) NSCell question: getting the drawing (inner) rectangle (From: Luke Evans <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.