pathControl_shouldDragPathComponentCell_withPasteboard_ property

ObjCProtocolMethod<bool Function(NSPathControl, NSPathComponentCell, NSPasteboard)> pathControl_shouldDragPathComponentCell_withPasteboard_
final

pathControl:shouldDragPathComponentCell:withPasteboard:

Implementation

static final pathControl_shouldDragPathComponentCell_withPasteboard_ =
    objc.ObjCProtocolMethod<
      bool Function(NSPathControl, NSPathComponentCell, NSPasteboard)
    >(
      _protocol_NSPathControlDelegate,
      _sel_pathControl_shouldDragPathComponentCell_withPasteboard_,
      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_NSPathControlDelegate,
        _sel_pathControl_shouldDragPathComponentCell_withPasteboard_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (
        bool Function(NSPathControl, NSPathComponentCell, NSPasteboard) func,
      ) =>
          ObjCBlock_bool_ffiVoid_NSPathControl_NSPathComponentCell_NSPasteboard.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              NSPathControl arg1,
              NSPathComponentCell arg2,
              NSPasteboard arg3,
            ) => func(arg1, arg2, arg3),
          ),
    );