Re: [Pyobjc-dev] issues with NSURL and NSWindow?
Brought to you by:
ronaldoussoren
From: Ronald O. <ous...@ci...> - 2004-04-05 06:15:20
|
On 5-apr-04, at 6:07, James Eagan wrote: > > MyAppController is a class that I've defined in python and is the > File's Owner in the nib that constructs the particular window at issue > here (I probably confused you with the code fragment above since the > fragment should use an instance, not the class). That controller > specifies, among others, and outlet named window, which is connected > to the NSWindow instance in the nib. Which is why I would have > thought that I'd use something like: > myAppControllerInstance.window.isMainWindow() just like I use in other > places myAppControllerInstance.textField.stringValue(). So why is > window suddenly a method? (since > myAppControllerInstance.window().isMainWindow() works where I would > have expected an error) What's the superclass of MyAppController? Does that have a method named 'window'? Ronald -- X|support bv http://www.xsupport.nl/ T: +31 610271479 F: +31 204416173 |