contentResizeIncrements property

CGSize get contentResizeIncrements

contentResizeIncrements

Implementation

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

setContentResizeIncrements:

Implementation

set contentResizeIncrements(NSSize value) {
  objc.checkOsVersionInternal(
    'NSWindow.setContentResizeIncrements:',
    iOS: (true, null),
  );
  _objc_msgSend_13lgpwz(
    this.ref.pointer,
    _sel_setContentResizeIncrements_,
    value,
  );
}