textView_shouldSelectCandidateAtIndex_ property

ObjCProtocolMethod<bool Function(NSTextView, DartNSUInteger)> textView_shouldSelectCandidateAtIndex_
final

textView:shouldSelectCandidateAtIndex:

Implementation

static final textView_shouldSelectCandidateAtIndex_ =
    objc.ObjCProtocolMethod<bool Function(NSTextView, DartNSUInteger)>(
      _protocol_NSTextViewDelegate,
      _sel_textView_shouldSelectCandidateAtIndex_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Bool Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
                NSUInteger,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_16fgsa)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSTextViewDelegate,
        _sel_textView_shouldSelectCandidateAtIndex_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (bool Function(NSTextView, DartNSUInteger) func) =>
          ObjCBlock_bool_ffiVoid_NSTextView_NSUInteger.fromFunction(
            (ffi.Pointer<ffi.Void> _, NSTextView arg1, DartNSUInteger arg2) =>
                func(arg1, arg2),
          ),
    );