window_willUseFullScreenPresentationOptions_ property

ObjCProtocolMethod<NSApplicationPresentationOptions Function(NSWindow, NSApplicationPresentationOptions)> window_willUseFullScreenPresentationOptions_
final

window:willUseFullScreenPresentationOptions:

Implementation

static final window_willUseFullScreenPresentationOptions_ =
    objc.ObjCProtocolMethod<
      NSApplicationPresentationOptions Function(
        NSWindow,
        NSApplicationPresentationOptions,
      )
    >(
      _protocol_NSWindowDelegate,
      _sel_window_willUseFullScreenPresentationOptions_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              NSUInteger Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
                NSUInteger,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_o924zt)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSWindowDelegate,
        _sel_window_willUseFullScreenPresentationOptions_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (
        NSApplicationPresentationOptions Function(
          NSWindow,
          NSApplicationPresentationOptions,
        )
        func,
      ) =>
          ObjCBlock_NSApplicationPresentationOptions_ffiVoid_NSWindow_NSApplicationPresentationOptions.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              NSWindow arg1,
              NSApplicationPresentationOptions arg2,
            ) => func(arg1, arg2),
          ),
    );