collectionView_willDisplaySupplementaryView_forElementKind_atIndexPath_ property

ObjCProtocolListenableMethod<void Function(NSCollectionView, NSView, DartNSCollectionViewSupplementaryElementKind, NSIndexPath)> collectionView_willDisplaySupplementaryView_forElementKind_atIndexPath_
final

collectionView:willDisplaySupplementaryView:forElementKind:atIndexPath:

Implementation

static final collectionView_willDisplaySupplementaryView_forElementKind_atIndexPath_ =
    objc.ObjCProtocolListenableMethod<
      void Function(
        NSCollectionView,
        NSView,
        DartNSCollectionViewSupplementaryElementKind,
        NSIndexPath,
      )
    >(
      _protocol_NSCollectionViewDelegate,
      _sel_collectionView_willDisplaySupplementaryView_forElementKind_atIndexPath_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Void Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<objc.ObjCObject>,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_8jfq1p)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSCollectionViewDelegate,
        _sel_collectionView_willDisplaySupplementaryView_forElementKind_atIndexPath_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (
        void Function(
          NSCollectionView,
          NSView,
          DartNSCollectionViewSupplementaryElementKind,
          NSIndexPath,
        )
        func,
      ) =>
          ObjCBlock_ffiVoid_ffiVoid_NSCollectionView_NSView_NSCollectionViewSupplementaryElementKind_NSIndexPath.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              NSCollectionView arg1,
              NSView arg2,
              DartNSCollectionViewSupplementaryElementKind arg3,
              NSIndexPath arg4,
            ) => func(arg1, arg2, arg3, arg4),
          ),
      (
        void Function(
          NSCollectionView,
          NSView,
          DartNSCollectionViewSupplementaryElementKind,
          NSIndexPath,
        )
        func,
      ) =>
          ObjCBlock_ffiVoid_ffiVoid_NSCollectionView_NSView_NSCollectionViewSupplementaryElementKind_NSIndexPath.listener(
            (
              ffi.Pointer<ffi.Void> _,
              NSCollectionView arg1,
              NSView arg2,
              DartNSCollectionViewSupplementaryElementKind arg3,
              NSIndexPath arg4,
            ) => func(arg1, arg2, arg3, arg4),
          ),
      (
        void Function(
          NSCollectionView,
          NSView,
          DartNSCollectionViewSupplementaryElementKind,
          NSIndexPath,
        )
        func,
      ) =>
          ObjCBlock_ffiVoid_ffiVoid_NSCollectionView_NSView_NSCollectionViewSupplementaryElementKind_NSIndexPath.blocking(
            (
              ffi.Pointer<ffi.Void> _,
              NSCollectionView arg1,
              NSView arg2,
              DartNSCollectionViewSupplementaryElementKind arg3,
              NSIndexPath arg4,
            ) => func(arg1, arg2, arg3, arg4),
          ),
    );