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