windowShouldZoom_toFrame_ property

ObjCProtocolMethod<bool Function(NSWindow, NSRect)> windowShouldZoom_toFrame_
final

windowShouldZoom:toFrame:

Implementation

static final windowShouldZoom_toFrame_ =
    objc.ObjCProtocolMethod<bool Function(NSWindow, NSRect)>(
      _protocol_NSWindowDelegate,
      _sel_windowShouldZoom_toFrame_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Bool Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
                NSRect,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_yubn6m)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSWindowDelegate,
        _sel_windowShouldZoom_toFrame_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (bool Function(NSWindow, NSRect) func) =>
          ObjCBlock_bool_ffiVoid_NSWindow_NSRect.fromFunction(
            (ffi.Pointer<ffi.Void> _, NSWindow arg1, NSRect arg2) =>
                func(arg1, arg2),
          ),
    );