On Friday, February 21, 2003, at 12:43  PM, Sherm Pendley wrote:
As a convenience, NSWindow and NSView - and probably some other classes as well - provide default "do-nothing" implementations of the NSDraggingDestination methods. To do anything useful, these default methods need to be overridden in a subclass, and your drop target needs to be an instance of that subclass.

That's a problem, because CB doesn't yet support subclassing. So, D&D can be done if you're willing to write a custom subclass of your drop target in Objective-C, but it can't yet be done in pure Perl. :-(
Why not just stomp on a few of the NSWindow and NSView methods with overridden subroutines? It's yucky, but wouldn't it work?


-Ken



Reply via email to