Re: [Pyobjc-dev] Re: breakage in CVS?
Brought to you by:
ronaldoussoren
From: Zeph C. <ze...@ho...> - 2003-08-28 16:29:26
|
> Just van Rossum <ju...@le...> writes: > >> Michael Hudson wrote: >> >> It's AppKit.NSMakePoint()... But: why use it to begin with? NSPoints >> are >> represented as 2-tuples. > > I can see that... I don't even want to use NSMakePoint, but being able > to import AppKit would be a bonus! As a noob to PyObjC, I had to find out the hard way what was and was not included, and I guess the rule of thumb is that if it can be expressed as a tuple, there's no reason to have a function just to spit out the equivelent struct. BTW, the global function NSMakeRect wasn't included - sure it was trivial to re-implement, but still... I guess that's why it's beta :-) - Zeph |