[Pyobjc-dev] NSBrowserCell help
Brought to you by:
ronaldoussoren
From: Zeph C. <ze...@ho...> - 2003-08-26 08:53:57
|
Now, I subclassed the NSBrowserCell class (MyBrowserCell), and in my awakeFromNib() I call: self.mBrowser.setCellClass_(MyBrowserCell) yet it does not set the cell class for the browser ("print self.mBrowser.cellClass()" confirms this) I can't call setCellClass_(MyBrowserCell.class()) because the python interpreter chokes on the class keyword, and MyBrowserCell alone should return the same thing anyway. I call "cell.__class__ = MyBrowserCell" in my browser_willDisplayCell_atRow_column_() implementation, but that just gets my past one error, and isn't a real fix Help! Thanks - zeph |