gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: draggedImage:movedTo:


From: Banlu Kemiyatorn
Subject: Re: draggedImage:movedTo:
Date: Mon, 27 Dec 2010 20:32:41 +0700

On Mon, Dec 27, 2010 at 8:14 PM, Fred Kiefer <address@hidden> wrote:
> Am 27.12.2010 02:07, schrieb Banlu Kemiyatorn:
>> anyone know well how to implement this draggedImage:movedTo:?  can it
>> be sent during the periodic ?
>
> In the GNUstep dragging code this method currently wont get called. This
> clearly is a bug in the code. I think this belongs into GSDragView
> _updateAndMoveImageToCorrectPosition

Now I have a work around for this, but would be good if we can have this.

>
>> BTW, in GSDragView  dragMask = [dragSource
>> draggingSourceOperationMaskForLocal: !destExternal]; should check if
>> method was implemented?
>
> No according to the Apple documentation this method has to be
> implemented by all dragging sources.

I read from

http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Protocols/NSDraggingSource_Protocol/Reference/Reference.html

draggingSourceOperationMaskForLocal:

[..]

Discussion
"If not implemented, the default value is NSDragOperationCopy |
NSDragOperationLink | NSDragOperationGeneric |
NSDragOperationPrivate."

I think you referred to some older doc? I only find one copy with that quote.

-- 
    .----.     Banlu Kemiyatorn
  /.../\...\   漫画家
 |.../  \...|  http://qstx.blogspot.com (Free Software Advocacy & Development)
 |../    \..|  http://feedbat.blogspot.com (Studio Work For Hire)
  \/      \/   http://groundzerostudiocomplex.blogspot.com (Studio Research)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]