collectionView_canDragItemsAtIndexPaths_withEvent_ property

ObjCProtocolMethod<bool Function(NSCollectionView, NSSet, NSEvent)> collectionView_canDragItemsAtIndexPaths_withEvent_
final

collectionView:canDragItemsAtIndexPaths:withEvent:

Implementation

static final collectionView_canDragItemsAtIndexPaths_withEvent_ =
    objc.ObjCProtocolMethod<
      bool Function(NSCollectionView, objc.NSSet, NSEvent)
    >(
      _protocol_NSCollectionViewDelegateFlowLayout,
      _sel_collectionView_canDragItemsAtIndexPaths_withEvent_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Bool Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<objc.ObjCObject>,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_jk8du5)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSCollectionViewDelegateFlowLayout,
        _sel_collectionView_canDragItemsAtIndexPaths_withEvent_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (bool Function(NSCollectionView, objc.NSSet, NSEvent) func) =>
          ObjCBlock_bool_ffiVoid_NSCollectionView_NSSet_NSEvent.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              NSCollectionView arg1,
              objc.NSSet arg2,
              NSEvent arg3,
            ) => func(arg1, arg2, arg3),
          ),
    );