tableView_validateDrop_proposedRow_proposedDropOperation_ property

ObjCProtocolMethod<NSDragOperation Function(NSTableView, NSDraggingInfo, DartNSInteger, NSTableViewDropOperation)> tableView_validateDrop_proposedRow_proposedDropOperation_
final

tableView:validateDrop:proposedRow:proposedDropOperation:

Implementation

static final tableView_validateDrop_proposedRow_proposedDropOperation_ =
    objc.ObjCProtocolMethod<
      NSDragOperation Function(
        NSTableView,
        NSDraggingInfo,
        DartNSInteger,
        NSTableViewDropOperation,
      )
    >(
      _protocol_NSTableViewDataSource,
      _sel_tableView_validateDrop_proposedRow_proposedDropOperation_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              NSUInteger Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<objc.ObjCObject>,
                NSInteger,
                NSUInteger,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_1yx9laf)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSTableViewDataSource,
        _sel_tableView_validateDrop_proposedRow_proposedDropOperation_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (
        NSDragOperation Function(
          NSTableView,
          NSDraggingInfo,
          DartNSInteger,
          NSTableViewDropOperation,
        )
        func,
      ) =>
          ObjCBlock_NSDragOperation_ffiVoid_NSTableView_idNSDraggingInfo_NSInteger_NSTableViewDropOperation.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              NSTableView arg1,
              NSDraggingInfo arg2,
              DartNSInteger arg3,
              NSTableViewDropOperation arg4,
            ) => func(arg1, arg2, arg3, arg4),
          ),
    );