gestureRecognizer_shouldAttemptToRecognizeWithEvent_ property

ObjCProtocolMethod<bool Function(NSGestureRecognizer, NSEvent)> gestureRecognizer_shouldAttemptToRecognizeWithEvent_
final

gestureRecognizer:shouldAttemptToRecognizeWithEvent:

Implementation

static final gestureRecognizer_shouldAttemptToRecognizeWithEvent_ =
    objc.ObjCProtocolMethod<bool Function(NSGestureRecognizer, NSEvent)>(
      _protocol_NSGestureRecognizerDelegate,
      _sel_gestureRecognizer_shouldAttemptToRecognizeWithEvent_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Bool Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                NSStoryboardSegueIdentifier,
                ffi.Pointer<objc.ObjCObject>,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_2n06mv)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSGestureRecognizerDelegate,
        _sel_gestureRecognizer_shouldAttemptToRecognizeWithEvent_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (bool Function(NSGestureRecognizer, NSEvent) func) =>
          ObjCBlock_bool_ffiVoid_NSGestureRecognizer_NSEvent.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              NSGestureRecognizer arg1,
              NSEvent arg2,
            ) => func(arg1, arg2),
          ),
    );