textViewDidChangeSelection_ property

ObjCProtocolListenableMethod<void Function(NSNotification obj)> textViewDidChangeSelection_
final

textViewDidChangeSelection:

Implementation

static final textViewDidChangeSelection_ =
    objc.ObjCProtocolListenableMethod<void Function(objc.NSNotification)>(
      _protocol_NSTextViewDelegate,
      _sel_textViewDidChangeSelection_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Void Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_18v1jvf)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSTextViewDelegate,
        _sel_textViewDidChangeSelection_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (void Function(objc.NSNotification) func) =>
          ObjCBlock_ffiVoid_ffiVoid_NSNotification.fromFunction(
            (ffi.Pointer<ffi.Void> _, objc.NSNotification arg1) => func(arg1),
          ),
      (void Function(objc.NSNotification) func) =>
          ObjCBlock_ffiVoid_ffiVoid_NSNotification.listener(
            (ffi.Pointer<ffi.Void> _, objc.NSNotification arg1) => func(arg1),
          ),
      (void Function(objc.NSNotification) func) =>
          ObjCBlock_ffiVoid_ffiVoid_NSNotification.blocking(
            (ffi.Pointer<ffi.Void> _, objc.NSNotification arg1) => func(arg1),
          ),
    );