helpMenu property

NSMenu? get helpMenu

helpMenu

Implementation

NSMenu? get helpMenu {
  objc.checkOsVersionInternal(
    'NSApplication.helpMenu',
    iOS: (true, null),
    macOS: (false, (10, 6, 0)),
  );
  final _ret = _objc_msgSend_151sglz(this.ref.pointer, _sel_helpMenu);
  return _ret.address == 0
      ? null
      : NSMenu.castFromPointer(_ret, retain: true, release: true);
}
set helpMenu (NSMenu? value)

setHelpMenu:

Implementation

set helpMenu(NSMenu? value) {
  objc.checkOsVersionInternal(
    'NSApplication.setHelpMenu:',
    iOS: (true, null),
    macOS: (false, (10, 6, 0)),
  );
  _objc_msgSend_xtuoz7(
    this.ref.pointer,
    _sel_setHelpMenu_,
    value?.ref.pointer ?? ffi.nullptr,
  );
}