Re: [Pyobjc-dev] Proper way to call NSDivideRect?
Brought to you by:
ronaldoussoren
|
From: Michael M. <mic...@gm...> - 2007-12-18 07:47:18
|
I'll confirm that that does seem to quiet it. To the admins, then - how can I help with documentation updates? -mike On Dec 17, 2007 9:51 PM, Jonathan Saggau <sa...@gm...> wrote: > Try this: use None in place of the pass-by-reference arguments; IIRC > it's killed this error for me recently. I'm guessing that the bridge > likes to have all arguments in order now, using None as a placeholder > for pass-by-reference arguments. > > lowerEdgeRect, ignoreme = NSDivideRect(self.currentCellFrame(), > None, None, lowerRectEdge) > > Experts? :) > > Jonathan > > > On Dec 17, 2007, at 9:46 PM, Michael McCracken wrote: > > > lowerEdgeRect, ignoreme = NSDivideRect(self.currentCellFrame(), 1.0, > > lowerRectEdge) > > -- Michael McCracken UCSD CSE PhD Candidate research: http://www.cse.ucsd.edu/~mmccrack/ misc: http://michael-mccracken.net/wp/ |