textView_draggedCell_inRect_event_ property

ObjCProtocolListenableMethod<void Function(NSTextView, NSTextAttachmentCell, NSRect, NSEvent)> textView_draggedCell_inRect_event_
final

textView:draggedCell:inRect:event:

Implementation

static final textView_draggedCell_inRect_event_ =
    objc.ObjCProtocolListenableMethod<
      void Function(NSTextView, NSTextAttachmentCell, NSRect, NSEvent)
    >(
      _protocol_NSTextViewDelegate,
      _sel_textView_draggedCell_inRect_event_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Void Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<objc.ObjCObject>,
                NSRect,
                ffi.Pointer<objc.ObjCObject>,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_36y93g)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSTextViewDelegate,
        _sel_textView_draggedCell_inRect_event_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (
        void Function(NSTextView, NSTextAttachmentCell, NSRect, NSEvent) func,
      ) =>
          ObjCBlock_ffiVoid_ffiVoid_NSTextView_idNSTextAttachmentCell_NSRect_NSEvent.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              NSTextView arg1,
              NSTextAttachmentCell arg2,
              NSRect arg3,
              NSEvent arg4,
            ) => func(arg1, arg2, arg3, arg4),
          ),
      (
        void Function(NSTextView, NSTextAttachmentCell, NSRect, NSEvent) func,
      ) =>
          ObjCBlock_ffiVoid_ffiVoid_NSTextView_idNSTextAttachmentCell_NSRect_NSEvent.listener(
            (
              ffi.Pointer<ffi.Void> _,
              NSTextView arg1,
              NSTextAttachmentCell arg2,
              NSRect arg3,
              NSEvent arg4,
            ) => func(arg1, arg2, arg3, arg4),
          ),
      (
        void Function(NSTextView, NSTextAttachmentCell, NSRect, NSEvent) func,
      ) =>
          ObjCBlock_ffiVoid_ffiVoid_NSTextView_idNSTextAttachmentCell_NSRect_NSEvent.blocking(
            (
              ffi.Pointer<ffi.Void> _,
              NSTextView arg1,
              NSTextAttachmentCell arg2,
              NSRect arg3,
              NSEvent arg4,
            ) => func(arg1, arg2, arg3, arg4),
          ),
    );