preferredBackingLocation property

NSWindowBackingLocation get preferredBackingLocation

preferredBackingLocation

Implementation

NSWindowBackingLocation get preferredBackingLocation {
  objc.checkOsVersionInternal(
    'NSWindow.preferredBackingLocation',
    iOS: (true, null),
    macOS: (false, (10, 5, 0)),
  );
  final _ret = _objc_msgSend_1fc7usk(
    this.ref.pointer,
    _sel_preferredBackingLocation,
  );
  return NSWindowBackingLocation.fromValue(_ret);
}
set preferredBackingLocation (NSWindowBackingLocation value)

setPreferredBackingLocation:

Implementation

set preferredBackingLocation(NSWindowBackingLocation value) {
  objc.checkOsVersionInternal(
    'NSWindow.setPreferredBackingLocation:',
    iOS: (true, null),
    macOS: (false, (10, 5, 0)),
  );
  _objc_msgSend_118rr7u(
    this.ref.pointer,
    _sel_setPreferredBackingLocation_,
    value.value,
  );
}