textView_menu_forEvent_atIndex_ property

ObjCProtocolMethod<NSMenu? Function(NSTextView, NSMenu, NSEvent, DartNSUInteger)> textView_menu_forEvent_atIndex_
final

textView:menu:forEvent:atIndex:

Implementation

static final textView_menu_forEvent_atIndex_ =
    objc.ObjCProtocolMethod<
      NSMenu? Function(NSTextView, NSMenu, NSEvent, DartNSUInteger)
    >(
      _protocol_NSTextViewDelegate,
      _sel_textView_menu_forEvent_atIndex_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Pointer<objc.ObjCObject> Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<objc.ObjCObject>,
                NSUInteger,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_1ja1ksk)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSTextViewDelegate,
        _sel_textView_menu_forEvent_atIndex_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (NSMenu? Function(NSTextView, NSMenu, NSEvent, DartNSUInteger) func) =>
          ObjCBlock_NSMenu_ffiVoid_NSTextView_NSMenu_NSEvent_NSUInteger.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              NSTextView arg1,
              NSMenu arg2,
              NSEvent arg3,
              DartNSUInteger arg4,
            ) => func(arg1, arg2, arg3, arg4),
          ),
    );