wantsToTrackMouseForEvent_inRect_ofView_atCharacterIndex_ property

ObjCProtocolMethod<bool Function(NSEvent, NSRect, NSView?, DartNSUInteger)> wantsToTrackMouseForEvent_inRect_ofView_atCharacterIndex_
final

wantsToTrackMouseForEvent:inRect:ofView:atCharacterIndex:

Implementation

static final wantsToTrackMouseForEvent_inRect_ofView_atCharacterIndex_ =
    objc.ObjCProtocolMethod<
      bool Function(NSEvent, NSRect, NSView?, DartNSUInteger)
    >(
      _protocol_NSTextAttachmentCell,
      _sel_wantsToTrackMouseForEvent_inRect_ofView_atCharacterIndex_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Bool Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
                NSRect,
                ffi.Pointer<objc.ObjCObject>,
                NSUInteger,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_mdqffl)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSTextAttachmentCell,
        _sel_wantsToTrackMouseForEvent_inRect_ofView_atCharacterIndex_,
        isRequired: true,
        isInstanceMethod: true,
      ),
      (bool Function(NSEvent, NSRect, NSView?, DartNSUInteger) func) =>
          ObjCBlock_bool_ffiVoid_NSEvent_NSRect_NSView_NSUInteger.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              NSEvent arg1,
              NSRect arg2,
              NSView? arg3,
              DartNSUInteger arg4,
            ) => func(arg1, arg2, arg3, arg4),
          ),
    );