On Sat, Feb 21, 2009 at 7:17 AM, Peter Hudson <peter.hud...@mac.com> wrote: > I notice from the docs that the button and text field are encapsulated in an > NSComboBoxCell. Have checked the cell docs - can't see any means to get to > the button.
Probably because there is no "button", per se. Unlike views, which exist in a hierarchy and are accessible as such, cells are much more lightweight beasts. Often times (NSTableView being a great example), the cell doesn't actually exist in any way related to the view, but it simply used to draw the view's content. In NSTableView's case, the table view takes care of things related to the overall view, like what portion of the view is visible, and just uses each column's cell to draw the contents of each row. In short, the relationship between views and visible on-screen objects is *much* tighter than that between cells and on-screen objects. --Kyle Sluder _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com