desktopImageOptionsForScreen method
desktopImageOptionsForScreen:
Implementation
objc.NSDictionary? desktopImageOptionsForScreen(NSScreen screen) {
objc.checkOsVersionInternal(
'NSWorkspace.desktopImageOptionsForScreen:',
iOS: (true, null),
macOS: (false, (10, 6, 0)),
);
final _ret = _objc_msgSend_1sotr3r(
this.ref.pointer,
_sel_desktopImageOptionsForScreen_,
screen.ref.pointer,
);
return _ret.address == 0
? null
: objc.NSDictionary.castFromPointer(_ret, retain: true, release: true);
}