Re: [Pyobjc-dev] Does drag & drop work?
Brought to you by:
ronaldoussoren
From: Dinu G. <gh...@da...> - 2003-05-30 13:47:08
|
Ronald Oussoren: > I'm not sure if the current definitions for NSDraggingSource and > NSDraggingDestionation are entirely correct w.r.t. required me- > thods, I suppose they are too strict. Absolutely. Changing this solves the problem for me! The currently used scheme for defining required methods doesn't seem to allow declaring groups of or dependencies between multiple methods. And I'd be surprised if this kind of information did really exist anywhere in the Cocoa headers. AFAIK, the ObjC runtime caches once all available methods of an ob- ject and later on just knows if a method is implemented or not. Or it might additionally check using the respondsToSelector: method. Isn't this an option for the PyObjC bridge? Dinu -- Dinu C. Gherman ...................................................................... "We're concerned about AIDS inside our White House - make no mistake about it." (George W. Bush, 7 Feb. 2001) |