maxFullScreenContentSize property

CGSize get maxFullScreenContentSize

maxFullScreenContentSize

Implementation

NSSize get maxFullScreenContentSize {
  objc.checkOsVersionInternal(
    'NSWindow.maxFullScreenContentSize',
    iOS: (true, null),
    macOS: (false, (10, 11, 0)),
  );
  final _ptr = pkg_ffi.calloc<NSSize>();
  objc.useMsgSendVariants
      ? _objc_msgSend_1vdfkenStret(
          _ptr,
          this.ref.pointer,
          _sel_maxFullScreenContentSize,
        )
      : _ptr.ref = _objc_msgSend_1vdfken(
          this.ref.pointer,
          _sel_maxFullScreenContentSize,
        );
  final _finalizable = _ptr.cast<ffi.Uint8>().asTypedList(
    ffi.sizeOf<NSSize>(),
    finalizer: pkg_ffi.calloc.nativeFree,
  );
  return ffi.Struct.create<NSSize>(_finalizable);
}
set maxFullScreenContentSize (NSSize value)

setMaxFullScreenContentSize:

Implementation

set maxFullScreenContentSize(NSSize value) {
  objc.checkOsVersionInternal(
    'NSWindow.setMaxFullScreenContentSize:',
    iOS: (true, null),
    macOS: (false, (10, 11, 0)),
  );
  _objc_msgSend_13lgpwz(
    this.ref.pointer,
    _sel_setMaxFullScreenContentSize_,
    value,
  );
}