collectionView_validateDrop_proposedIndexPath_dropOperation_ property
ObjCProtocolMethod<NSDragOperation Function(NSCollectionView, NSDraggingInfo, Pointer<Pointer<ObjCObject> > , Pointer<NSInteger> )>
collectionView_validateDrop_proposedIndexPath_dropOperation_
final
collectionView:validateDrop:proposedIndexPath:dropOperation:
Implementation
static final collectionView_validateDrop_proposedIndexPath_dropOperation_ =
objc.ObjCProtocolMethod<
NSDragOperation Function(
NSCollectionView,
NSDraggingInfo,
ffi.Pointer<ffi.Pointer<objc.ObjCObject>>,
ffi.Pointer<NSInteger>,
)
>(
_protocol_NSCollectionViewDelegate,
_sel_collectionView_validateDrop_proposedIndexPath_dropOperation_,
ffi.Native.addressOf<
ffi.NativeFunction<
NSUInteger Function(
ffi.Pointer<objc.ObjCObject>,
ffi.Pointer<ffi.Void>,
ffi.Pointer<objc.ObjCObject>,
ffi.Pointer<objc.ObjCObject>,
ffi.Pointer<ffi.Pointer<objc.ObjCObject>>,
ffi.Pointer<NSInteger>,
)
>
>(_NativeBindingBindings_protocolTrampoline_ae1ot0)
.cast(),
objc.getProtocolMethodSignature(
_protocol_NSCollectionViewDelegate,
_sel_collectionView_validateDrop_proposedIndexPath_dropOperation_,
isRequired: false,
isInstanceMethod: true,
),
(
NSDragOperation Function(
NSCollectionView,
NSDraggingInfo,
ffi.Pointer<ffi.Pointer<objc.ObjCObject>>,
ffi.Pointer<NSInteger>,
)
func,
) =>
ObjCBlock_NSDragOperation_ffiVoid_NSCollectionView_idNSDraggingInfo_NSIndexPath_NSCollectionViewDropOperation.fromFunction(
(
ffi.Pointer<ffi.Void> _,
NSCollectionView arg1,
NSDraggingInfo arg2,
ffi.Pointer<ffi.Pointer<objc.ObjCObject>> arg3,
ffi.Pointer<NSInteger> arg4,
) => func(arg1, arg2, arg3, arg4),
),
);