Re: [Pyobjc-dev] Silly Cocoa question
Brought to you by:
ronaldoussoren
From: Dinu G. <gh...@da...> - 2003-06-17 14:20:38
|
Jack Jansen: > I assume there's a way to go from the > button to the window to the document, but I don't know > enough Cocoa to do this. Untested from memory... have you tried this? def foo_(self, buttonSender): controller = buttonSender.window().windowController() Dinu -- Dinu C. Gherman ...................................................................... "I think we ought to raise the age at which juveniles can have a gun." (George W. Bush, 18 Oct. 2000) |