On Tue, Oct 28, 2008 at 3:43 AM, Matt Rice <[EMAIL PROTECTED]> wrote:
> i've always thought of cells the other way, views tell them when/where > and what to draw, so the idea of the cell having its setStringValue: > method called, and then telling the view that it should redraw the > cell seems fairly weird to me sorry to reply to myself (again) but i forgot some stuff/found some better documentation, from the documentation of the controlView method here http://docs.sun.com/app/docs/doc/802-2112/6i63mn60o?l=ja&a=view#01.Classes-8 "For example, the subclasses of NSActionCell defined by the Application Kit invoke this method in order to send the NSControl a message such as updateCellInside:." so that to conflict with the idea setStringValue: is doing something wrong by calling the -updateCell method (ignoring the inside part since either would lead to the segfault)... another idea is that drawWithFrame:inView: could reset the _control_view on exit but that seems counter to the documentation that -controlView returns the view in which the cell was last drawn... _______________________________________________ Gnustep-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnustep-dev
