view property
NSView?
get
view
view
Implementation
NSView? get view {
objc.checkOsVersionInternal(
'NSStatusItem.view',
iOS: (true, null),
macOS: (false, (10, 0, 0)),
);
final _ret = _objc_msgSend_151sglz(this.ref.pointer, _sel_view);
return _ret.address == 0
? null
: NSView.castFromPointer(_ret, retain: true, release: true);
}
set
view
(NSView? value)
setView:
Implementation
set view(NSView? value) {
objc.checkOsVersionInternal(
'NSStatusItem.setView:',
iOS: (true, null),
macOS: (false, (10, 0, 0)),
);
_objc_msgSend_xtuoz7(
this.ref.pointer,
_sel_setView_,
value?.ref.pointer ?? ffi.nullptr,
);
}